Re: [Commons-l] Anonymous I18N

2010-12-07 Thread Michael Dale
> Well, yes the script can be loaded with withJS, but it doesn't stay > when navigating to other pages which is the main purpose of the script. > But if one just wants to see how it basically looks, sure the withJS > is great for that. just add withJS to your uselang append ( for testing ) (

Re: [Commons-l] Anonymous I18N

2010-12-07 Thread Krinkle
Op 7 dec 2010, om 09:01 heeft Michael Dale het volgende geschreven: > looks cool. > > Although maybe think a bit more about scalability. ie calling a php > script from toolserver on every page load won't scale. Better would be > an api hit with public expire: ( ie letting the result be cached in

Re: [Commons-l] Anonymous I18N

2010-12-07 Thread Michael Dale
looks cool. Although maybe think a bit more about scalability. ie calling a php script from toolserver on every page load won't scale. Better would be an api hit with public expire: ( ie letting the result be cached in the shared squid cache for a few hours ) http://commons.wikimedia.org/w/api.ph

[Commons-l] Anonymous I18N

2010-12-06 Thread Krinkle
Hi all, Over the past weekend I've been looking at a decent solution for the localization towards our anonymous users. Currently there are two solutions being used. * Template:mld :: This template renders all translations, and by means of javascript only shows the desired choosen translation