Again this task is simplified a lot by Rafael Beccar's script in kdeedu/kturtle/data/
. Please make sure to read the README file in that directory, since some work still has to be done after the example logo files are autotranslated.
When you followed the instructions, given in the README file that you found in the scripts directory, you should now be almost ready. Please do not forget to test the translated example logo code you created, since it is very common that an error sneaks in. Also make sure the Makefile.am
in kde-i18n/
is updated according to the new files. For the Dutch the code
/data/kdeedu/kturtle/Makefile.am
should look like this:
txt_DATA = advertentie.logo driehoeken.logo krullen.logo tafels.logo \ bloem.logo driehoek.logo logohighlightstyle.nl.xml pijl.logo vierkanten.logo \ kleuren.logo logokeywords.nl.xml randomnaam.logo vierkant.logo txtdir = $(kde_datadir)/kturtle/examples/nl xml_DATA = logohighlightstyle.nl.xml xmldir = $(kde_datadir)/katepart/syntax keywords_DATA = logokeywords.nl.xml keywordsdir = $(kde_datadir)/kturtle/data EXTRA_DIST = $(txt_DATA) $(xml_DATA) $(keywords_DATA)
Here a description of how to do the translation WITHOUT the use of Rafael's perl scripts:
Copy the English example files from kdeedu/kturtle/data/
to the directory used to store the translated keyword and hilighting files. Translate the filenames of the examples in your directory: this will allow users to easily and quickly understand what the example is about.
Translate the keywords in the examples, using those in the logokeywords.xml
for your language. The keywords file file must be done, first, before translating the examples.
Save your file as UTF-8 (in Kate, use and change to utf8 in the box on the right of the file name)
Commit your folder (add a Makefile.am
inside) or send it to Anne-Marie.
In case of any doubt, please contact Anne-Marie Mahfouf, (annemarie.mahfouf AT free.fr)
for more information.
Finally, if you want, you can add your own examples in this folder.
Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team