Task #2038
Manage UTF-8 localization .properties files
Status: | Closed | Start date: | 02/15/2017 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% |
|
Category: | Messages | Spent time: | - | |
Target version: | TXM 0.8.0 |
Description
Manage UTF-8 .properties files to simplify the plug-ins internationalization.
Solution¶
- create a class that initializes the messages from NLS class and that encodes the fields to UTF-8
- use this class to initialize all TXM messages
- encode all .properties files to UTF-8
- in Eclipse IDE change the preferences General\Content Types\Text\Java Properties File\Default encoding to UTF-8
History
#1 Updated by Sebastien Jacquot over 2 years ago
- Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0
#2 Updated by Sebastien Jacquot about 2 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Done for the messages.properties. The class managing UTF-8 is /org.txm.utils/src/org/txm/utils/messages/Utf8NLS.java.