Comment 6 for bug 409785

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 409785] Re: gnome-language-selector crashed with TypeError in check_status()

On Tue, Oct 20, 2009 at 11:21:37PM -0000, Khaled Hosny wrote:
> This isn't a translation bug but rather language-selector's bug. The
> aforementioned strings are valid strings and are used throughout Arabic
> gnome l10n. Changing the translation is no option.

Do you mean that some of the strings are the equivalent of "none to
install" rather than "0 to install", or something along those lines?
This relies on a feature of C's printf function (discarding excess
arguments) which is not present in the natural Python equivalent. It's
possible to emulate it, I'm sure, but it will take some work.

I would suggest that you be very careful when using this style in
strings tagged python-format: this is an explicit warning that this
approach may cause application failures.