On Tuesday, April 15, 2014 2:39:57 PM UTC+2, Tomáš Greif wrote:
>
> 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 GitHub repository (
>    https://github.com/Jermolene/TiddlyWiki5) --> ok 
>       - If your GitHub username is JoeBloggs, your fork will be 
>       https://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/
>
> in your fork it should look like this  
https://github.com/tomasgreif/TiddlyWiki5/tree/cs-CZ/languages/cs-CZ   
besides the other translations.
 

>
>    1. 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)
>    2. Create a plugin.info file (see below) in your translation folder 
>    --> ok, see below, file added to ~/projects/MyTranslation/czechtranslation/
>
> nope. wrong directory. .. 

have a look at the existing translations. your plugin.info needs to be in 
your languages/cs-CZ directory. Where all the others should be too.

 

>
>    1. 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)
>
>  

>
>    1. Run ./qbld.sh to build 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/
>
>  
Have a look at the other language editions. 

-m

-- 
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