-
Notifications
You must be signed in to change notification settings - Fork 113
Contributing translations
jdlrobson edited this page Jun 30, 2011
·
2 revisions
Are you you thinking of writing a translation for TiddlyWiki? That is fantastic: it will make a real difference to the community. This page is here to get you going. Feel free to keep support in the TiddlyWiki developers group
The source code for TiddlyWiki tranlations is at https://github.com/TiddlyWiki/translations You can notify people of your translation at: http://tiddlywiki.tiddlyspace.com/#Translation
First, check below to see if the translation you need already exists.
- Download a fresh copy of TiddlyWiki from http://www.tiddlywiki.com/
- In another window, visit http://svn.tiddlywiki.org/Trunk/association/locales/core/en/locale.en.js and copy all the text to the clipboard
- Go back to the TiddlyWiki file and create a tiddler named after the language you are translating
- Paste the clipboard into the body of the new tiddler
- Add the tag "systemConfig" to the tiddler
- Click 'done' and save your changes
- Study the entries you've pasted and replace the various quoted English strings (only the ones in double-quotes!) with their translations
- Save and reload to test
- The "config.locale" in your translation-tiddler is used to set the W3C language tags in your HTML automatically, but since this reload is the first time your translation is executed, only now these tags are actually updated. Therefore you have to save your TW once again.