[kde-edu]: i18n issues with step

Burkhard Lück lueck at hube-lueck.de
Tue Nov 18 14:45:08 CET 2008

Am Dienstag 18 November 2008 11:35:09 schrieb Vladimir Kuznetsov:
> Objinfo files can be translated, but in different way. I've just added
> example of translation to l10n-kde4/de/data/kdeedu/step.
Noticed that already and checked it;-)

It works, but how to keep the objinfo files in step and in all translations in 

You generate the html for missing documentation on the fly from text with i18n 

Maybe this is also possible for the objinfo files, which consist of a few 
lines of html stuff, a title string and a few lines of text inside 

You only need to generate the file content at runtime with two translatable 
strings, the text inside <title></title> and the text inside <body></body>.

Then scripty can keep the strings in source and translations via step.po in 
sync, just change or add text with i18n calls and all changes are merged with 
the translations.

Another possible solution is to use desktop files or xml files. You find more 
information about this issue on

This could also give some hints how to make the tutorials and examples 

> Tutorials are still non-translatable. For now I can implement the similar
> translation method for them as used for objinfo files, but this is not
> optimal because it will be hard to keep translations in sync. Another
> solution is probably to modify .step file format to to include translations
> directly into .step files, but then it won't be possible to translate
> object names (like "particle1"). What do you thing about it ?

Burkhard Lück

More information about the kde-edu mailing list