- How to Install Astra Theme?
- System Requirement for Astra Theme
- What Is a Child Theme and How To Install It for Astra?
- Manually Install Astra via FTP
- How to Update Astra Theme Manually?
- Automatic Beta Updates for Astra
- Astra 4.2.0-beta.1 : Migrations & Backwards Compatibility
- Know More about Astra Beta Versions? How to Download and Use?
- How to Create a Multisite Network and Use Astra Child Theme On It
- Getting Started with Astra Pro Addon Plugin
- What is Astra Pro Add on?
- How to Install Astra Pro Plugin?
- How to Get License Key of Astra Pro?
- How to Activate Astra Pro Addon License?
- Getting error – The package could not be installed. The theme is missing the style.css stylesheet?
- Why Can’t I Access Astra Pro Features After Purchasing the Pro Version?
- Do Not See License Activation Form for Astra Pro Addon Plugin?
- How to Fix “Sorry, You Are Not Allowed To Access This Page” Error In Astra Pro
- How to Manage License on Store?
- How to Renew Yearly License?
- How Do License Upgrades Work?
- How To Update Your Payment Method?
- How to Process Refund Requests?
- How to Apply For Brainstorm Force Affiliate Program? (Become Astra Affiliate)
- Frequently Asked Questions – VIP Priority Support
- How do I check my Support Ticket History?
- How To Create a Header With Astra Header Builder?
- How To Create Mobile Header With Astra Header Builder?
- How To Create a Footer With Astra Footer Builder?
- Why Is My Logo Blurry?
- Astra – Customize the Submenu
- FAQs – Astra Header/Footer Builder
- Elements in Header/Footer Builder With Astra Theme and Astra Pro
- Add Multiple Elements in Header Footer Builder
- FAQs – Astra Header/Footer Builder – Existing Customers
- How to Manage Sidebars in Free Astra Theme?
- Understanding Sidebar Style in Astra Theme: Customizing Your Sidebar’s Look
- Sticky Sidebar
- Scroll To Top
- How to Display a Breadcrumb Anywhere within a Page or Post with Shortcode?
- Find the Way With Breadcrumbs
- How to Change the “HOME” String in Breadcrumbs
- How to Switch From Existing Breadcrumb to New Trail?
- How to Add Breadcrumbs in WordPress Website with Astra
- Blog Overview
- Blog / Archive
- Single Post
- How to Display “Last Updated” instead of “Published” Date
- Display Related Posts on Single Blog Post
- The Recommended Size for Featured Image
- How to remove an Author’s name from a Single Blog Post?
- How to Remove Astra Post Excerpt from the Post Archive
- Add Last Updated or Published Date to Blog Posts
- WooCommerce Integration Overview in Free Astra Theme
- How to Create a Sticky Sidebar for Your WooCommerce Shop Page
- Set WooCommerce Shop Page as Homepage
- WooCommerce hooks
- Display Featured Products instead of Empty Cart
- How to Set the “Review” Tab as the Default Active Tab in WooCommerce
- How to Add Additional Content on the My Account Login Page
- How to Change the Background Color of Product & Shop Pages in Astra?
- Blog Pro Overview
- Blog / Archive with Blog Pro
- Single Post with Blog Pro
- How to Display “Last Updated” instead of “Published” Date
- How to add custom post type with the Astra theme
- Social Sharing
- Featured Image Options for Single Banner Layouts
- Add Post Filter on Blog Archive Page
- How to change “Leave a Comment” string in WordPress
- Astra WooCommerce Mini Cart Shortcode
- WooCommerce Module Overview
- How to Design a Product Catalog Page or Shop Page Using WooCommerce Module in Astra?
- Single Product WooCommerce
- Checkout Page WooCommerce
- Colors & Background Options For WooCommerce
- Typography Options for WooCommerce
- Off-Canvas Sidebar for WooCommerce Shop Page
- Quick View for WooCommerce Products
- How to Disable EDD Inbuilt Styling?
- How to Add Download Archive Pages to the Menu When Using Astra with EDD?
- How to Add EDD Cart in Header? (Old Astra Header)
- How to Display a Mini Cart Anywhere Using Shortcode? (Astra and EDD)
- EDD – Easy Digital Downloads Module Overview
- General – EDD Module Options
- Product Archive – EDD Module Options
- Single Product – EDD Module Options
- Checkout Page – EDD Module Options
- Footer Custom Text Helper Strings
- Does Astra support Beaver Themer Plugin?
- Support Mega Menu for all the Header Builder Menu component
- How To Disable Right Click in WordPress
- Increasing the PHP Memory Limit of Your Website
- How to Resolve Fatal Error: Call to Undefined function ctype_xdigit()
- How to Disable Header or Footer for a Landing Page or Post?
- Where Does Astra Primary Color Setting Take Effect?
- How to Adjust the Width of Your Sidebar?
- How To Translate Site Builder With WPML?
- How to Turn Astra Multilingual with WPML?
- How to Translate Astra Strings with WPML?
- Translating the Advanced Custom Fields with WPML
- How to Turn Astra Website Multilingual with Polylang?
- How to Translate Categories, Tags, and Astra Strings with Polylang
- How to Turn Astra Website Multilingual with TranslatePress?
- How to Translate Astra Theme / Plugins in Your Own Language using GlotPress?
- Translate Site Builder Layouts Using Polylang
- Getting the Most Out of Astra Theme
- How to translate the WooCommerce string?
- How to Change “Add to Cart” button text?
- How Translations can be Manually Exported and Uploaded to the Site?
- Astra theme String Translation for WooCommerce
- How to Use POEdit to Translate Astra Theme and Astra Pro Plugin
- Fix for – The PCLZIP_ERR_BAD_FORMAT (-10) Error
- Host Google Fonts Locally – Performance Is the Key
- Fix for – Parse error: syntax error, unexpected T_FUNCTION
- How to fix Fatal Error / White Screen of Death?
- Fix for- cURL error 51: SSL: no alternative certificate subject name matches target host name ‘websitedemos.net’
- ‘The preview could not be loaded’ Pop Up with Astra and Elementor
- Troubleshooting Steps ( with Health Check & Troubleshooting plugin )
- How to Deal with Update Issues in Astra Theme and Astra Pro Addon?
- Blog Featured Image Size Not Working / Error in Image Processing Library
- How to Change the Default Astra Strings
- Using Hooks in Astra
- How to Change the “Scroll To Top” Icon in Astra?
- Astra Pro WP CLI Commands
- How to Add Custom PHP Code?
- How to Disable the Loading of Astra’s Default Font File? (Astra.woff)
- Disable Featured Image on Posts, Pages, or Other Post Types
- Change Sidebar Widget Title Heading Tag
- Disable Astra’s Native AMP Functionality
- How to Change Website Logo Destination URL
- Remove Primary Navigation Menu with Hook
- Change the Astra Header Breakpoint Width
- How to Disable Primary Header?
- Add Title attribute to Header Background Image as a Substitute for Alt Text
- How to Change HTML tag for Site Title and Tagline?
- How to Change the Heading Tag for the Page/Post Titles?
- How to Change the “Search Results For” String
- Change Placeholder for Search Box (Old Astra Header)
- How to Display “Last Updated” instead of “Published” Date
- How to Change Previous and Next Link Text from a Single Blog Post?
- How to Remove Featured Image Link on Archive Page?
- Filter to Remove Link From Featured Images on Blog Page
- Blog Featured Image Size Not Working / Error in Image Processing Library
- Filters to Support CPTs for Blog Meta and Single Blog Meta
- How To Change Navigation Links Text for a Blog Archive?
- How to Display the Post Category as a Related Posts Title?
- Change “Leave A Comment” title tag
- Change Woocommerce Out of Stock Text
- How to Disable Product Quantity (Plus-Minus) Buttons?
- How to Modify/Change the Quick View text?
- Filter to Add Global Button Settings Support for WooCommerce Buttons
- Change the “Shopping Cart” Text for WooCommerce & EDD Mobile Header Cart
- Fix Woocommerce Cart Becoming Transparent With Header Builder
- Restrict Search Results to WooCommerce Products Only
- How To Hide Quantity Number When the Woocommerce Cart Is Empty?
- Remove Astra Customization for WooCommerce
- How to Add Custom CSS Code Without Editing Theme Files?
- How to Highlight a Certain Menu Item?
- How to Design Bullets & Lists?
- Dim Content on Menu Hover
- How to add custom CSS and JavaScript to Astra theme
- Mobile Breakpoint Causes Issues with Transparent Header Menu Color
- Display Coupon Field on Checkout & Cart Pages
- Fix Swap Sections Not Working on Mobile (Old Astra Header)
- How to Remove Google Fonts Suggestions in Astra Theme?
- Remove default stretched block layout spacing
- How to Change the Logo on Specific Pages?
- How to remove horizontal & vertical gallery layouts from a single product page?
- Introducing New Filter to Enable/Disable Rank-Math Theme Support
- Enable/Disable YouTube videos from Astra admin dashboard
- How to Fix the Line Height Unit being converted to “EM”?
- How to Change WordPress Post labels to Projects
How to Use POEdit to Translate Astra Theme and Astra Pro Plugin
Want to use your WordPress site in a language other than English? You can easily translate the Astra theme and Astra Pro plugin using POEdit, a popular translation tool. This guide walks you through the entire process, from downloading the software to uploading your translated files.
POEdit makes translating WordPress themes and plugins straightforward, even if you’ve never done it before. You’ll be working with translation files that contain all the text strings from Astra, and you’ll simply replace the English text with your preferred language.
What You’ll Need Before Starting
Before diving into the translation process, make sure you have these items ready:
- POEdit software installed on your computer (we’ll cover this first)
- Access to your WordPress site’s file manager or FTP
- The language you want to translate to
- About 30-60 minutes, depending on how much you want to translate
You don’t need any coding knowledge for this process. POEdit handles all the technical aspects, so you can focus on the actual translation work.
Installing POEdit on Your Computer
POEdit is available for Windows, Mac, and Linux. The basic version is free and perfect for translating Astra.
Visit the POEdit website and download the version for your operating system. The installation process is straightforward – just follow the standard installation steps for your computer.
Once installed, open POEdit. You’ll see a clean interface with options to create new translations or open existing ones. We’ll be creating new translation files for Astra.
Finding Astra’s Translation Files
Astra comes with template files that make translation easier. You need to locate these files on your WordPress site.
The translation template files are located in specific folders:
For Astra theme: /wp-content/themes/astra/languages/
For Astra Pro: /wp-content/plugins/astra-addon/languages/
Look for files with the .pot extension. These are template files that contain all the translatable text strings. You’ll typically find files named `astra.pot` and astra-addon.pot.
Download these .pot files to your computer. You’ll use them as the foundation for your translations.
Creating Your Translation Files
Now comes the fun part – actually creating your translation files in POEdit.
Open POEdit and click “Create new translation.” Browse to the .pot file you downloaded (start with astra.pot for the main theme).
POEdit will ask you to select the target language. Choose your desired language from the dropdown menu. This step is important because it sets up the proper language codes for WordPress to recognize your translation.
After selecting your language, POEdit opens the translation interface. You’ll see a list of English text strings on the left and empty translation fields on the right.
Translating Text Strings
The translation process is straightforward but requires attention to detail.
Click on any English text string in the list. The text appears in the source field at the bottom, and you type your translation in the field below it.
Some strings contain special codes like %s or %d. These are placeholders for dynamic content. Make sure to include them in your translation exactly as they appear in the original text.
For example, if you see “Welcome to %s”, you might translate it to “Bienvenido a %s” in Spanish. The %s will be replaced with the actual site name when displayed.
Work through the strings systematically. You don’t have to translate everything in one session – POEdit saves your progress automatically.
Handling Special Translation Cases
Some text strings require special attention during translation.
Plural forms appear as multiple entries for the same concept. Many languages have different plural rules than English, so translate each form appropriately for your language.
Context strings provide additional information about where the text appears. This helps you choose the most appropriate translation. For instance, “Post” might be translated differently if it refers to a blog post versus a job position.
HTML tags sometimes appear within strings. Keep these tags exactly as they are, but translate the text around them. For example, <strong>Important</strong> becomes <strong>Importante</strong> in Spanish.
Saving and Generating Translation Files
When you’re satisfied with your translations, it’s time to save your work.
Go to File > Save in POEdit. Choose a location on your computer and use the proper naming convention. For Astra theme translations, name your file using this format: astra-[language_code].po
For example:
- Spanish: astra-es_ES.po
- French: astra-fr_FR.po
- German: astra-de_DE.po
You can find the language codes from here: Complete List of WordPress Locale Codes
POEdit automatically generates a .mo file alongside your .po file. WordPress needs both files to display your translations properly.
Repeat this process for the Astra Pro plugin using the astra-addon.pot file, naming those files astra-addon-[language_code].po.
Uploading Translation Files to Your Site
Now you need to place your translation files in WordPress’ global languages directories so they won’t be lost when the Astra theme or Astra Pro plugin is updated.
Using your file manager or FTP client, upload the .po and .mo files to the following locations:
- Astra theme translations: /wp-content/languages/themes/
- Astra Pro translations: /wp-content/languages/plugins/
WordPress uses the .mo files to display translations, while the .po files let you edit them in the future.
Activating Your Translations
Your translation files are uploaded, but you need to tell WordPress to use them.
Go to your WordPress admin area and navigate to Settings > General. Look for the “Site Language” option and select your translated language from the dropdown.
Save the changes, and WordPress will start using your Astra translations immediately.
If your language doesn’t appear in the dropdown, double-check that your translation files are in the correct folders with the proper naming convention.
Testing Your Translations
Take a few minutes to browse your site and see your translations in action.
Check different areas where Astra displays text:
- Customizer options and labels
- Theme settings pages
- Front-end elements like buttons and navigation
- Error messages and notifications
If you notice untranslated text, it might be from a string you haven’t translated yet, or it could be from a different plugin or WordPress core.
Making Updates and Improvements
Translation is often an ongoing process. You might want to refine your translations or add new ones as you use your site.
Keep your original .po files handy. You can reopen them in POEdit anytime to make changes or add new translations.
When Astra releases updates, new translatable strings might be added. Check for updated .pot files periodically and merge any new strings into your existing translations.
Troubleshooting Common Issues
Sometimes translations don’t appear as expected. Here are solutions to common problems:
- Translations not showing: Verify that your .mo files are in the correct directory and that WordPress is set to your target language.
- Partial translations: Some text might come from WordPress core or other plugins. Focus on translating Astra-specific strings first.
- Special characters not displaying: Make sure your translation files are saved with UTF-8 encoding in POEdit.
- File permission errors: Check that your web server has write permissions for the languages directories.
What’s Next?
You’ve successfully created translations for the Astra theme and the Astra Pro plugin. Your site now speaks your language, making it more accessible to your target audience.
Consider sharing your translations with the Astra community other users might benefit from your work. You can also explore translating other plugins and themes using the same POEdit process.
For additional help with Astra translations or other customization questions, visit the Astra documentation or contact our support team. We’re always happy to help you get the most out of your Astra-powered website.
We don't respond to the article feedback, we use it to improve our support content.