-
Notifications
You must be signed in to change notification settings - Fork 2
Languages
This section will give you the minimal information to run GLPI and PM server For complete references, you may read: http://wiki.processmaker.com/3.0/Translating_ProcessMaker
You must install in PM server the default GLPI language, otherwise languages will not match between GLPI and PM server. PM server supports several languages (see: https://sourceforge.net/projects/processmaker/files/Translations/ and this: http://wiki.processmaker.com/3.0/Languages#Installing_Additional_Translations. Prefer a more recent file for translation and also use only a primary language translation file (i.e.: use processmaker.fr.po and not processmaker.fr-FR.po). Even if you downloaded a file that seems to be a primary language file, please check this mandatory setting directly in the po file itself using any text editor.
If primary language file doesn't exist, then just edit the po file with any text editor and empty the X-Poedit-Country.
Before:
msgid ""
msgstr ""
"Project-Id-Version: ProcessMaker 3.0.1.8.patch1\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2016-09-22 08:32:57\n"
"Last-Translator: \n"
"Language-Team: Colosa Developers Team <developers@colosa.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer_Encoding: 8bit\n"
"X-Poedit-Language: French\n"
"X-Poedit-Country: France\n"
"X-Poedit-SourceCharset: utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
After:
msgid ""
msgstr ""
"Project-Id-Version: ProcessMaker 3.0.1.8.patch1\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2016-09-22 08:32:57\n"
"Last-Translator: \n"
"Language-Team: Colosa Developers Team <developers@colosa.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer_Encoding: 8bit\n"
"X-Poedit-Language: French\n"
"X-Poedit-Country: \n"
"X-Poedit-SourceCharset: utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
You should get a language list that'll look more or less to the one below:
Very easy, just use the processmaker.en.po language. Export it from PM server:
Then rename the file to (let's say processmaker.de.po for German language), then edit the file with a text editor and change the two lines "X-Poedit-Language: Lang\n" "X-Poedit-Country: Country\n"
into "X-Poedit-Language: German\n" "X-Poedit-Country: \n"
Save it and import it in PM server. Of course you'll get English instead of German, but it's better than nothing 😃
Note: you may use an old translation file: one that was for a previous version of PM server. For German language, I'm using one from release 2.5.1: