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

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


Branch: CURRENT, Version: 1.14.6, Package name: ruby32-i18n-1.14.6, 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: 46 KB

Version history: (Expand)


CVS history: (Expand)


   2024-09-18 17:15:08 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-i18n: update to 1.14.6

1.14.6 (2024-09-15)

Ruby < 3.2 support will be dropped April 2025.  Upgrade now to continue
using i18n after that date.

* fix issues with RDoc generation by @davetron5000 in #698
* Fix loading of .rb locale files when load_path is not a string by
  @stevegeek in #701
* Fixes strings being interpolated multiple times by @alexpls in #699
* Optimize pluralization logic in test data by @zachmargolis in #697
* [FIX] Raise ArgumentError on nil key in exists? by @KinWang-2013 in #696

New Contributors

* @davetron5000 made their first contribution in #698
* @stevegeek made their first contribution in #701
* @alexpls made their first contribution in #699
* @zachmargolis made their first contribution in #697
* @KinWang-2013 made their first contribution in #696
   2024-05-12 17:04:36 by Takahiro Kambe | Files touched by this commit (2)
Log message:
devel/ruby-i18n: udpate to 1.14.5

1.14.5 (2024-05-06)

What's Changed

* Explicitly bundle racc gem for Ruby 3.3+ by @amatsuda in #690
* Optimize I18n::Locale::Fallbacks#[] for recursive locale mappings by @uiur
  in #692
* Add I18n.interpolation_keys by @tom-lord in #682
* Fix syntax in documentation for I18n::Backend::Base.interpolate by
  @tom-lord in #691
* Fix that escaped interpolations with reserved keywords raised
  ReservedInterpolationKey by @Bilka2 in #688

New Contributors

* @uiur made their first contribution in #692
* @tom-lord made their first contribution in #682
* @Bilka2 made their first contribution in #688
   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