Changes between Version 9 and Version 10 of Implementation_of_Internationalization_and_Localization


Ignore:
Timestamp:
Apr 19, 2014, 7:27:01 PM (10 years ago)
Author:
Adrián Chaves
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Implementation_of_Internationalization_and_Localization

    v9 v10  
    11[[PageOutline(1-100, Table of Contents)]]
    22
    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].
     3This 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].
    44
    55= Internationalization =
     
    163163The 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.
    164164
    165 The format of the messages.json file is a custom format. Check existing `messages.json` files to learn the syntax.
     165The format of the messages.json file is a custom format. See [wiki:Message_Extraction Message Extraction] for details.
    166166
    167167The resulting POT files are generated on the same `l10n` folder that contains the `messages.json` file that define their configuration.