Hi,

I am trying to add new translation (Czech - cs-CZ), but I guess I am 
missing something and/or do not have enough skills to make it.

I followed the tutorial on TW5 site with following notes to steps (not-ok 
steps are bold):


   1. Fork the TiddlyWiki <#TiddlyWiki> GitHub <#GitHub> repository (
   https://github.com/Jermolene/TiddlyWiki5) --> ok 
      - If your GitHub <#GitHub> username is JoeBloggs <#JoeBloggs>, your 
      fork will behttps://github.com/JoeBloggs/TiddlyWiki5
   2. Create a branch with the name of the translation you intend to create 
   (eg "cy-GB" for "Welsh (United Kingdom)") --> ok, have cs-CZ branch 
   (https://github.com/tomasgreif/TiddlyWiki5/tree/cs-CZ)
      - IETF language codes: 
      http://www.lingoes.net/en/translator/langcode.htm
   3. Clone your forked repository to your computer (eg, 
   /MyTranslation/TiddlyWiki5) --> ok, have exactly this structure in 
   ~/projects/
   4. Create a sibling directory /MyTranslation/jermolene.github.com -->ok, 
   have folder named czechtranslation
   5.  Create a new folder in <repo>/languages for your translation --> ok, 
   created cs-CZ folder in ~/projects/MyTranslation/TiddlyWiki5/languages/
   6. Copy the contents of <repo>/core/language/en-GB into your translation 
   folder --> ok, copied only the content, not the folder (only what is inside 
   en-GB folder)
   7. Create a plugin.info file (see below) in your translation folder --> 
   ok, see below, file added to ~/projects/MyTranslation/czechtranslation/
   8. Edit <repo>/editions/tw5.com/tiddlywiki.info to add your language to 
   the list --> ok, added  "cs-CZ", into list of languages (after en-GB)
   9. Run ./qbld.sh to build TiddlyWiki <#TiddlyWiki> --> *not quite ok*, 
   got error "A valid TW5_BUILD_OUTPUT environment variable must be set". 
   Used export TW5_BUILD_OUTPUT=~/projects/MyTranslation/ . After that, got 
   another error that there is no such file 
.../MyTranslation/TiddlyWiki5/languages/cs-CZ/plugin.info'. 
    Added file from ~/projects/MyTranslation/czechtranslation/ to 
   ~/projects/MyTranslation/TiddlyWiki5/languages/cs-CZ/
   10. Open the TiddlyWiki <#TiddlyWiki> file at 
/MyTranslation/jermolene.github.com/index.html 
   --> ok, I can open that newly created file
   11. You should see your translation listed in the control panel, but the 
   text of the translation will still be in British English --> ok, see 
   Čeština in languages and everything is in English
   12. Edit the .tid and .multids files in your language folder to 
   translate the English text --> *not ok, *I do not see anything 
   translated if I changed .tid file, rebuild TW5 again using qbld.sh

What should I do differently in order to make it work?

Note: Running Ubuntu 13.10, 64-bit, have TW5 running on node.js

Regards,

Tomas

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to