Languages

Menu
Sites
Language
localization

Hello, please tell me what I'm doing wrong

I want to localize the application to, for example, Japanese

http://i.imgur.com/vy4Ly5Y.png

http://i.imgur.com/mm6juKy.png

http://i.imgur.com/G9eZQA5.png

emulator also does not translate

Responses

8 Replies
Raghavendra Reddy Shiva

Refer to this article and follow the steps mentioned, https://developer.tizen.org/documentation/articles/localization 

From the article, after step 3, don't choose "finish" instead go with option "next" and select the file and language and then say "finish". Now you should be seeing the index file being created under folder "locales/fr/index.html". Please clean and re-built the project if not done, before deploying it onto device. After changing the langauge settings (both Display Language and Region), you should be seeing the index file loaded from the "locales/fr" folder.

Raghavendra Reddy Shiva

On emulator, it works. As already mentioned, please clean and re-built the project if not done after the changes, before deploying it onto Emulator.

Then change the langauge settings (both "Display Language and Region" from the settings), re-launch the application and you should be seeing the index file loaded from the "locales/ja" folder.

Fedor Efimenko

I see one index (mine is login.html)

http://i.imgur.com/Yh5TCH1.png

http://i.imgur.com/4wZUtiE.png

Give me please a simple example (finished)

 

Raghavendra Reddy Shiva

I did the same as you did in your first example, just that i choose french language to verify.

And yeah it did work on emulator and device, with simulator it din't work (not sure, if we need to have the language supported on the local machine). 

So please try on either emulator or device. Let me know, if you still find issues working with them.

Fedor Efimenko

thank you, everything is fine

Fedor Efimenko

how can I make a local Russian?

Kirill Chuvilin

In your project open "locales" folder. Create "ru" subfolder there.

Copy all the files to be translated in this subfolder.

Fedor Efimenko

rename, ok, thanks