|
|
Numerals
Posted under Development by Dmitry on Friday November 03 2000 @ 08:44PM EST
|
What about putting construction of numerals into these *.lng files? I had a prob localizing it into russian. As you may know there is not only two words ("coment" for single and "comments" for many) corresponds to how many comments do you have. If you have 0 comments it will be "kommentariev", if 1 -- "kommentarij", if 2 to 4 -- kommentariya, if 5 to 9 -- kommentariev. And all of that modulo 10. My shortcut was to have a function which constructs appropriate word according to the number of commentaries. I think this situation exists not only in Russian.
|
|
|
|
|
|
|