I managed to translate the file to the language I required. Just for a reference to those like me facing the same problem.
Below is the steps I do for my translation. I did it in windows.
1. create or copy the sample file from the sample program and name the file to your language with the language code.
eg.
Language_
zh.lng (chinese)
2. add in the word or sentense to translate.
eg. Login\ Password=
3. translate the words to the language you required. (I used google translator)
eg. Login\ Password=登录密码
4. translate the language to java unicode by using the link provide by corwin42 (
http://itpro.cz/juniconv/) and replace with the unicode.
eg. Login\ Password=\u767B\u5F55\u5BC6\u7801
5. then convert your language file to unix format using dos2unix programs. Can be found at
http://dos2unix.sourceforge.net/
6. then add the tranlate function into the program. Please refer to the sample program.
trans.Initialize2(File.DirAssets, "
Language", locale.Language)
passwordLabel.Text = trans.GetText("Login Password")
Note:
Remember to use "\" for space between the search words.
It's a case sensitive so the words must be match exactly.
This is what I had discover during this task. Please correct me if I am wrong.
Thank you.