Closed weswithley closed 7 years ago
Hi Wesley, as you can see from the error in the console, the browser cannot find the JSON file under the path lang/js/langpack/th.json
Are you sure it is available from that path?
Hi, Irrelon,
Thanks for response, I'm pretty sure the path is correct.
The files in lang/js/langpack as below:
I'd tried to link the nonDynamic.js by absolute url and it was no problem, so, the json files should be no problem either. : )
Are you running this over your file system or via a web server?
Hi, Irrelon,
I just Moved all the files from my company sever site to my personal site about 5 mins ago. and all of those were work fine.....
sorry about all of these... Thanks for your help. ^^"
Hi, I am using your example files for testing switching langs, but there're some problems happended to me.
when i click "Switch to Thai" , there's nothing happened and the console just throw an error as below :
I'd added a "switch to TW"
<a>
tag on index.html in example files, after i clicking it nothing happened, too, and the error msg as below:but it's work fine while i use the nonDynamic.js. so, sounds like the problem is the something trouble with json.
this is my edited index.html from your example files : (the only one different is i'd added one more
<a>
tag in #langChanger )Any help will be greatly appreciated. Please let me know how to fix it.
Thanks for your help, Wesley