Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem Counting Locales #1011

Open
digitalfrost opened this issue Aug 12, 2022 · 6 comments
Open

Problem Counting Locales #1011

digitalfrost opened this issue Aug 12, 2022 · 6 comments

Comments

@digitalfrost
Copy link
Collaborator

The README lists 109 available locales.
Counting the incomplete locales returned by thor locales:incomplete
using #1010 returns 116 incomplete locales.

See also #577

@digitalfrost
Copy link
Collaborator Author

$ tree rails/locale
...
1 directory, 122 files

Indicating we have 122 locale.yml files

@digitalfrost
Copy link
Collaborator Author

$ ls -F rails/locale |grep -v / | wc -l
116

@digitalfrost
Copy link
Collaborator Author

Using #1012

$thor locales:count_all
116

@digitalfrost
Copy link
Collaborator Author

$tree rails/pluralization
0 directories, 151 files

@digitalfrost
Copy link
Collaborator Author

We have locales like yo (Yoruba) that have pluralization rules but no locale file.

@digitalfrost
Copy link
Collaborator Author

The orphaned pluralizations are not all the same.
For example the pluralization rules specified for yo (Yoruba) and wa (Walloon) are not the same.

They however come from the same commit 392c65f on Jan 29, 2012

digitalfrost added a commit to digitalfrost/rails-i18n that referenced this issue Aug 16, 2022
Add method to thor locales to list locales that
have a pluralization file but no locale file
See svenfuchs#1011
digitalfrost added a commit to digitalfrost/rails-i18n that referenced this issue Aug 26, 2022
Add methods to check_locales and to thor locales to list locales that
have a locale file but no pluralization file
See svenfuchs#1011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant