1 | <script type="text/javascript" SRC="dojo.js" djConfig="locale:'en-us'"></script> |
1 2 3 4 5 6 7 8 9 10 11 12 | <script type="text/javascript"> // Note: this must be done before dojo loads!!! var djConfig = new Object(); var theLocale = getLocale(); // this function is responsible to determine // the appropriate locale djConfig.locale = theLocale; function getLocale() { return “en-us”; } </script> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | 针对美式英语语言环境的内容为: { PAGE_TITLE:"God bless America", GREETING: “What’s up”, PERSON: “dude”, GREETING_SENTENCE: “${greeting} ${personTitle}” } <br>针对英式英语语言环境的内容为: { PAGE_TITLE:"God save the queen", GREETING:”Hello”, PERSON:”dear”, GREETING_SENTENCE: “${greeting} ${personTitle}” } <br>针对澳大利亚英语语言环境的内容为: { PAGE_TITLE:"God bless the ozis", GREETING:”G’day”, PERSON:”mate”, GREETING_SENTENCE: “${greeting} ${personTitle}” } <br>针对法语本地语言环境的内容为: { PAGE_TITLE:"Vive la France", GREETING:”Bonjour”, PERSON:”monsieur”, GREETING_SENTENCE: “${greeting} ${personTitle}” } |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |