[Plugin] Translation
1.overview
provide simple translation text from JSON
[HTML5 website] [android, blackberry10, ios, wp8, windows8] [crodova cli] [xdk] [phonegap build service]
Translation.Add from JSON string
then use local language text like this according to selected language: Translation.Text("home_title")
2.download
download
3.function
Add texts from JSON
Language is: Check language code
Language is detected: Language code is detected
Change language: Change language code
Text: expression to get text according to the language.
Language: expression to get language code
JSON string format:
"{
""en"":{
""home_title"":""Block Puzzle"",
""play"":""Play""
},
""ko"":{
""home_title"":""블록 퍼즐"",
""play"":""놀이""
}
}"