On 2014-09-08 23:57, Marcus wrote:
Am 09/08/2014 11:28 PM, schrieb YoheY - OpenOffice:
thanks for your help, now I have a more clear view in it.

Further questions:
And what if a new language appears in the list and the translators of
other languages are on holiday?
All 'holiday' site will present the download links incorrectly, until it
is presented by somebody who is visiting the page or tested/supervised
by the translator back form holiday.

then it will be broken until it gets fixed. Either from the volunteer when she/he is back or from someone else. Sorry, but we cannot cover every case of problems. ;-)
I think by using csv this kind of problem would be solved either.
The new names would be presented in the list in English /for all native subsite/, until they would be translated.


And what about sequence?
This download list is ordered alphabetically, which is a very good point
for making selection easier.
For English visitors.
But not for the others, the native site users.
If we translate the language names, we will need a different
alphabetical order.
Which generates a faulty download link again.
Or, leaving only translated, but keeping the original order, we will
have a pack of translated, but messy dropdown list for native languages...

Right, it was simply not taken into account that also the language names could be translated. Now we have indeed the problem that the order is not correct in every language.

What about using one global csv file containing all native translations,
iso codes, preferred language selection, translation of 'other versions'.

Like this:
iso,native name,Language 1,Language 2,Language 3,Language 4,Language 5
en,English,English,German,Italian,Hungarian,Spanish
de,Deutsch,Englisch,Deutsch,Italienisch,Ungarisch,Spanier
it,Italiano,Inglese,Germano,Italiano,Ungarico,Spagnuolo
hu,Magyar,Angol,Német,Olasz,Magyar,Spanyol
es,Espanol,…,…,…,…,…
…,…,…,…,…,…,…

Getting the country from the UA string or IP, js selects the correct
language - or in case of non-recognised, not-translated language selects
English as default -, sort them alphabetically, chooses the correct iso
and preferred language, and anything else which is needed.

Sounds good. But I'm unsure about the sorting. How should this work? Do you have some examples?

I don't have example and I'm very unexperienced with java but I'll make a kludge. :)
Need time... :)


One file to handle, no duplicates to cause conflicts, correct
alphabetical ordering, correct iso selection for the main site and for
all native subsite.

We have one file to handle - this is per language. At least this already OK: ;-)
Nono. One file above all. :)
Language and version parts would be taken out of msg_prop_l10n_xx.js

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to