[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Demexp-dev] Re: French i18n for web interface (demexpweb.cgi) and note
[Demexp-dev] Re: French i18n for web interface (demexpweb.cgi) and note about i18n support
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.
BTW, I notice you wrote sometimes code that way:
web/pages.ml.nw: 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
msgid "With this link:"
msgstr "Avec ce lien :"
msgid "With this link: "
msgstr "Avec ce lien : "
Yes, that is a bit stupid :)