Task #2038
Manage UTF-8 localization .properties files
Statut: | Closed | Début: | 15/02/2017 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | Messages | Temps passé: | - | |
Version cible: | 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
Historique
#1 Mis à jour par Sebastien Jacquot il y a plus de 7 ans
- Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.8.0
#2 Mis à jour par Sebastien Jacquot il y a presque 7 ans
- Statut changé de New à Closed
- % réalisé changé de 0 à 100
Done for the messages.properties. The class managing UTF-8 is /org.txm.utils/src/org/txm/utils/messages/Utf8NLS.java.