1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-17 23:34:50 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/mechanisms/TranslationMechanism.tid
Jermolene 3f89d2d0fa Documentation for translators
I’d appreciate help with putting together more complete and foolproof
instructions.
2014-02-17 22:46:30 +00:00

18 lines
850 B
Plaintext

created: 20140217173700918
modified: 20140217173713987
tags: mechanism
title: TranslationMechanism
type: text/vnd.tiddlywiki
The translation mechanism of TiddlyWiki manages and switches between language plugins that provide translations of the TiddlyWiki user interface.
The title of the current language plugin is read from the tiddler [[$:/language]]. If the selected plugin changes then any displayed translateable text automatically changes.
Translation plugins are bundles of tiddlers that each contain an indepedent translatable string. The strings are transcluded as needed.
Translatable strings are generally in the namespace `$:/language/`, for example:
* [[$:/language/ControlPanel/Tools/Encryption/ChangePassword/Button]]
* [[$:/language/Docs/ModuleTypes/isfilteroperator]]
* [[$:/language/EditTemplate/Fields/Add/Value/Placeholder]]