Skip to content

Contributing translations

jdlrobson edited this page Jun 30, 2011 · 2 revisions

Welcome

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

How to create or update a translation of TiddlyWiki

First, check below to see if the translation you need already exists.

  1. Download a fresh copy of TiddlyWiki from http://www.tiddlywiki.com/
  2. In another window, visit http://svn.tiddlywiki.org/Trunk/association/locales/core/en/locale.en.js and copy all the text to the clipboard
  3. Go back to the TiddlyWiki file and create a tiddler named after the language you are translating
  4. Paste the clipboard into the body of the new tiddler
  5. Add the tag "systemConfig" to the tiddler
  6. Click 'done' and save your changes
  7. Study the entries you've pasted and replace the various quoted English strings (only the ones in double-quotes!) with their translations
  8. Save and reload to test
  9. 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.