Class: RemoteTranslationLoader::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- RemoteTranslationLoader::Railtie
- Defined in:
- lib/remote_translation_loader/railtie.rb
Overview
Zero-config Rails integration. Configure once:
RemoteTranslationLoader.configure do |config|
config.sources = ["https://example.com/en.yml", "s3://bucket/fr.yml"]
config.namespace = "remote"
end
and translations are fetched on boot, and refreshed on every reload in development.