Translating the Theme
Updated 1 year 5 months ago
Zephyr has the following translations in the package:
- Brazilian Portuguese
The translation is automatically applied when you change the language in the “Site Language” option at Settings > General:
Theme translations for these languages are made by our clients at this collaboration project. Join the project by adding your email and name, after that you can:
- Translate the untranslated strings to your language with other people
- Update or fix the existing translated strings
- Download translation file of your language
We update all translations from this project in every Zephyr update.
Zephyr theme inherits lots of WordPress core translations to be lightweight
Basically, there are three types of translations in Zephyr:
- Zephyr-related translations with "us" text domain, to edit them join this collaboration project
- WordPress core without text domain, these translations aren't editable out of the box, use 3rd party solutions to override them
- With plugin's text domain, for instance, "woocommerce", these translations are not related to Impreza and should be edited by the authors of these plugins
What do I need to translate Zephyr to another language? #
In case there is no language in the list above, you can translate theme locally:
- Download and install the POEdit.
- Locate default.po file at /Zephyr/common/languages folder, copy it and edit it by translating the needed strings.
- Save your file with the name regarding ISO codes. For example, files with the Spanish language should be named es_ES.
- Install Zephyr-child theme.
- Go to your server via FTP, and upload the language files (both .po and .mo) to the languages folder of the Zephyr-child theme (located at wp-content/themes/Zephyr-child/languages) you should create folder if it doesn't exist.
- Go to Settings > General at your admin dashboard and select the needed language at the “Site Language” option (as on the screenshot above).