Changes

812 bytes added ,  12:01, 8 January 2014
no edit summary
Line 44: Line 44:  
* If audio file is not available, get_audio_filename() return None
 
* If audio file is not available, get_audio_filename() return None
   −
== Improving translation files ==
+
== Improving translations ==
    +
[[File:Art4apps-translator-screenshot.png|thumbnail]]
 +
 +
To update translations or create new languages, you can do:
 +
 +
art4apps-translator lang
 +
 +
where "lang" is your two letters language code.
 +
 +
You will see the screen displayed here, and can select in the list of words at the left the word to translate, the image will be displayed at the right, and you can add your translation in the input at the bottom. The change is accepted pressing Enter or clicking in the small arrow at bottom right.
 +
 +
When you close the utility, a file words_lang.json will be created in the directory where you are placed.
 +
If you want your activity use it, need create a directory "data" and put the file inside.
 +
We would like get updated files and add them to the rpms to distribute them. Please send them to godiard at sugarlabs dot org.
    
== Activities using Art4Apps ==  
 
== Activities using Art4Apps ==  
628

edits