New locale support installed manually on OMP?

I am trying to install entirely new language to OMP on local server.

  1. Is it possible to do it outside official repository?
  2. Can you give me a word of advice regarding installation of new locales provided by weblate?

Hi @open2source,

(The text below talks about OJS, but it applies equally to OMP or OPS!)

We add all the new language content from Weblate to each new release on our current “stable” branch (at the moment, that’s stable-3_2_1 in github). Right now, this means that any work you’ve done on Weblate will be released in OJS 3.2.1-2, when we need to make a release for some reason (e.g. a high-priority issue) or there’s enough accumulated additions/fixes to justify a release.

If you want to get the language files in the meantime, e.g. for your own use, you have a few options…

  • Use a git checkout of OJS, rather than installing from a .tar.gz package. (PKP’s hosting operations run this way, for example.)
  • Use the Files > Download original translation files as ZIP file tool in Weblate to download the latest translations, and add them to your installation manually (you’ll need to do this for the Open Journal Systems and PKP Web Application Library Weblate projects, plus any relevant plugins)
  • Get the latest translations from the pkp-translations organization in Github, e.g.:

Edit 2024-03-14: The pkp-translations account is likely to stop receiving translation updates soon. You can access translations using git from Weblate directly. Add remotes for each repo with the following URL:

(The pkp-lib / PKP Web Application Library is the part of OJS that is included in the lib/pkp subdirectory.)

If the language is new, you’ll also have to add an entry for it to registry/locales.xml.

Alec Smecher
Public Knowledge Project Team

1 Like

@asmecher many thanks for this info. Great job!