Themler Language Switcher does not work...

Samuele
13 Posts
Samuele posted this 24 June 2017

Hi,

I am working on a WordPress two languages website and I am using 'Loco' as a localization Plugin and 'Polylang' for the actual translations of content and articles.

I have a problem with the Themler language switcher, whenever I try to switch from one language to another nothing happen... the URL that I get whenever I click a language on the switcher is www.mywebsite.com/#/ and off course the language does not switch to en, it, de, fr, etc..

Is there anything I am missing or doing wrong?

Thanks
Sam

Hi, I am working on a WordPress two languages website and I am using 'Loco' as a localization Plugin and 'Polylang' for the actual translations of content and articles. I have a problem with the Themler language switcher, whenever I try to switch from one language to another nothing happen... the URL that I get whenever I click a language on the switcher is www.mywebsite.com/#/ and off course the language does not switch to en, it, de, fr, etc.. Is there anything I am missing or doing wrong? Thanks Sam
Vote to pay developers attention to this features or issue.
3 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 26 June 2017

Hi,

We're aware about this issue. It should be fixed in the future Themler updates.
In the meantime you can use non-Themler language switcher. It should work ok.

Thank you,
Olivia

Hi, We're aware about this issue. It should be fixed in the future Themler updates. In the meantime you can use non-Themler language switcher. It should work ok. Thank you, Olivia
Samuele
13 Posts
Samuele posted this 28 June 2017

Ah ok... thank you for the information.

I do have another question concerning a multi-language website. When I translate a page using Wordpress plugins I can translate only whatever content is inside the 'Content&Sidebar' section of a page. My issue is that I have other contents outside the the 'Content&Sidebar' section that I have to translate... contents such as text inside the Header- Main Slider of my home page and other customized sections that I built using Themler...

How do I translate the contents that are outside the 'Content&Sidebar' section? Do I have to create a complete new template for the other languages?

Thanks
Samuele

Ah ok... thank you for the information. I do have another question concerning a multi-language website. When I translate a page using Wordpress plugins I can translate only whatever content is inside the 'Content&Sidebar' section of a page. My issue is that I have other contents outside the the 'Content&Sidebar' section that I have to translate... contents such as text inside the Header- Main Slider of my home page and other customized sections that I built using Themler... How do I translate the contents that are outside the 'Content&Sidebar' section? Do I have to create a complete new template for the other languages? Thanks Samuele
Support Team
Support Team posted this 29 June 2017

Hi,

The text outside the CMS content area is a part of the theme. Existing translation plugins (except the plugins which translate text on fly like google translate) cannot translate static theme elements. This is correct behavior.
I don't know how the translation plugin you're using translates the text. But if there is a way to translate the text using native WP translation function you can try the following solution to wrap the static text into WP translation function:

  1. use CMS Code control for all texts that should be translated
  2. insert all texts wrapped in translation function:
    <?php _e('text-to-translate', 'text-domain'); ?>
    For example:
    <h2><?php _e('Hello World', 'default'); ?>!</h2>

Yopu will need to do it for all static theme texts that you want to translate. The text formatting cam be configured under the control's settings on ribbon >> more Styles.

Thank you,
Olivia

Hi, The text outside the CMS content area is a part of the theme. Existing translation plugins (except the plugins which translate text on fly like google translate) cannot translate static theme elements. This is correct behavior. I don't know how the translation plugin you're using translates the text. But if there is a way to translate the text using native WP translation function you can try the following solution to wrap the static text into WP translation function: 1. use CMS Code control for all texts that should be translated 2. insert all texts wrapped in translation function: `<?php _e('text-to-translate', 'text-domain'); ?>` For example: `<h2><?php _e('Hello World', 'default'); ?>!</h2>` Yopu will need to do it for all static theme texts that you want to translate. The text formatting cam be configured under the control's settings on ribbon >> more Styles. Thank you, Olivia
You must log in or register to leave comments