- Drop Ruby 2.3 support (by Alexander Popov).
- Drop
R18n::Utils.hash_map
(by Alexander Popov). - Add Ruby 2.6 and 2.7 for CI (by Alexander Popov).
- Allow to add custom (per-project) locales (by Alexander Popov).
- Add block for
R18n.change
(change affects only code inside block) (by Alexander Popov). - Add
language
andregion
readers forLocale
(by Alexander Popov). - Allow upcased region in translation file names (like
en-US.yml
) (by Alexander Popov). - Load
base
translations from parent locale (by Alexander Popov). - Downcase locales with regions for
Translated
, likename_en_us
instead ofname_en-US
(by Alexander Popov). - Add Spanish Chile (
es-CL
) (by Juan Gil Miqueo). - Add
:with_seconds
option for Time formatting (by Alexander Popov). - Replace custom
gsub
inR18n::Utils.escape_html
withCGI.escapeHTML
(by Alexander Popov). - Improve Indonesian translation (by Mohammad Satrio).
- Improve documentation (by Alexander Popov).
- Fix issue with wildcard in
Accept-Language
header (by Alexander Popov).
- Support
*.yaml
files (by Alexander Popov). - Locate processed
code
inUnsupportedLocale
, like inLocale
(by Alexander Popov). - Fix
TranslatedString#to_ary
, don't returnUntranslated
(by Alexander Popov). - Add Welsh language (
cy
) (by Mei Gwilym). - Add support for custom classes localizing (
R18n.l
) (by Alexander Popov). - Replace blank-padded day in date with no-padded (by Alexander Popov).
- Fix
TranslatedString#to_hash
(by Christian Höppner and Alexander Popov).
- Call
Translation#itself
as translation key instead ofKernel#itself
implementation (by Alexander Popov).
- Fix errors and warnings from
gem build
- Move
named_variables
filter fromr18n-rails-api
tor18n-core
(by Alexander Popov). - Add possibility for
R18n::Locale
to define custom formatters (by Alexander Popov). - Fix
R18n.set
forr18n-desktop
(by Alexander Popov).
- Fix Farsi locale name (by @iriman).
- Fix
Translated
compatibility withHash
(by Alexander Popov).
- Fix missed filters in
Untranslted
initialization (by Alexander Popov).
- Fix
Untranslted.to_s
(by Patrik Rak).
- Fix
no
locale deprecation warning.
- Deprecate
no
locale, usenb
instead (by Alexander Popov). - Remove unsafe
!!proc
filter. - Reduce
eval
calls (by Alexander Popov).
- Change date format in
en
locale toYYYY-MM-DD
(by Alexander Popov). - Add
TranslatedString#as_json
for ActiveSupport compatibility (by Tim Craft). - Fix
TranslatedString#html_safe?
behavior (by Tim Craft). - Fix unsupported
LANG
environment (by Chris Poirier). - Fix
Locale#localize
method forDateTime
objects (by Alexander Popov).
- Fix
true
andfalse
keys support (by Alexander Popov).
- Add Afrikaans locale (by Llewellyn van der Merwe).
- Better
TranslatedString
→String
converting (by Patrik Rak). - Add Ruby on Rails 5 support.
- Fix Ruby 2.4 support (by Alexander Popov)
- Add Azerbaijani locale (by Adil Aliyev).
- Add Korean locale (by Patrick Cheng).
- Fix Ruby 2.3 support.
- Better sanity check for Accept-Language header (by Viktors Rotanovs).
- Add Vietnamese locale (by Nguyễn Văn Được).
- Add Persian locale.
- Allow to change date/time order in locales.
- Fix pluralization in locales without plural forms.
- Fix Mongolian base translations.
- Fix Windows support (by janahanEDH).
- Fix Thai locale (by Kasima Tharnpipitchai).
- Fix array support in translations.
- Fix Rails support for dialect locales.
- Fix Dutch locale.
- Remove Ruby 1.8 and 1.9 support.
- Add JRuby 9000 support.
- Allow to set Proc as
default
option in Rails I18n back-end.
- Fix Esperanto locale by Larry Gilbert.
- Fix Chinese locale (by 刘当一).
- Fix Rails 4.0.4 support. Prevent loop on
enforce_available_locales
.
- Add Croatian locale (by Dino Kovač).
- Add Serbian latin locale (by Dino Kovač).
- Return
nil
on untranslated in models with Translated. - Add
transliterate
method to I18n back-end. - Add Indonesian locale (by Guntur Akhmad).
- Return
TranslatedString
after global String filters. - Fix path in global String filters.
- Fix Sinatra plugin under multi-threaded web-server (by Viktors Rotanovs).
- Fix
BigDecimal
localizing (by François Beausoleil). - Add American American Spanish locale (by renemarcelo).
- Add Norwegian
no
locale as gateway to Bokmål or Nynorsk. - Fix Norwegian Bokmål locale code.
- Fix Hungarian time format (Kővágó Zoltán).
- Fix memory leak from cache key mismatch in Rails plugin (by silentshade).
- Fix translation and untranslated marshalizing (by silentshade).
- Allow to compare untranslated strings.
- Fix untranslated strings output in tests.
- Don't change YAML parser in Ruby 1.9.
- Allow to change locale by argument in R18n Rails back-end.
- Set also Rails I18n locale in Rails auto-detect filter.
- Fix caching with custom filters (by Anton Onyshchenko).
- Fix translation variables with
%1
text inside (by Taras Kunch). - Fix Latvian locale (by Aleksandrs Ļedovskis).
- A lot of fixes in Rails I18n compatibility (thanks for Stephan Schubert).
- Return
Untranslted
, when user try to call another translation key on already translated string. - Add
Translation#to_hash
to get raw translation. - Add
Translation#inspect
to easy debug. - Return translation, when pluralization filter did not get count.
- Set R18n back-end on Rails plugin init, to use it in console.
- Allow to use Integer in translation keys.
- Fix translation reloading in Rails and Sinatra.
- Use global R18n settings for Sinatra extension.
- Allow to override desktop auto-detect by LANG environment on all platforms.
- Add support for JRuby in 1.9 mode.
- Rename
R18n.reset
toR18n.reset!
and addR18n.clear_cache!
. - Fix Sinatra with loaded ActiveSupport.
- Add Mongolian locale (by Elias Klughammer).
- Add
R18n.default_places
. - Rails
SafeBuffer
support. - Allow in Rails app to put filters to
app/i18n
reload them in development. - Move
R18n::I18n.available_locales
toR18n.available_locales
. - Rename
_keys
totranslation_keys
. - Use Kramdown instead of Maruku for Markdown.
- Allow to use R18n for Rails without mailer.
- Allow to overwrite I18n object for models.
- Autoload R18n::Translated.
- Set default locale to R18n on Rails start to easy use in Rails console.
- Use env language in Rails console.
- Mark untranslated part as red in Rails console.
- Allow to temporary change locale by
R18n.change
. - Add
R18n.locale
shortcut. - Allow return from setter block locale code, instead of I18n object.
- Allow to set custom filters for I18n object.
- Add Galician locale (by Eduard Giménez).
- Add Traditional Chinese and Simplified Chinese (by Francis Chong).
- Fix Norsk locale (by Peter Haza).
- Fix support for Ruby 1.9.3.
- Added Turkish locale (by Ahmet Özkaya).
- Fix Swedish locale (by Pär Wieslander).
- Fix
Pathname
toString
error inr18n-desktop
. - Add Norwegian locale (by Oddmund Strømme).
- Fix
Pathname
toString
conversion error. - Fix model translation for non-ActiveRecord (by Szymon Przybył).
- Add Ukrainian locale (by Ярослав Руденок).
- Support for Sinatra 1.3.
- Fix JRuby support by Paul Walker.
- Add R18n helpers to Rails mailer by Alexey Medvedev.
- Add R18n.set(locales, places), R18n.t and R18n.l shortcuts.
- Convert float to number on pluralization.
- Fix loading empty translation file.
- Add Portuguese locale.
- Add Dutch locale (by Sander Heilbron).
- Add Swedish locale (by Magnus Hörberg).
- Add support for Psych YAML parser (thanks for Ravil Bayramgalin).
- Fix ActiveRecord support in Translated.
- Fix Translated to return non-string values.
- Fix human time localization.
- Add Bulgarian locale (by Mitko Kostov).
- Add Australian English locale (by Dave Sag).
- Fix support for Ruby 1.9.2.
- Fix caching issue (by Viktors Rotanovs).
- Add Danish locale (by Hans Czajkowski Jørgensen)
- Fix Italian locale (by Viktors Rotanovs).
- Move untranslated filters with html highlight to
r18n-core
.
- Fix Japanese locale in Ruby 1.9.1.
- Fix auto-detect locale in Windows and Ruby 1.9.1 (by Marvin Gülker).
- Fix auto-detect locale in JRuby (by Kővágó, Zoltán).
- Fix human time format on 60 minutes.
- Add Hungarian locale (by Kővágó, Zoltán).
- Add Japanese locale (by hryk).
- Fix Polish locale (by Piotr Szotkowski).
- Add support for new interpolation syntax in Rails 3.
- Add Catalian locale (by Jordi Romero).
- Add Finish locale (by Laura Guillén).
- Add British locale (by JP Hastings-Spital).
- Add Latvian locale (by Iļja Ketris).
- Fix Spanish (by Jordi Romero), German, French, Esperanto (by Iļja Ketris) and Polish locales.
- Fix documentation (by Iļja Ketris and felix).
- Remove RubyGems from plugins requires.
- Filters for several types.
- Global HTML escaping run before Markdown and Textile formatting.
- Fix active filters after passive filters.
- Fix human time formatting for dates with same month days.
- Use before filter to lazy set I18n object in Sinatra extension.
- Set I18n object to thread (by Simon Hafner).
- Add to l Rails helper R18n syntax.
- Add common helpers.
- Clear cache in
R18n.reset
. - Clean up code and fix bug (by Akzhan Abdulin).
- Add Thai locale (by Felix Hanley).
- Add R18n style methods to Rails controllers.
- Fix for non-string translations in Rails I18n.
- Use default locale from Rails I18n config.
- Load translations recursively.
- Add Slovak locale (by Ahmed Al Hafoudh)
- Fixes for Ruby 1.8.6 (by Akzhan Abdulin).
- Add method to get translation keys.
- Add passive filters.
- Receive filter position as option
Hash
. - Fix base translations (by Pavel Kunc).
- Rails I18n compatibility.
- Rewrite a lot of core code to fast and cleanup version.
- Custom translation loaders.
- Add reload! method to I18n.
- Add t and l helpers to Sinatra and desktop plugins.
- Syntax sugar for default values.
- Named variables.
- New locale API.
- Change API for extension translations.
- Print path of untranslated string by filters.
- Add Italian locale (by Guido De Rosa).
- Fix Polish locale (by Adrian Pacała).
- Fix American English locale (by Max Aller).
- Add Chinese locale (by Ilia Zayats).
- Add Spanish locale (by Andre O Moura).
- Add Brazilian Portuguese locale (by Andre O Moura).
- Remove RubyGems requires.
Translated
mixin to I18n support to model or any other class.- New cool time formatters.
- Filters for translations.
- Add filters to escape HTML, Markdown and Textile syntax.
- Pluralization and variables is now filters and can be replaced.
- I18n#locales now contain all detected locales, used to load translations, instead of just received from user.
- Bug-fix in locale code case.
- Add Czech locale (by Josef Pospíšil).
- R18n will return path string if translation isn't exists.
- Add
UnsupportedLocale
class for locale without information file. - Load absent locale information from default locale.
- Add Polish locale (by Tymon Tobolski).
- Localize numbers in pluralization.
- Bug-fix in translation variables.
- Ruby 1.9 compatibility.
- Add German locale (by Benjamin Meichsner).
- Locale class can be extended for special language (for example, Indian locale may has another digits grouping).
- Load translations from several dirs.
- Add French locale.
- Add Kazakh locale.
- Loading I18n object without translations.
- Add output for standalone month name.
- Don't call procedures from translations if it isn't secure.
- Add Esperanto locale.
- English locale now contain UK date standards.