Changes between Version 9 and Version 10 of Implementation_of_Internationalization_and_Localization
- Timestamp:
- Apr 19, 2014, 7:27:01 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Implementation_of_Internationalization_and_Localization
v9 v10 1 1 [[PageOutline(1-100, Table of Contents)]] 2 2 3 This topic explains the implementation details of internationalization and localization in the game. For documentation on how to use those features to either internationalize new game content or localize the game, see [wiki:Internationalization ] and [wiki:Localization].3 This topic explains the implementation details of internationalization and localization in the game. For documentation on how to use those features to either internationalize new game content or localize the game, see [wiki:Internationalization_and_Localization Internationalization and Localization]. 4 4 5 5 = Internationalization = … … 163 163 The script responsible for generating POT files is `source/tools/i18n/updateTemplates.py`. This scripts goes through the `l10n` folders of the sources (`binaries/data/l10n` and `l10n` in mod folders) and it reads the `messages.json` file there, which defines where to extract the strings from, and how to extract them. 164 164 165 The format of the messages.json file is a custom format. Check existing `messages.json` files to learn the syntax.165 The format of the messages.json file is a custom format. See [wiki:Message_Extraction Message Extraction] for details. 166 166 167 167 The resulting POT files are generated on the same `l10n` folder that contains the `messages.json` file that define their configuration.