Starting with OJS/OMP 3.2, we are using the web-based translation tool Weblate to manage translations of OJS and OMP.
This means we have moved away from using XML files, and are instead using “monolingual” PO files. These two file formats look a little different but support the same information. For example, here is an XML file and a PO file.
PO files are used by many thousands of software projects worldwide to manage translations. There are good-quality third-party tools for working with these. We have chosen Weblate, which supports web-based translation. This will replace our Translator plugin.
(If you want to use another translation tool, please go ahead — but please check with us first to make sure you coordinate your work with other translators, and that the tool you choose supports monolingual PO files.)
So you want to translate OJS or OMP into another language! The PKP community depends on volunteer efforts to keep the system working well in many languages and we appreciate your help.
PKP hosts an installation of Weblate for our translator community to use. It is available at https://translate.pkp.sfu.ca.
Begin by registering for an account.
Once you have registered and logged in, go to “Browse All Projects.” You will see a list of projects at the Weblate site:
Content is organized into Projects, Components, and Strings.
The most important projects are:
There will be other projects, for example for commonly-used plugins.
If you are translating Open Journal Systems, then you will need to work with both “Open Journal Systems” and “PKP Web Application Library” projects.
Inside each Project, you may see many Components. Each file corresponds to a single .po file, which contains a set of translations of some aspect of the system. For example, for the “Open Journal Systems” project:
The component name gives you some information about the context where those strings will be used. For example, “admin” relates to the site administration interface; “blocks-information” relates to the information block plugin. (You can get more context by looking at the strings in the component.)
For a complete translation of the “Open Journal Systems” project, all of the components must be completely translated. However, it’ll be possible to use the system without a 100% complete translation — certain parts will simply not be fully translated. (In place of the missing translations, you will see codes like ##author.submit.nextSteps##
where the translated text would appear.)
Inside each component, you will see numerous strings. These are the actual pieces of the application that will need to be translated:
Once you have registered for an account and gotten access to the projects (see above), decide which projects you want to work on. See the previous section for information on which projects will be important to your work.
For each project, click the project’s name to get a list of components. All of these components will be important to translate, although the system will still be usable if a few are missing.
Click on a component’s title to get started. You should see a list of languages along with an indication of the translation’s completeness:
To begin working, click the Translate button next to your language. (If your language is not listed, see the next section Begin a new translation.)
Weblate will automatically step you through each of the each string that needs to be checked, corrected, or translated:
When you have finished translating the remaining strings for this component, continue to the next.
When all components are finished, please contact Alec Smecher with the good news!
To begin a new translation, please create an account by following the instructions above.
Open any component you wish to translate and click the “Start New Translation” button located at the end of the page.
Choose your language, and click “Start New Translation”. The language will then be available for you to begin translating. Repeat this for any components you wish to translate.
To learn how to use the new language you have translated the software into on your installation, see the Install a Language instructions in this guide.