Subject: Re: .strings questions
From: Pierre Abbat (phma@oltronics.net)
Date: Thu Jun 28 2001 - 11:31:49 CDT
On Thu, 28 Jun 2001, Andrew Dunbar wrote:
>I've just learned that my adding languages to the language dialog
>has thrown the translations of the languages out of sync. In
>xap_String_id.h we declare the strings like this:
>
>dcl(LANG_7, "English (US)")
>
>Where LANG_X depends on the (mostly) alphabetical order of
>the English names for the languages. This results in
>XAP_STRING_ID_LANG_7 etc which we use in ut_Language.cpp and
>in the .strings file.
>
>Addings languages and keeping this alphabetical order reasigned
>language numbers. Shoud I have retained the old numbers and
>sacrificed alphabetical order to keep the .strings in synch?
>Or can we replace XAP_STRING_ID_LANG_7
>with XAP_STRING_ID_LANG_EN_US?
>
>Do we have a policy on this? (Or a Perl script)
When I added the languages to the include file, I put them in alphabetical
order, except en-US which in at least one file I left at the top, so that I
could compare the directory listing with the list in the file. But that's in
order by the codes, not the names, so en-IE comes before zh-TW, not Chinese
(Taiwan) before English (Ireland).
phma
This archive was generated by hypermail 2b25 : Thu Jun 28 2001 - 11:36:06 CDT