-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plurals.rb: frozen variables; added explicit 'zero' for :zero_one_few…
…_may_other, added :pl pluralization (#111); added README.md
- Loading branch information
Showing
2 changed files
with
37 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Pagy locales | ||
|
||
### Please, submit your translation! | ||
|
||
If you are using pagy with some language missing from the dictionary files, please, submit your translation! | ||
|
||
The `pagy.info.single_page`, `pagy.info.item_name` and `pagy.items` keys of the yaml file are pluralized according to the plural rules of the language. | ||
|
||
If you are going to submit a dictionary, please check wether the pluralization type of your language exists in the [plurals.rb](https://github.com/ddnexus/pagy/blob/master/lib/locales/plurals.rb) file. If it is missing, please, report it. Thanks. | ||
|
||
### Useful Links | ||
|
||
* [Pagy I18n Documentation](https://ddnexus.github.io/pagy/api/frontend#i18n) | ||
* [i18n extra](https://ddnexus.github.io/pagy/extra/i18n) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters