You
got it, thanks.
After
I moved up es_mx on the language preference list (so the priority is the
highest), everything is fine.
But
there is another problem, I created a properties file Resources_zh.properties,
and I typed in some Chinese characters, then saved it (I used WordPad to edit
and save the file), but on the page, the Chinese chars are all "???". Even I
changed the Encoding, no help.
The
produced html source header like below:
<html lang="zh">
<head> <title>Login</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="stylesheet" href="../externals/styles.css"> <script src="../externals/lib.js" language="javascript"></script> </head> Does
the "charset" cause the problem? I remove the charset, no
difference.
Thanks.
|
- A strange problem about locale. Liang Li
- RE: A strange problem about locale. Simon Liang
- RE: A strange problem about locale. Liang Li
- RE: A strange problem about locale. Simon Liang
- RE: A strange problem about locale. Liang Li