Skip to content
Learnomy
Get Learnomy Pro

Translating Learnomy

Learnomy ships with translations for several languages, and you can correct or add your own. This page explains where to keep your changes so an update doesn't remove them.

Languages included#

German, Spanish, French, Italian, Dutch, Polish, Brazilian Portuguese, Russian and Swedish ship with the plugin. Text added since a language was last updated shows in English until an update brings its translation.

In version 2.3.0 we found that some shipped translations were automatic guesses from similar sentences that nobody had checked, so a few read wrongly (for example "Restore access" translated as "remove access"). Those strings are now marked fuzzy, so they show in English until a person reviews them. Expect more English in these languages for now; reviewed translations return in later updates.

Keep your changes safe from updates#

Files inside the plugin's own languages folder are replaced on every update, so never edit them there.

Keep your translation in one of these places instead:

  • With Loco Translate: when you create or edit the language, choose the Custom location.
  • By hand: put your .po and .mo files in wp-content/languages/plugins/, named learnomy-de_DE.po and learnomy-de_DE.mo for German. Learnomy Pro uses the same pattern with learnomy-pro-.

Strings used by scripts#

Some text is shown by JavaScript and is read from .json files, not the .mo file. Loco Translate creates these for you. If you work by hand, generate them with wp i18n make-json.

Rename a word everywhere#

To change a word such as Course or Student across your site, use Custom Labels rather than a translation. It works in every language.

Fuzzy strings show in English#

A string marked fuzzy in a .po file is left out of the .mo file, so it shows in English until someone confirms it. If a page shows a mix of languages, look for fuzzy strings first.

Loco Translate has a Use fuzzy translations setting that puts fuzzy strings back in. Leave it off: fuzzy strings are unconfirmed, and some are wrong. If a translation would break a sentence (it asks for more values than the English text has), Learnomy shows the English text instead.

To review fuzzy strings, open the language in Loco Translate or Poedit and filter by fuzzy. Strings that start with the comment "unreviewed: machine guess" are the ones marked in 2.3.0. When a string is right, clear its fuzzy flag (and that comment); when it is wrong, correct it first.

Report a mistake#

If a translation is wrong, send us the text and the correction, or your corrected .po file, through support.