./devel/ruby-i18n, New wave Internationalization support for Ruby

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.14.4, Package name: ruby32-i18n-1.14.4, Maintainer: pkgsrc-users

Ruby Internationalization and localization solution. Features:

* translation and localization
* interpolation of values to translations (Ruby 1.9 compatible syntax)
* pluralization (CLDR compatible)
* customizable transliteration to ASCII
* flexible defaults
* bulk lookup
* lambdas as translation data
* custom key/scope separator
* custom exception handlers
* extensible architecture with a swappable backend

Pluggable features:
* Cache
* Pluralization: lambda pluralizers stored as translation data
* Locale fallbacks, RFC4647 compliant (optionally: RFC4646 locale validation)
* Gettext support
* Translation metadata

Alternative backends:
* Chain
* ActiveRecord (optionally: ActiveRecord::Missing and ActiveRecord::StoreProcs)
* KeyValue (uses active_support/json and cannot store procs)


Required to run:
[devel/ruby-concurrent-ruby] [lang/ruby26-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 45 KB

Version history: (Expand)


CVS history: (Expand)


   2024-03-10 16:06:25 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-i18n: update to 1.14.4

1.14.2

Not released.

1.14.3 (2024-03-05)

What's Changed

* Pass options to along to exists? super calls by @radar in #671
* Improve TOKENIZER by 23% by @kbrock in #668
* Regex part deux - INTERPOLATION_SYNTAX by @kbrock in #669
* Raise when translated entry contains interpolations for reserved keywords
  and no substitutions provided by @fatkodima in #678
* Implement Fallbacks#inspect and Fallbacks#empty? by @fatkodima in #683

Upkeep

* Update mocha gem by @fatkodima in #677
* Update workflows by @yykamei in #684

New Contributors

* @kbrock made their first contribution in #668

1.14.4 (2024-03-06)

What's Changed

Note: the racc dependency will be coming back in Version 2.

* undo strict racc dependency on this branch by @radar in #687
   2023-06-06 15:40:52 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-i18n: update to 1.14.1

1.14.0 (2023-06-02)

What's Changed

* fix LazyLoadable#available_locales duplicating locales by @ccutrer in #655
* Add more helpful translation error when :default option is provided. by
  @Nerian in #654
* Fix I18n::Locale::Fallbacks not initializing itself on Ruby 3 by
  @yheuhtozr in #653
* Fix I18n.t when locale contains separator by @tubaxenor in #656
  - This reverts a change from #651, that was released in v1.13.0

New Contributors

* @ccutrer made their first contribution in #655
* @Nerian made their first contribution in #654
* @yheuhtozr made their first contribution in #653
* @tubaxenor made their first contribution in #656

1.14.1 (2023-06-04)

Included in this release

* Simplify the "Translation missing" message when default is an empty Array
  by @amatsuda in #662

Maintenance stuff

* Skip CIing on jruby against Rails 5.2 by @amatsuda in #664
* A fix for failing CI against edge Rails by @amatsuda in #663
* Add documentation hint for fallback values by @mark-a in #659
* CI against Ruby 3.2 by @amatsuda in #665
* Fix build warnings in the CI by using actions/checkout@v3 by @amatsuda in
  #666

Thanks to @amatsuda for these PRs!

New Contributors

* @mark-a made their first contribution in #659
   2023-04-27 16:00:15 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-i18n: update to 1.13.0

1.11.0 (2022-07-10)

What's Changed

* Consistently return array from bulk lookup, even if translation(s) missing
  by @sambostock in #628
* Fix typos by @movermeyer in #631
* Add support for CLDR data in I18n::Backend::Pluralization by @movermeyer
  in #630

New Contributors

* @sambostock made their first contribution in #628

1.12.0 (2022-07-13)

What's Changed

* Revert "Add support for CLDR data in I18n::Backend::Pluralization" by
  @radar in #633 -- this was causing breaking changes unintentionally.

1.13.0 (2023-04-26)

What's Changed

* Fix symbol resolving with pluralization by @movermeyer in #636
* Updating DEFAULT_APPROXIMATIONS with capitalised German Eszett character
  for consistency by @lucapericlp in #627
* Fix load_path example in README.md by @nickcampbell18 in #642
* Add support for meridian indicators on Date objects by @movermeyer in #640
* Make translations loading thread-safe by @mensfeld in #644
* Get closer to full CLDR pluralization support by @movermeyer in #634
* Allow passing scope argument to exists? by @misdoro in #647
* Revert #503 changes for Backend::Base by @movermeyer in #637
* Properly stub constants by @fatkodima in #650
* Optimize I18n.t by @fatkodima in #651
* Return same string object when no interpolations were made by @fatkodima
  in #649

New Contributors

* @lucapericlp made their first contribution in #627
* @nickcampbell18 made their first contribution in #642
* @mensfeld made their first contribution in #644
* @misdoro made their first contribution in #647
   2023-02-11 14:18:51 by Takahiro Kambe | Files touched by this commit (7)
Log message:
Bump PKGREVISION reflects ruby-concurrent-ruby's downgrade.
   2022-09-04 07:37:23 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-i18n: update to 1.10.0

Latest version is 1.12.0, but ruby-redmine50 require before 1.11.

1.9.0 (2022-01-26)

Minor version bump: The number of changes in this release are more than I
would feel comfortable including in a point release.  Therefore, I have
bumped the minor version number here. -- @radar What's Changed

* No longer rely on refinements for Hash utility methods. by @casperisfine
  in #573
* Fix typo: function is missing closing parenthesis by @patrickgramatowski
  in #585
* CI: ruby/setup-ruby with cache by @olleolleolle in #582
* Test on Ruby 3.1 & Rails 7.0x by @radar in #597
* Fix lookups of 0 keys by @movermeyer in #594
* Only deep_symbolize_keys when needed by @paarthmadan in #588
* Symbolize names and freeze values when loading from JSON by @paarthmadan
  in #587
* Clean up unneeded test aliases by @paarthmadan in #589
* Resolve Symbols using the original fallback locale by @movermeyer in #591
* Conditionally assert load_json returns symbolized data by @paarthmadan in
  #601
* Symbolize keys and freeze values when loading from YAML by @paarthmadan in
  #583
* fix ReDoS by @ooooooo-q in #600
* Exclude MissingTranslation options that are not used by the instance by
  @sundling in #581
* Remove references to default_locale in fallbacks comment by @movermeyer in
  #576
* API for marking a key as reserved by @ghiculescu in #579
* Fix missing requires of i18n/core_ext/hash by @razum2um in #574
* Fix ArgumentError when Fallbacks#map used as in Hash by @bagilevi in #570

New Contributors

* @patrickgramatowski made their first contribution in #585
* @olleolleolle made their first contribution in #582
* @movermeyer made their first contribution in #594
* @paarthmadan made their first contribution in #588
* @ooooooo-q made their first contribution in #600
* @sundling made their first contribution in #581
* @razum2um made their first contribution in #574

1.9.1 (2022-01-28)

What's Changed

* Revert "Fix missing requires of i18n/core_ext/hash" by @radar in #602
* CI: Lint the GitHub Actions YAML by @olleolleolle in #604

1.10.0 (2022-02-14)

What's Changed

New Features

* LazyLoadable Backend by @paarthmadan in #612
* Add a version badge to README by @mishina2228 in #621

Bug fixes

* Remove warning: assigned but unused variable by @mishina2228 in #611
* Minor I18n.normalize_keys improvement by @codealchemy in #616
* Allow overriding of entry resolving entry resolving separate from defaults
  by @movermeyer in #622

Other changes

* Remove pry from Gemfile as it is not used by @dvzrv in #608

New Contributors

* @dvzrv made their first contribution in #608
* @mishina2228 made their first contribution in #611
   2021-11-23 15:14:03 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-i18n: update to 1.8.11

1.8.11 (2021-11-02)

What's Changed

* Fix typo in documentation by @rkh in #565
* Improve available locale check in Simple backend by @codealchemy in #566
* Fix typo in Simple backend JSON test by @codealchemy in #572
* Fix a build error when using Psych 4.0 by @koic in #569

New Contributors

* @rkh made their first contribution in #565
* @codealchemy made their first contribution in #566
* @koic made their first contribution in #569
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles