Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSupport plurals in Android exports #666
Comments
See some discussion here from the related PR. |
The main issue is converting the gettext plurals equations in to CLDR plural types. There are a few issues:
The above cause 3 primary problems:
There's no easy way to map between the gettext expressions and the CLDR types, it might be possible if all of our expressions matched with the CLDR types, but even then the number of variations make it nearly impossible to do the mapping reliably. My current thought about a solution is to do the following:
The downside to the above is probably some pretty major breakage for some locales where the plurals expression is currently "incorrect". But that should probably be fixed either way. |
toolstack commentedFeb 21, 2017
Currently GP does not support plurals in Android XML files, however the standard does provide support for them.