A quick method of editing text translations [message #1821078] |
Wed, 05 February 2020 10:15 |
Krzysztof Leja Messages: 55 Registered: April 2019 |
Member |
|
|
Hi,
I don't know if this is a Scout plug-in or other Eclipse plug-in problem, but it has been bothering me for a long time and I finally decided to share it with you, because maybe you will have a tip on how to solve it.
In my Scout 9 application I use the default way of text internationalization, i.e. using the TEXTS.get("TextId") method.
There is a nice feature in Eclipse: if I move the cursor at the end of message key and before the closing apostrophe (in the example above it will be after TextId) and press CTRL + space on the keyboard, then a hint window is displayed, where I can:
- add translations for this key ("New text..." option)
- view current translations for all languages, if they have been previously added
This is a great thing that speeds up the internationalization of texts. However, it lacks one thing, i.e. editing already added translations in this hint window. Currently, when I want to do this, I need to copy the text key, search for it in all Texts*.properties translation files in the * .shared module and change the mapping for them there.
Is there a simpler method of changing translations, similar to the above mentioned for adding new translations from the hint window?
|
|
|
|
|
Re: A quick method of editing text translations [message #1821089 is a reply to message #1821083] |
Wed, 05 February 2020 11:47 |
|
Quote:I understand that in the proposal editor window mentioned above (opened via CTRL + space) it is not possible to edit the translation directly.
Correct, that's not possible.
Thanks for your proposal, we keep that in mind :) In our own projects translation is often out-sourced to a translation agency. Which means the NLS-Editor is used to export an Excel file, the agency makes the translations in Excel and finally the developer re-imports the translated Excel back into the NLS-Editor.
Eclipse Scout Homepage | Documentation | GitHub
|
|
|
Powered by
FUDForum. Page generated in 0.02887 seconds