У пет, 31. 10 2008. у 12:03 +1300, Ivan M пише:

> What do you think? Do you think this could be of use to your project?
> Is there any other functionality that you would like to have?
> 
> Thanks in advance, and sorry for the wordy email :)
> 
> Ivan.


Serbian native-lang project is using similar JavaScript based solution,
but instead of changing text, we are embedding new div with localized
content inside page area, and then replace global div with localized one
on load.

This how we also get localized content when JavaScript is turned off
(Search engine friendly!).

We are doing the same thing for global navigation and footer pages.
You can see the code and working solution at http://sr.openoffice.org/

We also have problem that everything should be presented both in Serbian
Cyrillic and Serbian Latin so there is also some JavaScript code to auto
link to Serbian Latin version of current page (and vice versa, click on
5th tab!) and some code to remove unnecessary clutter from announcement
pages.

JavaScript is put in project-tools.html and therefor included in every
HTML page on site.

Making website more l10n friendly is very important, but think about
search engines too and don't create navigation content dynamically :).


Best regards,
Goran Rakic
Serbian native-lang
project lead



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to