Tagged: catch, catch responsive, languages, polylang, responsive, support
- This topic has 10 replies, 2 voices, and was last updated 5 years, 8 months ago by Skandha.
-
AuthorPosts
-
September 12, 2018 at 5:45 am #153789vanchaParticipant
Catch responsive offers a couple of theme features like a promotional headline, but these headlines are only available in one language. Looking at the source code there seems to be support for Qtranslate, but that is abandoned years ago, and polylang is much more popular. Would it be possible to support polylang in the catch responsive theme?
September 12, 2018 at 11:58 pm #153821SkandhaParticipant@vancha: All our themes are translation ready. So even Catch Responsive is translation ready. Please let me know in which language would you like to translate the theme and I will provide you instructions on how to do that.
Kind Regards,
SkandhaSeptember 13, 2018 at 3:22 am #153833vanchaParticipantAlright 🙂
It seems that the theme offers a couple of features, first of all, under site-identity in the customizer, theres the ability to add a site sub title. That subtitle is fixed for any language (the website is in dutch, german and english). I haven’t found a way to make the site’s subtitle dependent on the language.
Then, under ” Promotion Headline Options “, theres the ability to add the promotional headline, promotional subheadline, and a promotional headline button text, all in a fixed language. I was thinking maybe it would be easier if there could be some input fields for those fields for every installed language?
Just a suggestion though, if there already is a way to achieve this that i just overlooked, please share it.
Greetings,
Tjipke
September 13, 2018 at 4:32 am #153838SkandhaParticipant@vancha: The site tagline, promotion sub-headline and promotion headline button text and these have text input areas. User needs to insert the text they want be it any language since the user has control over it. You can inset text in any language in those text areas.
Let me know if this helps you out!
Kind Regards,
SkandhaSeptember 13, 2018 at 7:19 am #153891vanchaParticipantThanks for the suggestion, but the thing i meant, but probably could have worded a bit better, is that yes, you can insert text in any language, but only any ONE language. What happens to the promotional headlines if you switch to another language? Where can i change what needs to be displayed then?
September 14, 2018 at 6:42 am #153956SkandhaParticipant@vancha: As it is user input area, it will remain the same no matter which language you switch to. Do you mean that Promotion Headline should display in a different language when the language is switched?
Kind Regards,
SkandhaOctober 4, 2018 at 3:58 am #155705vanchaParticipantMy apologies for the late response, but yes. That is exactly what i mean. Since the promotional headline is something that is supposed to entice users, it is important for it to be translated when a user selects a certain language for the website.
Just as the site subtitle, for example when your slogan is “Quality assured”, but you only have the option to display it is “kwaliteit gegarandeerd”, it says nothing for people who aren’t dutch.Greetings,
Tjipke van der Heide
October 18, 2018 at 11:09 am #157014vanchaParticipantAnyone has an update on this? I really need it fixed, and i can’t figure out how.
October 22, 2018 at 6:17 am #157286SkandhaParticipant@vancha: Apologies for the late reply. The free version is not WPML ready but the pro version is WPML ready. We cannot assure you theme compatibility with polylang as we have not tested for it. I suggest you to use WPML plugin as it is officially compatible with the pro version of the theme. I suggest you to upgrade to pro.
Let me know if this helps you out!
Kind Regards,
SkandhaApril 4, 2019 at 7:24 am #169244vanchaParticipantAs an update for this question, to people who might also be looking for it, the following code can be placed inside the themes functions.php, when you have polylang installed.
//makes subheadline show up in polylang string translator
if(is_plugin_active( ‘polylang/polylang.php’ ) ) {
if(function_exists(‘catchresponsive_get_theme_options’)) {
$options = catchresponsive_get_theme_options();
if($options[‘featured_content_subheadline’]) {
pll_register_string(‘dedrait_subheadline_’, $options[‘featured_content_subheadline’]);
}
}
}
It checks to see if polylang is enabled, and replaces the featured_content_subheadline with what you set it to be in the polylang string translator.
It might not be the best solution but it works for me 🙂April 5, 2019 at 2:55 pm #169323SkandhaParticipant@vancha: Hello there, thanks for sharing but we do not recommend editing core theme files to customize your site as all those changes will be lost when you update the theme. So to be on the safe we always recommend users to use a child theme whenever editing a core theme file.
Kind Regards,
Skandha -
AuthorPosts
- The topic ‘Multiple language Polylang support’ is closed to new replies.