diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index ea84b54b3fee53d9563a740eb1a0eb12e630cb80..14d0ca047a03a083e29e77a6db872739a37645bb 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,13 @@ +* Add support for supplying `locale` to `transliterate` and `parameterize` + + I18n.backend.store_translations(:de, i18n: { transliterate: { rule: { "ü" => "ue" } } }) + + ActiveSupport::Inflector.transliterate("ü", locale: :de) => "ue" + "Fünf autos".parameterize(locale: :de) => "fuenf-autos" + ActiveSupport::Inflector.parameterize("Fünf autos", locale: :de) => "fuenf-autos" + + *Kaan Ozkan*, *Sharang Dashputre* + * Allow Array#excluding and Enumerable#excluding to deal with a passed array gracefully. [ 1, 2, 3, 4, 5 ].excluding([4, 5]) => [ 1, 2, 3 ]