All Versions
5
Latest Version
Avg Release Cycle
5 days
Latest Release
1266 days ago

Changelog History

  • v0.3.2 Changes

    September 26, 2021
    • โž• Add better integration for Lucky pages (Lucky::HTMLPage).
  • v0.3.1 Changes

    September 26, 2021
    • โž• Add a clearer compilation error message for the r macro.
  • v0.3.0 Changes

    September 25, 2021
    • ๐Ÿ”„ 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.
  • v0.2.0 Changes

    September 10, 2021
    • โž• Add Rosetta::Lucky.integrate to easily include Rosetta::Treanslatable where localizations may be used.
    • ๐ŸŒ Create Rosetta::SimpleTranslation and Rosetta::InterpolatedTranslation mixins to simplify the builder.
    • ๐ŸŒ Raise a compile error when translations with interpolations are converted to string using Crystal string interpolation or by calling to_s.
  • v0.1.0 Changes

    September 08, 2021

    ๐ŸŽ‰ Initial release of Rosetta with documentation.