Translation documentation for Developers: Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
No edit summary
 
(43 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Poedit ==
= Documentation for Translators =
Please download the [http://www.poedit.net/ Poedit Editor] that allows easy editing of language files.
There is a separate page with [[Documentation for Translators]].


This is a screenshot of the editor (click on it to see the fullsize picture):
= Testing a translation =
You can get a test installation, by running


[[Image:poedit.png|200px]]
curl https://get.openpetra.org | bash -s test


== Get the language file ==
Then just replace your language file in /home/op_test/client/locales, and reload your browser.
You are welcome to ask on the forum ([http://sourceforge.net/apps/phpbb/openpetraorg/viewforum.php?f=13 Forum Translations/Internationalisation]) for the empty or current translation file for the language you want to translate.


Alternatively, you can check the Git repository online for the language file:
= Reviewing the translation template =
* http://openpetraorg.git.sourceforge.net/git/gitweb.cgi?p=openpetraorg;a=tree;f=i18n;hb=HEAD
Please have a look at [[Reviewing the translation template]]
 
== Send the modified language file ==
Please post the translated or modified language file (extension: .po) in the Forum ([http://sourceforge.net/apps/phpbb/openpetraorg/viewforum.php?f=13 Forum Translations/Internationalisation]). We will integrate it into the next release of OpenPetra.org.

Latest revision as of 06:16, 26 March 2020

Documentation for Translators

There is a separate page with Documentation for Translators.

Testing a translation

You can get a test installation, by running

curl https://get.openpetra.org | bash -s test

Then just replace your language file in /home/op_test/client/locales, and reload your browser.

Reviewing the translation template

Please have a look at Reviewing the translation template