[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Demexp-dev] Re: French i18n for web interface (demexpweb.cgi) and note

From: ketty
Subject: [Demexp-dev] Re: French i18n for web interface (demexpweb.cgi) and note about i18n support
Date: Tue, 17 Oct 2006 22:28:56 +0200


On 10/17/06, David MENTRE <address@hidden> wrote:
I've made a very quick French translation of your new demexpweb.cgi
interface. Very quick and dirty, it will need a review in the future.

Great! :)

BTW, I notice you wrote sometimes code that way:

web/      error (s_"Can't remove tag #"^id);

In order to support all languages, you should never construct translated
strings from pieces but always use a single string with several place
holders. A language might need a different order. In that particular
case, you should use:

                      error (Printf.sprintf (f_ "Can't remove tag #%d") id))

Yes, i am aware of that, i just need some reminding of it, thank you :)

I also noticed that you have nearly the same string except a single

#: web/
msgid "With this link:"
msgstr "Avec ce lien :"

#: web/
msgid "With this link: "
msgstr "Avec ce lien : "

Yes, that is a bit stupid :)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]