|ScoutTexts (Scout RT translation files) [message #1404508]
||Sat, 02 August 2014 15:15
| Jeremie Bresson
Registered: October 2011
We have 2 contributors that are working on eclipse scout translations provided with Eclipse Scout:|
* Russian: Bug 440473. Bahtiyor Ruzimatov
* Italian: Bug 440613. Patrik Suzzi
Scout RT include some translations files: ScoutTexts folder. The idea for the ScoutTexts translation files is to contain the translations for the keys used by the framework.
As discussed here, some keys are missing in russian.
The idea is not to augment ScoutTexts with keys from a specific domain.
I got this question from Bahtiyor Ruzimatov:
As I understand it, the default NLS is designed for total user interfaces.
Therefore, begs the question, but what if I create an application specific domains (eg: Medical, Construction, Education, etc.), may be worth creating/integrate separate specialized NLS files?
You can create as many text providers as you want. See the SDK: "New Text Provider Service".
By default we are storing them in the shared plugin of your scout application. But it can be stored in any plugin.
It is up to you to organize them as you like. It might be a good idea to have one provider for each domain and to share those file across multiple project.
Feel free to continue the discussion.
PS: If you are using the Russian or Italian language in your scout project, you might want to help those contributors by reviewing their change.
|Re: ScoutTexts (Scout RT translation files) [message #1404660 is a reply to message #1404639]
||Mon, 04 August 2014 19:07
| Barust R.
Registered: February 2014
As you recommend to create additional text providers (NLS) files I tested it and I would like to share. Maybe someone will need it
How to create additional specialized text providers (NLS) files for specific domains?
For example, I want to create application for medicine domain.
1) Open New Text Provider Service by right click on Text Provider Service in shared and fill as shown here:
P.S.: For example, I would like to select languages: French, German, Italian and Russian. But not listed Russian, do not worry, you can later add it.
2) Add Russian language in MedicineTextProviderService:
3) Fill out with medical words:
P.S.: Excuse me, if I not properly translated medical words.
4) Add 3 pages to the StandartOutline:
You can do this as in http://wiki.eclipse.org/Scout/Tutorial/4.0/Minicrm/Write_the_first_page
If your UI in French, accordingly you will have the French words.
Thank you Jeremy for your advice!
Powered by FUDForum
. Page generated in 0.15250 seconds