"Fossies" - the Fresh Open Source Software Archive

Member "flowblade-2.8.0.3/flowblade-trunk/docs/CREATING_TRANSLATION.md" (30 Mar 2021, 3510 Bytes) of package /linux/misc/flowblade-2.8.0.3.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

Creating a translation

If you would like to have Flowblade translated into your language you can help by contributing a translation of Flowblade in your language.

Flowblade uses the standard GNU "gettext" utilities to translate the application. GNU "gettext" is a relatively complex tool, but Flowblade provides a set of scripts that make it easier to create translations without using "gettext" directly.

Steps Overview

  1. Use git to pull repository version of Flowblade
  2. Use the provided scripts to create a translation template for your language
  3. Edit the created template to create the translation and compile .mo file from it to see your work
  4. Send the created .po file to project lead

1. Use git to pull repository version of Flowblade

To create a translation you should probably first install the repository version of Flowblade using git so that you can edit and compile the translation file flowblade.po, see Install Instructions.

2. Use the provided scripts to create a translation template for your language

./add_language LANGUAGE_CODE

in which LANGUAGE_CODE is the two letter language code for your locale.

3. Edit the created template to create the translation and compile .mo file from it to see your work

#: useraction.py:489
msgid "Open.."
msgstr ""
./compile_language LANGUAGE_CODE

4. Contributing a translation

Send the created flowblade.po file to janne.liljeblad@gmail.com or submit a Github pull request. Please mention words Flowblade, translation and the LANGUAGE_CODE in the subject line. Translation will be in the next release.

Updating translation

If a translation already exists and you want to update it:

./update_language LANGUAGE_CODE