Translate

Development (6)
Konrad Twardowski

Patches

Required Tools

  • CMake
  • Gettext Utilities

Creating a New Translation

Run ./tools/i18nnew.sh LANGUAGE_CODE to create a new po/LANGUAGE_CODE.po file, where LANGUAGE_CODE is a two-letter ISO Language Code

Testing Translations

  1. $ cd build.tmp (run ./Setup-kde4.sh before to initialize build.tmp directory)
  2. make
  3. sudo make install
  4. Restart KShutdown

Dr. Klash

This little utility, once activated, can present a report about conflicting shortcuts in menus.

Output Files

  • ./po/*.po - your translations
  • ./src/i18n/*.qm - compiled .po file for Qt Build version (binary) - you can ignore this folder

Special Text Elements

Argument Elements

%0, %1, etc. - each %n string will be replaced at runtime with an applicable value. For example, "Remaining time: %0" string can be displayed as "Remaining time: 00:22:47".

HTML Tags

  • B - display text using bold font
  • BR - new line; like \n
  • CODE - display text using monospace font

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks