docs/vendor/bundle/ruby/2.6.0/gems/i18n-0.9.5/README.md

Ruby I18n

Build Status

Ruby Internationalization and localization solution.

See the Rails Guide for an example of its usage. (Note: This library can be used independently from Rails.)

Features:

Pluggable features:

Alternative backends:

For more information and lots of resources see the 'Resources' page on the wiki.

Installation

gem install i18n

Tests

You can run tests both with

You can run all tests against all Gemfiles with

The structure of the test suite is a bit unusual as it uses modules to reuse particular tests in different test cases.

The reason for this is that we need to enforce the I18n API across various combinations of extensions. E.g. the Simple backend alone needs to support the same API as any combination of feature and/or optimization modules included to the Simple backend. We test this by reusing the same API defition (implemented as test methods) in test cases with different setups.

You can find the test cases that enforce the API in test/api. And you can find the API definition test methods in test/api/tests.

All other test cases (e.g. as defined in test/backend, test/core_ext) etc. follow the usual test setup and should be easy to grok.

Authors

Contributors

https://github.com/svenfuchs/i18n/graphs/contributors

License

MIT License. See the included MIT-LICENSE file.



almost-matching-exactly/R-FLAME documentation built on Jan. 4, 2022, 8:31 a.m.