Comments (8)
Presently, this list is shared for more file formats, so probably a separate one is needed for Android to stick with CLDR 38. The previous version was CLDR 37, so some additions in the PR are needed for Android as well.
As for Weblate, it will need additional definitions in https://github.com/WeblateOrg/language-data/ to match this (it currently uses the latest CLDR as well).
from translate.
...which is now Won't Fix (Obsolete), what really doesn't explain anything.
Anyway, Android seems to be upgrading CLDR frequently, the question is how to deal with that:
- Keep separate rules for Android and update them when Android with updated support is released. This is more accurate, but also requires more maintenance.
- Always follow the latest CLDR and ignore the differences. Android will follow up at some point anyway.
- Update CLDR data once it has been released in Android. This will postpone it for everybody else.
This was merely a non-issue before changes in CLDR 38 – the only changes were additions of new languages, so it didn't break existing ones. In recent CLDR releases, rules for existing languages are changing and that makes it harder to deal with.
from translate.
@emmapeel2 That is definitely not related to plural definitions, please open a separate issue here: https://github.com/WeblateOrg/weblate/issues/new?assignees=&labels=&projects=&template=bug_report.yml
from translate.
Hm, it seems that Android 13 has been updated with CLDR 40 plurals: https://developer.android.com/about/versions/13/features#unicode
(that just hasn't been added to the table I found above yet).
So then it might be a bug in Android Lint that it still complains about the many
plural type...
from translate.
reported on Google's issue tracker: https://issuetracker.google.com/issues/280634462
from translate.
For the OnionShare Android component we are having issues with the plurals. We have the add-on Remove blank strings
, but the plurals for some untranslated languages are added, even when empty, by weblate:
from translate.
@emmapeel2 That is definitely not related to plural definitions, please open a separate issue here: https://github.com/WeblateOrg/weblate/issues/new?assignees=&labels=&projects=&template=bug_report.yml
Ok, this is the new ticket: WeblateOrg/weblate#10887
from translate.
I don't think there is a good way to address this. As there is no reliable way to recognize which plural rules the strings file is using, we can only make assumptions. And assuming it is using a current standard is IMHO better than assuming it uses something older. Android is usually quite fast in adopting CLDR changes, and so we are, so I think the best is to keep things as they are right now. There might be some period in time when the tools will disagree.
from translate.
Related Issues (20)
- Ben
- Android: Some strings marked as `translatable="false"` still treated as translatable HOT 2
- Code block not parsed from Markdown HOT 3
- Proposal to use mdit-py-i18n (along with markdown-it-py) for Markdown support HOT 7
- Reduce question mark escaping in Android
- tests/translate/convert/test_rc2po.py failures with Python 3.12 HOT 7
- Translate
- Use Windows newlines for resx files
- Do not include "Explanation" field in iOS strings files HOT 2
- Add support for Mobile Kotlin resources HOT 3
- Locations for Markdown HOT 1
- Add support for Apple String Catalogs HOT 3
- Weird handling of C1 control characters in .properties files HOT 3
- Translate org app requests HOT 3
- Removing items during iteration can result in bugs HOT 1
- Inconsistent indentation / no indentation preservation HOT 2
- po2prop ignore personality argument when processing strings file. HOT 2
- More consistent line breaks in generated po files HOT 8
- po2csv | How to convert multiple files
- Support for metainfo files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from translate.