Rosetta v0.3.2 Release Notes
Release Date: 2021-09-26 // almost 3 years ago-
- โ Add better integration for Lucky pages (
Lucky::HTMLPage
).
- โ Add better integration for Lucky pages (
Previous changes from v0.3.0
-
- ๐ Change the argument order of
Rosetta.localize_time
to be more consistent with the rest of the lib. - โ Add
Rosetta::Parser::Config
to be able to work with YAML configurations sent from the backend. - ๐ Rework the parser to be able to deal with multi-option translations for a single locale key.
- ๐ Move parser checks to the
Rosetta::Parser::Checks
module. - โ Add parser check to validate the pluralization category tags in every pluralizable translation.
- โ Add the
Rosetta::PluralizedTranslation
mixin to be able to work with pluralizable translations. - ๐ง Rework
Rosetta::Backend
to send a single YAML configuration to the parser rather than separate arguments. - โ Add locale/pluralization rule mapping in
Rosetta::Pluralization::DEFAULT_RULES
(borrowed from crystal-i18n/i18n). - โ Add most common pluralization rules under
rosetta/pluralization/rule
(borrowed from crystal-i18n/i18n). - โ Add the
Rosetta::Pluralization::Rule
base class. - โ Add the
Rosetta::Pluralization::CategoryTags
annotation to inform the parser about which category tags are required per pluralization rule. - ๐ Allow localization with a date-formatted tuple.
- ๐ Change the argument order of