openoffice-l10n mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus (OOo)" <marcus.m...@wtnet.de>
Subject Re: [WEBSITE][DOWNLOAD] Newest updates to webpages
Date Sun, 13 Jul 2014 11:16:44 GMT
Am 07/13/2014 12:49 PM, schrieb Aivaras Stepukonis:
> Thank you, Marcus!
>
> I've brought about the changes on the LT subsite and they work. See
> <http://www.openoffice.org/lt/download/>.

great :-)

> There is still one thing missing though. Once translated the names of
> the languages will likely require a new alphabetical ordering (as they
> do in Lithuanian). I've tried to change the ordering of the language
> values in "msg_prop_l10n_XX.js" but that messed things up. I presume

Yes, the order is important to assemble the download links correctly. 
So, I guess when choosing lang A then a link for lang B is shown.

> more coding is needed to bring about the correct alphabetical sorting,
> right?

And the "bonus" is that every language will produce a different order. 
;-( So, more thinking needed.

Marcus



> 2014.07.13 12:02, Marcus (OOo) rašė:
>> Hi all,
>>
>> I've finished some more work on the download webpages. Because you can
>> benefit from these changes for your localized website you may want to
>> know how to use it.
>>
>> - Download webpage:
>>
>> 1.
>> All the colored boxes + navigation bar + logo section can be defined
>> to be shown or not. If they should be shown, the text can be localized
>> in "msg_prop_l10n_XX.js".
>>
>> For an example see the source code of
>> "http://www.openoffice.org/xx/download/index.html".
>>
>> - Download scripting:
>>
>> 1.
>> Moved all variables and functions into an single global object "DL".
>> Now only this object is in the global scope of the browser window and
>> no longer every little variable (best practices in JS scripting).
>>
>> 2.
>> The same for the localization strings in "msg_prop_l10n_XX.js" (global
>> object "l10n").
>>
>> 3.
>> An error text is shown when choosing not suitable select box options
>> (e.g., OS X 32-bit + any language + 4.1.0). If it's not possible to
>> translate the English wording properly into your language, then (more
>> or less) free text can be defined.
>>
>> See the variables "l10n.dl_error_custom_1_text" until
>> "l10n.dl_error_custom_4_text" (depends on the exception case) in
>> "msg_prop_l10n_XX.js".
>>
>> - Select boxes:
>>
>> 1.
>> The list items can be localized. The current strings are in English
>> and can be found in "msg_prop_l10n_XX.js".
>>
>> See the variables "l10n.dl_green_box_select_box_os_values",
>> "l10n.dl_green_box_select_box_language_values" and
>> "l10n.dl_green_box_select_box_version_values" in "msg_prop_l10n_XX.js".
>>
>> 2.
>> Furthermore, in the language select box the list items have a tool tip
>> (native language name + ISO code).
>>
>> BTW:
>> I'm now subscribed to the L10N mailinglist.
>>
>> And as always, if you need more details just ask. :-)
>>
>> Marcus

---------------------------------------------------------------------
To unsubscribe, e-mail: l10n-unsubscribe@openoffice.apache.org
For additional commands, e-mail: l10n-help@openoffice.apache.org


Mime
View raw message