Translation for Numbers #161
Closed
SchrodingersCpp
started this conversation in
General
Replies: 2 comments 1 reply
-
|
moving here for visibility #166 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hey @SchrodingersCpp, I couldn't stop at the plurals and 67 languages later, here we are. This is what happens when someone shows up with a great idea. Things get out of hand. You didn't ask for a revolution, but you started one! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, @one-kash!
I'm not an expert in coding for
Androidbut got curious regarding translations. What I've noticed that for singular and plural forms, there are different string tags are used. For English this is pretty simple. But there are other languages which have more forms and quite complicated rules:An excerpt from
app/src/main/res/values/strings.xml:According to this post (and help from AI), the correct structure for singular and plural forms is the following:
Kotlincode example:Thank you!
Beta Was this translation helpful? Give feedback.
All reactions