sanctuary_l10n_core 0.4.0 copy "sanctuary_l10n_core: ^0.4.0" to clipboard
sanctuary_l10n_core: ^0.4.0 copied to clipboard

A pure Dart localization toolkit for queer communities, providing a glossary and tools for handling grammatical gender to make inclusive language the default.

0.1.0 #

  • Initial release of the sanctuary_l10n_core package.

  • Added GrammaticalGender enum (masculine, feminine, neutral).

  • Included proof-of-concept community glossary .arb files for English and Spanish.

0.2.0 #

  • Major Feature: Added the first version of the SanctuaryL10n grammar engine.

  • Implemented the getAdjective function with initial rules for Spanish.

0.3.0 #

  • Major Feature: Added the SanctuaryVocabulary class to provide access to curated lists of terminology.

  • Added the PronounSet model for structured handling of pronouns.

  • The grammar engine now supports nouns and articles in addition to adjectives.

  • Added getNoun(), getDefiniteArticle(), and getIndefiniteArticle() functions.

  • Expanded the Spanish rule set to include nouns and articles.

0.3.1 #

  • Major Feature: Intelligent String Formatter
    • Added the SanctuaryL10n.format() function to generate grammatically correct sentences from a template string.
    • Introduced a simple placeholder syntax (e.g., {noun:friend}, {adj:happy}).
  • Major Feature: Pluralization Support
    • The grammar engine now supports singular and plural forms.
    • Added GrammaticalNumber enum (singular, plural).
    • The format() function now accepts a number parameter.
    • Updated all internal rule sets to include plural inflections.

0.4.0 #

  • Major Feature: Verb Conjugation Engine
    • The SanctuaryL10n.format() function can now conjugate verbs based on pronoun context.
    • Added a new {verb:base_verb:tense} placeholder to the template syntax.
    • The PronounSet model was upgraded with a conjugationKey to handle irregular verbs and special cases like the singular "they".
  • Vertical Expansion (English):
    • Added a new rule set for irregular English verbs, starting with "to be" and "to have".
  • API Improvement:
    • The format() function can now infer GrammaticalGender from a provided PronounSet, simplifying its use.
    • Added defaultGender to the PronounSet model.
1
likes
150
points
27
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A pure Dart localization toolkit for queer communities, providing a glossary and tools for handling grammatical gender to make inclusive language the default.

License

MIT (license)

Dependencies

intl

More

Packages that depend on sanctuary_l10n_core