|
|
- # thea2Shattering_i18n_tools
-
- Scripting tools to interact with Thea 2 The Shattering's files in order to translate them easily.
-
- ## Databases
- To convert from XML
-
- ```
- grep Key DATABASE_UI_LOCALIZATION.xml | awk -F'"' '{print "#. "$2"\n" "msgid " "\""$4"\"" "\n" "msgstr " "\"\""}' > DATABASE_UI_LOCALIZATION.pot.tmp
- msguniq --no-wrap DATABASE_UI_LOCALIZATION.pot.tmp > DATABASE_UI_LOCALIZATION.pot
- ```
-
-
-
- ## Modules
-
- To convert from txt :
-
- ```
- for text in Modules/game_files/*; do ./extract_module.sh "${text}"; done
-
- ```
-
|