Woocommerce coupons that have a restriction to apply to one or more products, when applying the restriction in the coupon configuration, do not work in the secondary language, they only work in the primary one.
What exactly happens is that when trying to pull up the list of products in “coupons/usage restriction/products” no secundary language products appears, only primary language products appears.
Is there anything that can be done? Thank you.
]]>Jupiter6 + Polylang does some issues, the language menu doesn’t roll down (there is an option in menu to do that and it doesn’t work). Any solutions
]]>Hi,
With the upcoming WP 6.7 (currently in beta) a PHP notice is thrown if load_plugin_textdomain() is not loaded in “init” hook:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the polylang domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in wp-includes/functions.php on line 6099
Could you fix it? Thanks!
]]>Hi everyone,
I’m translating a website in 5 languages. Two are chinese. But when i translate page title in chinese with chinsee characters. But i don’t read (and no more speak) chinese. So, is it possible to have english page title in backoffice then in the pages tree but in chinese on the front office ?
Thanks
]]>I use GenerateBlocks and would like to make individual widgets in the footer multilingual. But that doesn’t seem to be possible. Am I doing something wrong or can the plugin not do that?
]]>Something has changes recently, when choosing “show all languages” in admin, posts and pages listings only show records for the users defined language or the default language is that language is not part of Polylang. It does not show all language pages, you actually have to choose the specific language to see the other language. So “show all languages” only shows English language pages for me and does not show Italian language pages, I have to choose Italian from the admin bar to view them. This was not the case before.
]]>Polylang is breaking sites that use Brizy, the show all white, no content displayed even when published.
example https://v2.alvarezcarmona.com/
I have deactivated all plugins, except Brizy ones, and the one that breaks it is definitely Polylang.
]]>Is there any way to display different logos depending on the current language?
]]>hi,
i am using a wordpress block theme with several different templates for archives, e.g. for category archives.
the category archive will always show the template elements of the primary language, as i set up in the category archive template.
since it is not possible to set up more than one template for category archives, how i can set up the category archive template in a second and a third language?
We started developing a new WordPress theme for a Swiss website. Currently, we use Schweizerdeutsch (de-CH) and British English (en-GB). This seems to works well on the staging server. But as I tried to add Swiss French (fr-CH) as a third language, I did not find it in Polylang’s “add language” dropwdown.
Is this a bug? Are some languages only officially supported in the PRO version?
How can I add a custom language that is not present in the default dropdown?
Is it a valid workaround to patch Polylang’s code and just add fr_CH
?
We use the free version of PolyLang to maintain different language versions of our site.
It works for the static pages and the blog posts.
However it does not work for the English strings in the plugin bbPress, despite the fact the .mo and .po files are present in the system directory.
Now change the language using the language bar to French.
Now click “Forums”. We see the English strings of “Profile”, Forum, Topics, Posts, Last Post, weeks, days ago etc. are not translated. Also the /fr/ part of the URL disappears.
We have gone to Language->Settings and turned on custom post types for forum, posts and replies, but that does not help.
If you can help solve this problem, we could buy the Pro version.
]]>I have the widget language switcher in the header of my site in the dropdown.
Sometimes it works and sometimes it doesn’t.
Is there a bug? How do I fix it or debug it?
]]>I have english set as the default language.
And I’ve added it to the menu with the language switcher- the flag is not showing for English.
But it is showing for Hebrew.
How can I make the flag show for english?
]]>Polylang 3.6.4
Permalinks keep breaking. My homepage becomes a 404 until I re-save Permalinks, then after a while they break again.
I see others have had this issue. (FYI, Yoast SEO is not active on this site — which I see was an issue for some.)
Does anyone have a remedy for this? We discovered this issue yesterday, at which point I updated Polylang to the latest, 3.6.4, and re-saved Permalinks. Fixed.
And yet, after several hours Permalinks break again!
Advice appreciated,
Mark
]]>Hello everyone,
I’m experiencing an issue with Polylang when trying to display the correct homepage for different languages. Here’s the situation:
I have two custom templates:
Issue:
Steps I’ve taken:
template_redirect
and pll_current_language()
but either both languages load together, or nothing is displayed.What I need:
Any suggestions on how to properly load the respective templates for each language without mixing the content or overriding templates?
Thank you for your help!
]]>i set up a wordpress block theme site. as my homepage is a static site in german, i definded the pages for the english and french versions of the homepage. i know the procedure –?in the right column of the page editor i can select the page for the english and french translation of the homepage and then save the page. but polylang/wordpress does not seem to save the connection between the language versions of the homepage – each language version exists, but i cannot save the connection between them.
on the front end when i am on the german homepage and hit the english button, i get the content of a completely different english page; strangely with the layout of the german website template and the url is https://www.mywebsitetitle.de/en/. the same happens in french (content of a different french page and the layout of the german website template).
all other connections between german page and its english and french tranlated pages/posts are working ok – the problem only exists with the homepage and its two translation pages.
thanks in advance for helping!
]]>Hello! I am having issues with translations on my website and I couldn’t solve all the problems.
Site language: English
Alternative language: Chinese & Bahasa Melayu
WordPress Version: 6.6.2
Polylang Version: 3.6.4
Page builder: SiteOrigin version 2.29.22 (both Activate and Deactivated are tried)
Other plugins: All Deactivated
Permalinks structure: https://123.12.111.12/sample-post/
static front page: YES
Preferred URL format: https://123.12.111.12/ms/perkhidmatan
I have tried both remain /language/ and remove /language/ in the permalink. However, both ways are redirect second language pages to 404 page.
REMOVE /language/ in the permalink
==========================
Polylang settings:
1. The language is set from the directory name in pretty permalinks
2. Hide URL language information for default language
3. Remove /language/ in pretty permalinks
4. The front page URL contains the language code instead of the page name or page id
Result:
https://123.12.111.12/ms – failed
https://123.12.111.12/ms/perkhidmatan – failed
REMAIN /language/ in the permalink
==========================
Polylang settings:
1. The language is set from the directory name in pretty permalinks
2. Hide URL language information for default language
3. Remain /language/ in pretty permalinks
4. The front page URL contains the language code instead of the page name or page id
Result:
https://123.12.111.12/language/ms – failed
https://123.12.111.12/language/ms/perkhidmatan – OK
I apologize for the long ticket. I hope someone can help me figure this out.
Thank you so much for your time in advance
]]>Hi Team,
I tried to select the Hmong language, but it was not available in the dropdown. Could you please let me know how I can choose Hmong as a language? Is there any option to enable it? I am unable to find Hmong in the list of available languages.
Thank you for your assistance!
Best regards,
John
Hello – I am running two different sites, both with Polylang installed.
I would like to migrate some of the articles from one site to the other, but using the default import utility the language is not recognized, so I am unable to correctly replicate the content. I would appreciate any hints to accomplish this.
TIA for your attention and best regards
Andrea
]]>We have had this problem since a long time and cannot find a solution.
On our default language site the logo in the header links to the correct page, EN home page, “/”. All of the other languages point to the same page. If you are on the FR (french) site and click on the logo, you should en up on “/fr/”, and on italian “/it/”.
These are my settings:
We need to keep how it is above, I cannot change the URL structure. I have tried to modify ?the home_url() function with site_url()?in theme but no luck.
Thanks
]]>Hi, i need create a page with two languages (EN and AE). Whe i install the plugin i cannot find the United Arab Emirates language in the setup selection.
How can i add this language?
Hi,
Our website, https://canadasoccer.com/, is the official website of the Canada Soccer Association, which has a vast number of visitors daily. We’ve been experiencing the issue of language switcher on pages/posts for a while. It’d be great if you could help us resolve the problem.
I’ve recorded a video about the issue and uploaded it via WeTransfer so you can better understand what’s going on. Download link: https://we.tl/t-8NAitiVq8p
The WordPress EN-FR “bug” is:
We build page/post in English
Then + create French page
But then after “quick edits” the French page, the Language switcher automatically switches to “EN”, instead of keep on “FR”.
Our coworkers, who didn’t notice the unexpected change of button name, go save the edits of French page, later found the website lost the French page.
They had to recreate everything to ensure the English and French pages were connected. If they only recreated the French page, English and the new French would lose bonding/ linking relationships.
The disappointing feeling keeps going…
If they click “Edit” instead of “Quick Edit,” there would be no issue. However, whether you make a full Edit or a Quick Edit, it shouldn’t be switching a French story to English. Can we debug/ resolve this?
Thank you so much and looking forward your reply,
stephanie
Hi there!
I have been a Polylang user for many years and never had any problems with multilingual sites, but recently I have been working on a project for multilingual site that uses premium LMS membership plugin Memberpress and its addons MP Courses and MP Quizzes within DIVI Theme. I have setup many multilingual DIVI pages with no problem, but the problem I encountered is setting up MP Courses pages (LMS system).
So, I have setup Custom Post types within Polylang settings, so I am able to have a separate courses pages for Slovenian courses/webinars page (https://mil.casoris.si/spletna-ucilnica/ – SLO is primary language) and English courses/webinars page (https://mil.casoris.si/en/spletna-ucilnica/). I was able to translate a webinar to ENG along with the quiz as you can see here: https://mil.casoris.si/en/spletna-ucilnica/how-to-read-and-understand-the-news/ … Intro, Content and Conclusion of the webinar work just fine, but the Quiz and Questionnaire do not open correctly (404 page). Now, MP Quizzes addon works together with MP Courses, but for some reason the URL does not work and it does not open.
Now, if I change Polylang URL modifications setting to “The language is set from content” then Quiz works just fine, but my question is how I can make it work with the current option “The language is set from the directory name in pretty permalinks”? I wrote to Memberpress support but they were not able to help because they do not support Polylang and multilingual sites in general.
So, I was wondering if you could possibly help me with this issue that is causing me headaches? Everything else works just fine on the website https://mil.casoris.si/ as you can see for yourself.
Please let me know ASAP. Thanks!
]]>So, after installing Polylang and Connect Polylang for Elementor on a website built with Elementor Pro page builder, the filtering widget for custom post type posts has simply stopped working. Everything else on the site functions perfectly, but this option is just not possible. Even though the filters and blog posts appear on each version of the site (in terms of language), when attempting to select a specific category, nothing happens. A 400 (Bad Request) error appears in the console. Can anyone help me resolve this issue? Thank you in advance!
]]>Hello, we would like to ask whether it is possible to remove or deactivate the pll_language cookie in relation to the GDPR requirements?
There are solutions here that also work by adjusting the wp-Config, but it is necessary to deactivate all cache functions of WordPress. However, we urgently need this.
According to a judgment, however, the cookie does not seem to be purely system-relevant, but is evaluated as content to be blocked, which then makes it necessary to use a consent tool, which we would like to avoid.
> Is there another solution or can you integrate it directly into the plugin?
Many thanks and best regards
]]>Hi Polylang Team,
I’m currently exploring Polylang as a potential replacement for TranslatePress, and I have a few key considerations and questions:
Any insights you can provide would be greatly appreciated as we evaluate Polylang as a potential solution for our multilingual website needs.
Thanks in advance for your help!
Endrit
Everything worked and then at one point it stopped, it gives an error “Uncaught TypeError: Failed to execute ‘observe’ on ‘MutationObserver’: parameter 1 is not of type ‘Node'” in the media, the pictures do not load (are not displayed). And if you select the list display, then it opens.
jQuery.Deferred exception: Failed to execute ‘observe’ on ‘MutationObserver’: parameter 1 is not of type ‘Node’. TypeError: Failed to execute ‘observe’ on ‘MutationObserver’: parameter 1 is not of type ‘Node’.
at HTMLDocument. (https://wp.ocean-agency.com.ua/wp-content/plugins/polylang-pro/js/build/post.min.js?ver=3.6.4:1:1192)
at e (https://wp.ocean-agency.com.ua/wp-admin/load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2:27028)
at t (https://wp.ocean-agency.com.ua/wp-admin/load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2:27330) undefined
ncaught TypeError: Failed to execute ‘observe’ on ‘MutationObserver’: parameter 1 is not of type ‘Node’.
at HTMLDocument. (post.min.js?ver=3.6.4:1:1192)
at e (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2:27028)
at t (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks&ver=6.6.2:2:27330)
Hello.
I can’t get the newsletter plugin to translate the forms completely. The placeholders are not translated and are always displayed in German. I also have no option to customise them under “Languages/translations”.
]]>Hi!
I’m facing an issue where Polylang doesn’t recognize taxonomies and custom post types (CPTs) registered through JetEngine by Crocoblock. While standard WordPress taxonomies and CPTs are detected, those created with JetEngine don’t appear in Polylang’s string translation settings.
I’ve tried using different methods, but it doesn’t seem to help. Please consider, that WPML handles these JetEngine taxonomies and CPTs without any issues, making them translatable.
Questions:
Any guidance would be appreciated!
Thanks,
J
I have a blog in 2 languages:
Brazilian Portuguese (pt-br)
English
I have identified some problems with Mismatched hreflang and HTML lang declarations.
Instead of having the pt-br language in the hreflang, it only has pt.
I currently use the Polylang plugin to use multiple languages ??on my blog.
I have tested the Polylang configuration, deactivated and activated the plugin, but the problem continues to occur.
What can I do?
Code snippet where the lang and hreflang are incompatible:
<html lang="pt-BR" prefix="og: https://ogp.me/ns#" data-lt-installed="true"><head><script src="https://pagead2.googlesyndication.com/pagead/managed/js/adsense/m202409230101/">
<link rel="alternate" hreflang="pt">
<link rel="alternate" hreflang="en">
My configuration:
]]>