polylang – XTRA Tutorials https://xtratheme.com/docs Documentation of XTRA WordPress Theme Sat, 28 Sep 2024 12:48:41 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.2 How to Change the Website Logo for Different Languages in WordPress? https://xtratheme.com/docs/how-to/how-to-change-the-website-logo-for-different-languages-in-wordpress/ https://xtratheme.com/docs/how-to/how-to-change-the-website-logo-for-different-languages-in-wordpress/#respond Tue, 24 Sep 2024 07:12:08 +0000 https://xtratheme.com/docs/?p=4424

Set a Different Logo for Multiple Languages

Step 1
Xtra
To change the logo for different languages in a WordPress website, you can follow these steps. This method assumes you’re using a multilingual plugin like WPML or Polylang, which allows you to manage different language content, including the logo.
To set separate logos for different languages, string translation is required.

WPML Plugin

  1. Go to WPML > String Translation page.
  2. Scroll down and click on the Translate texts in admin screens > link at the bottom of the page.
  3. Search for the site_logo as you can see in the attached screenshot.
  4. Select the string.
  5. Click on the Add to String Translation button.
  6.  Then click on “« Return to String Translation” link
  7. Add the translated logo ID as translation, you may get the logo ID from

The screenshot below is an example of translating strings in the WPML plugin.

Wpml string translation plus icon

Plylang Plugin

  1. Go to Languages > String Translations in the WordPress dashboard. This page lists all the strings (texts) that you can translate for your site, such as the site title, widgets, menus, and plugin texts.
  2. Use the search box to find the specific string you want to translate.
  3. Polylang automatically detects many site strings (including themes and plugins) and displays them in the table.
  4. Once you find the string, click on the input fields next to the language you want to translate.
  5. Enter your translation for each language.
  6. Click on the Save button.

The screenshot below is an example of translating strings in the Polylang plugin.

Translations table
]]>
https://xtratheme.com/docs/how-to/how-to-change-the-website-logo-for-different-languages-in-wordpress/feed/ 0
Theme Translation & Multilingual https://xtratheme.com/docs/how-to/theme-translation-multilingual/ https://xtratheme.com/docs/how-to/theme-translation-multilingual/#respond Sat, 15 Jun 2024 11:39:58 +0000 https://xtratheme.com/docs/?p=3133

Method 1: Loco Translate (Free)

Step 1

Loco Translate plugin provides in-browser editing of WordPress translation files and integration with automatic translation services.

  1. You can download and install Loco Translate plugin from here
  2. Check out Loco Translate documentation from here

Method 2: PolyLang Translate (Free)

Step 1

With Polylang fully integrated to WordPress and using only its built-in core features (taxonomies), keep steady performances on your site and create a multilingual site featuring from just one extra language to 10 or more depending on your needs. There is no limit in the number of languages added and WordPress’ language packs are automatically downloaded when ready.

  1. You can download and install PolyLang Translate plugin from here
  2. Check out PolyLang Translate documentation from here

Method 3: WPML Translate (Premium)

Step 1

WPML is a plugin for WordPress. Simply put, plugins extend the functionality of the basic WordPress CMS. In our case, WPML makes WordPress run multilingual. WPML lets authors write content in different languages and translate content. It also includes advanced features for translation management and an interface for professional content translation. Using WPML requires no technical or programming skills. Site admins can install it and turn their site multilingual, without any coding. WPML includes a complete API, for integrating with other plugins and translation systems. This way, developers can easily use WPML and turn their products into multilingual.

  1. You can download and install WPML Translate plugin from here
  2. Check out WPML Translate documentation from here

Method 4: Poedit Software

Step 1

Poedit is a shareware and cross-platform gettext catalog editor to aid in the process of language localisation. According to WordPress developer Thord Hedengren, Poedit is “one of the most popular programs” for editing portable language files.

  1. You can download and install Poedit application from here
  2. Check out Poedit documentation from here
]]>
https://xtratheme.com/docs/how-to/theme-translation-multilingual/feed/ 0