| 86 | |
| 87 | === Package East Asian mods === |
| 88 | '''Description:''' [[BR]] |
| 89 | |
| 90 | * Get the latest version of [https://github.com/adobe-fonts/source-han-sans Source Han Sans fonts] for CJK languages. |
| 91 | * For each East Asian language complete enough, select the font subset for the language under the SubsetOTF directory. The interesting fonts should be Normal size for most of our fonts and Medium size for the two bold ones. |
| 92 | * Follow the steps from wiki:Adding_font_support in order to render the fonts. Don't do the font caching already. |
| 93 | * Create a mod for each language, containing a `mod.json`, a `fonts/` folder in which to place the rendered fonts and the licence text files, and a `l10n` folder. Place the .po files for the language in the latter. |
| 94 | * Use the following command to build an archive for each mod (here is the example for ja): `./pyrogenesis -mod=mod -archivebuild-compress -archivebuild=/path/to/0ad/binaries/data/mods/ja-lang-0.0.XXX -archivebuild-output=/path/to/0ad/binaries/data/mods/ja-lang-0.0.XXX/ja-lang-0.0.XXX.zip` |
| 95 | |
| 96 | [[BR]]'''Can be completed in phase:''' Translation freeze [[BR]]'''Candidates:''' Whole team |