• ResolvedModerator tobifjellner (Tor-Bjorn Fjellner)

    (@tobifjellner)


    Hi,
    I was just checking some pending translations (to Swedish) when I noted a case where your developers seems to have totally misunderstood how the plural handling functions (and can be used).
    The source string pair contains: (singular) span; (plural) replace with

    The function _n() should be used for sentences where there is a number and there is something that can be counted. For instance “We have deleted n files.
    In this case, the _n() makes it possible to create a correct translation, despite the fact that various languages handle this kind of situations in very different ways. In some languages the rules are so complicated that, depending of the specific number, one out of five-six versions will be chosen in the target language. On the other hand, some languages don’t bother at all, they exactly the same words for 0, 1 or a million…

    So you can’t use _n() as some kind of “handy matrix”.

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Huge i18n bug that must be corrected’ is closed to new replies.