1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-03-04 02:28:10 +00:00
TiddlyWiki5/editions/translators/tiddlers/Extracting Translations.tid
Leilei332 2cb5f57c69
Remove flags in language plugins (#8837)
* Remove flags in language plugins

* Remove references to language icons

* Remove obsolete example

There are no incoming links to this tiddler

* Remove icon from en-GB language

* Temporarily add all the languages for testing

To be removed before merging

* Add new "language" icon

* Languageswitcher update

* Translator editon docs update

* Fixes for introduction edition

* Remove LanguageGallery in ja-JP edition

* Remove temporary setting

---------

Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2025-02-21 12:17:53 +00:00

27 lines
1.4 KiB
Plaintext

title: Extracting Translations
The [[Instructions for Translators]] yield a standalone TiddlyWiki HTML file that contains tiddlers corresponding to each translated string.
! Extracting a new language plugin
Use this procedure if the language being submitted is not already present in the TiddlyWiki repository.
# Run the following command in the terminal to generate the tiddler source files for the repository:
#* `tiddlywiki editions/translators/ --verbose --load <path to HTML file> --build output-files`
#*> The source files are generated in `editions/translators/output/language`
# Create the new language folder `languages/xx-XX`
# Copy the language files into the language folder
# Create a `plugin.info` file for the translation
# Add the new language to tw5.com
# Submit a pull request
! Updating an existing language plugin
Use this procedure for submissions of updates to language plugins that are already present in the TiddlyWiki repository.
# Run the following command in the terminal to generate the tiddler source files for the repository:
#* `tiddlywiki editions/translators/ --verbose --unpackplugin $:/languages/xx-XX --load <path to HTML file> --build output-files`
#* substituting the appropriate language code for `xx-XX`
# Copy the language files from the edition output folder to the appropriate language directory
#* Take care not to copy any empty `.tid` files