简体   繁体   中英

How to externalize strings to multiple files in Eclipse

I have run Externalize Strings in Eclipse that generated a messages.properties . That was translated to some other languages and the new files were created like messages_de.properties etc.

Now after adding some new strings how could I externalize them to all messages file?

If I simply run Externalize Strings again then it will update only messages.properties file and therefore there will be inconsistency among the language files.

To my knowledge, no, you cannot from the "Externalize Strings", translate a word into multiple locale.
The best way to mitigate that is to have some file diff tools ready to show you what new lines exist in messages.properties which do not exist in other messages_xx.properties .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM