FlyHR

SETTINGS

Translate FlyHR

FlyHR shows its screens and emails in the language of your WordPress site. You can use a translation from WordPress.org, or make your own translation.

Before you start

  • You must be a WordPress administrator.
  • Know the text domains:
    • FlyHR: flyhr
    • FlyHR Pro: flyhr-pro

Use the translation from WordPress.org

FlyHR is on WordPress.org, so volunteers can translate it on translate.wordpress.org. WordPress downloads the translation for your language automatically.

  1. Go to Settings → General in your WordPress admin.
  2. Select your Site Language.
  3. Click Save Changes.
  4. Go to Dashboard → Updates and click Update Translations if WordPress shows new translations.

If your language is not complete, you can help at translate.wordpress.org: search for the FlyHR plugin, select your language, and suggest translations.

Make your own translation

Use a translation plugin, for example Loco Translate, or a tool such as Poedit.

  1. Start a new translation for the FlyHR plugin, in your language.
  2. Use the template file wp-content/plugins/flyhr/languages/flyhr.pot.
  3. Translate the texts and save.
  4. Save the translation files in wp-content/languages/plugins/. Do not save them in the plugin folder. An update of the plugin removes the files in the plugin folder.

The file names start with the text domain and the language code, for example flyhr-de_DE.po and flyhr-de_DE.mo.

FlyHR screens use JavaScript. A translation plugin also makes the JSON files that these screens need. If you use Poedit, make the JSON files with the command wp i18n make-json of WP-CLI.

Translate FlyHR Pro

FlyHR Pro is not on WordPress.org, so there is no automatic translation. Use the same steps with the text domain flyhr-pro. Save the files in wp-content/languages/plugins/ with names such as flyhr-pro-de_DE.mo.

Change the text of an email

You do not have to translate the emails with a translation tool. Change the text of each email in FlyHR → Settings → Email Templates. See Emails.

Was this page helpful?