i18n
https://github.com/svenfuchs/i18n
Ruby
Internationalization (i18n) library for Ruby
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
8 Subscribers
Add a CodeTriage badge to i18n
Help out
- Issues
- LazyLoadable: support *.en.yml file names, 16x faster first translation, reduced RAM usage
- Drop reserved keys with Hash#except directly in Backend::Base#translate
- Allocate less when localizing with a format key
- Document deep interpolation in translate API docs
- Delegate `I18n.missing_interpolation_argument_handler` to config
- Restore the raw (possibly unset) locale after with_locale
- Fall back to the tag itself when the current Tag implementation can't parse it
- Return a copy from pluralized lookups instead of the stored String
- Return only the key from interpolation_keys for sprintf-style patterns
- Restore implicit locale state after with_locale
- Docs
- I18n::Base#config=
- I18n::Base#config
- I18n::Backend::Base#translate_localization_format
- I18n::Backend::Cache#digest_item
- I18n.cache_key_digest=
- I18n.cache_key_digest
- Kernel#suppress_warnings
- I18n::Backend::InterpolationCompiler#compile_all_strings_in
- I18n::Backend::InterpolationCompiler#store_translations
- I18n::Backend::InterpolationCompiler#interpolate