PDA

View Full Version : [OPEN-307]Dynamic localization example is broken



stephen.friedrich
30 Sep 2009, 4:45 AM
The "Localization with Extjs" example on
http://www.extjs.com/deploy/dev/examples/locale/multi-lang.html
is broken:

No matter what language is selected the GUI is always presented in English (tested with FF 3.0 and IE8).

That's a petty, I wanted to copy the principles :-(

evant
30 Sep 2009, 4:53 AM
Are you sure?

stephen.friedrich
30 Sep 2009, 5:06 AM
Yes, I am - see screenshot.

Though after some more testing I found that it suddenly started to work after selecting the same language twice.

Here's a way to reproduce (using IE8):


Clear the browser cache (I selected all options from the dialog, cookies, temporary files, ...)
Go to http://www.extjs.com/deploy/dev/examples/locale/multi-lang.html
Select German => still English
Select France (France) => still English
Select France (France) _again_: Voila! Finally the localization works.

From that point on it works already on the first selection of each language (even if you open the URL again (without clearing cookies)).

evant
30 Sep 2009, 5:15 AM
Might be a bug with the cookie handling, the error only seems to occur in IE.