Rosetta v0.3.2 Release Notes

Release Date: 2021-09-26 // about 1 year ago
    • โž• Add better integration for Lucky pages (Lucky::HTMLPage).

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.