Translate Astra Themes/Plugins into your own language with GlotPress

Astra The theme supports 100% translation and provides .po and .mo files that can be used to POEdit,GlotPress and other software for translation. Among these programs, we recommend the use of GlotPressTheGlotPress be WordPress The biggest advantage of an officially used online translation tool is community involvement. Anyone can log in to GlotPressThe translation is done in an efficient way, by contributing translations, suggesting changes or validating existing translations. In this way, the translation process can be completed more quickly and accurately.

Image [1] - Multilingual Translation of Astra Themes/Plugins via GlotPress

In this article, we'll go over how to use the GlotPress Translate Astra themes and plugins to help you translate your website into your desired language.

Image [2] - Multilingual Translation of Astra Themes/Plugins via GlotPress

Step 1: Visit the GlotPress project page

Astra thematic GlotPress The project is hosted in WordPress In the repository. You can translate Astra topics by visiting the following link:

Step 2: Log in or register a new account

If you already have GlotPress account, you can log in directly. If you don't have an account, you can log in at GlotPress Register a new account on the site. After registering, you will be able to participate in translations and contribute translated content.

Step 3: Select Translation Language

exist GlotPress In the "Translations" section, select the language you wish to translate into. After clicking on the language link, you will see the status of the translation for that language as well as information about other translators. The different status symbols help you understand the progress of the translation:

  • Untranslated: A string that has not yet been translated, pending translation.
  • Waiting: Translated string, waiting for validation.
  • Fuzzy: There are several strings with different translations waiting for the verifier to choose the most appropriate one.
  • Translated: String that has been translated and completed without further work.

Select the language you need to translate and view the current progress of the translation.

Image [3] - Multilingual Translation of Astra Themes/Plugins via GlotPress

Step 4: Translate String

Click on any string that needs to be translated to go to the translation editing page. Here you can provide a translation for that string. After completing the translation, the Project Validator will review and approve your translation.

Image [4] - Multilingual Translation of Astra Themes/Plugins via GlotPress

Translated strings, when approved by the validator, will appear in the WordPress Backend update in progress. If the project is hosted in a WordPress.org repository, the translations are updated automatically. If it is Astra Pro plugin, translations will be released with the plugin update.

Image [5] - Multilingual Translation of Astra Themes/Plugins via GlotPress

Step 5: Exporting the Translation File

Once the translation is complete, you can export the current translation files (.po and .mo formats). These files will be used in your WordPress website to help automate the application of translations.

Steps for exporting translated files:

  • exist GlotPress After completing the translation, scroll to the bottom of the page and select the Machine Object Message Catalog (.mo) Export translation files in the format.
  • Rename the translation file to a format that matches the language encoding:
    • For example, a German language file named astra-de_DE.mo respond in singing astra-de_DE.poThe
    • The French file is named astra-fr_FR.mo respond in singing astra-fr_FR.poThe
    • For the Hebrew, named astra-he_IL.moThe
Image [6] - Multilingual Translation of Astra Themes/Plugins via GlotPress

File Upload Steps:

Rename the renamed .mo The file is uploaded to the following path:

  • For Astra topics:wp-content/languages/themes/
  • For the Astra Pro plug-in:wp-content/languages/plugins/

Make sure to follow the correct naming convention, which will ensure that the WordPress Correctly recognizes and applies translations.

Steps for exporting and uploading translations to the website

  • interviews GlotPress Project page and log in to your account.
  • Select the language you want to translate and translate the desired string.
Image [7] - Multilingual Translation of Astra Themes/Plugins via GlotPress
  • strike (on the keyboard) deriveand then select Machine Object Message Catalog (.mo) format to export translations.
Image [8] - Multilingual Translation of Astra Themes/Plugins via GlotPress
  • rename .mo documents, for example:astra-he_IL.mo(For Hebrew).
Image [9] - Multilingual Translation of Astra Themes/Plugins via GlotPress
  • Rename the renamed .mo File uploaded:
    • For Astra topics:wp-content/languages/themes/
    • For the Astra Pro plug-in:wp-content/languages/plugins/
Image [10] - Multilingual Translation of Astra Themes/Plugins via GlotPress

When finished, your Astra website will automatically display the translated content.

summarize

utilization GlotPress rendering Astra Themes and plugins not only enhance a site'spolyglotsupport and also leverage the power of the community to speed up the translation process. With these steps, you can easily translate the Astra website into any language you need and apply it instantly to your website. By participating in the translation, you can also help other users get accurate translated content faster.

Related articles


Contact Us
Can't read the tutorial? Contact us for a free answer! Free help for personal, small business sites!
Customer Service
Customer Service
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
This article was written by: thieves will be rats and mice courage
THE END
If you like it, support it.
kudos1242 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments