[Bug 345587] Re: Not showing localized plural strings

Milo Casagrande milo at milo.name
Sat Mar 21 21:26:33 UTC 2009


Il giorno sab, 21/03/2009 alle 20.44 +0000, Christoph Korn ha scritto:
> Subscribing ubuntu-main-sponsors to review the patch.
> 
> @ Milo Casagrande: Thank you for your help!

You're more than welcome! And I have to thank you for your dedicated
time!

I would like to (try to) cast some more light on why you need the _() on
the ngettext function when you're using the N_() macro.

The N_() macro only _marks_ a string as translatable, it's different
from the _() that _handle_ the string. The N_() macro defers the actual
translation of the string, so if you want to really have the string
translated at runtime, you also have to call the handling function _().

Sorry if I sound boring! (but I'm rather keen on all these i18n aspects)

Cheers.

-- 
Milo Casagrande <milo at milo.name>

-- 
Not showing localized plural strings
https://bugs.launchpad.net/bugs/345587
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list