215 questions
2
votes
2
answers
148
views
Changing Footer Page in Wordpress according to Language set by Polylang
My theme (Novo Theme) lets you create pages as footers.
I created a footer in German and one in English and linked them in polylang.
In Polylang Settings > Custom post types and Taxonomies I ...
0
votes
1
answer
155
views
Rewrite rules breaking Wordpress Elementor page edition / Polylang
I have a Wordpress website (not publicly open for the moment, I'm finishing the dev).
I'm using Wordpress 6.7.2, Elementor Pro 3.28.2, Polylang 3.6.7.
I have some issues with my rewrite rules (...
1
vote
2
answers
339
views
How to translate the header in Wordpress using Polylang and Editor
I have just finished translating my personal website into French, English and Greek using the Polylang plugin in Wordpress.org, following this method described here: https://stackoverflow.com/beta/...
0
votes
0
answers
34
views
nodeByUri returns null in GraphQL when Polylang "Translate Archive" is enabled
I have a headless WordPress setup with the following stack:
Backend:
WordPress Bedrock
Sage 10
WPGraphQL
Polylang Pro
Frontend:
Next.js
Faust.js
I have a custom post type (CPT) called "...
0
votes
1
answer
89
views
Polylang language switcher appears twice
I'm trying to put a Polylang language switcher in PHP to appear in the header of a webpage with a shortcode. I get the switcher where I insert the shortcode, but also appears at the top of the webpage....
0
votes
0
answers
27
views
problem with Polylang flag in my English pages
I have a problem with Polylang flag in my English pages.
Wordpress is installed locally, I first call up the German page and now want to switch to the English page
suddenly the DE flag is displayed ...
0
votes
1
answer
50
views
How to overwrite default block theme for blog posts page
We have a block theme and a child theme.
The block editor also allows to create themes to be saved on database, not physically on the disk (on theme folder).
And the theme we use seems to be created ...
0
votes
0
answers
71
views
WordPress "Polylang", wrong URL direction
Here's the problem:
I'm using the "Language Switcher" plugin by Polylang in WordPress, and I'm repeatedly being redirected to the wrong URL (website). I duplicated the main page and the menu ...
0
votes
1
answer
65
views
Polylang Removes Slash from French Product URLs (e.g., /frproduct-name/ instead of /fr/product-name/)
I’m using Polylang on my WordPress site, but only French product URLs are losing their slashes on load. For example, https://www.lasercutter-vergleichen.de/fr/product-name/ changes to https://www....
0
votes
2
answers
206
views
Send Email Notification given the language in which the order was placed
I am working on sending email notifications in the language in which the order was placed, using Polylang. Currently, my email notifications are sent in the language of the user who triggered these ...
1
vote
0
answers
80
views
Prepend URLs with directory if a language is selected (Polylang Synced Pages)
I'm using Polylang on a WordPress page where there are multiple languages and translated pages.
There are two languages who are very similar (90% the same) but a few pages are different, therefore I'...
0
votes
2
answers
133
views
Translating a custom user role name in WordPress
I created a custom user role in WordPress:
add_role('warehouse', 'Warehouse', get_role('administrator')->capabilities);
How to add translations for the role name so that it shows up in admin ...
0
votes
1
answer
155
views
How to use Polylang with posts index homepage
I have my WP homepage set to show "latest posts" in the Reading settings, not a static page. I would like to keep this (for the theme's templates reasons). How do I get the /en version of ...
1
vote
0
answers
52
views
Polylang assignation id
While i working on my wordpress site, i made a small mistake to duplicate content.
Once page has been assigned to other language content origin in former content ,after copy new content detect former ...
0
votes
1
answer
601
views
Polylang & WP-All Import WooCommerce Plugin Compatibility
I'm trying to make WP All import WooCommerce add-on to work with Polylang and its WooCommerce add-on, but without any luck.
I came across this post here
WP All Import Pro: Polylang compatibility
But ...
0
votes
1
answer
399
views
The language is set from different domains with Polylang
I have a WordPress website with a Polylang plugin for multilingual. I want to set different language to different domain. That's why I selected The language is set from different domains option.
...
2
votes
1
answer
643
views
Polylang Pro Causes 404 When I modify URLs
I use Polylang Pro plugin on my Wordpress website and it works well but when I change the permalinks settings or sometimes add a new CPT it causes 404 on the secondary language pages.
After I go to ...
0
votes
0
answers
227
views
Polylang for WooCommerce - next emails translation issue
Thats my first time with Polylang plugin for Woo. Ive translated everything which is necessary Ig we are talking about e-mails, for sure. Our shop is designed to buy without creating account so if ...
1
vote
0
answers
318
views
Different Footer To Different Languages In Wordpress, forminator, polylang
I developed my website using WordPress without coding...
I used the Astra template and made it multilingual using the Polylang plugin
The problem is in the footer of the site. I have a form, which I ...
1
vote
2
answers
1k
views
Set in WooCommerce a sequential order number with country and year prefix
I need some advice on how to proceed with the following implementation. For my site in multiple languages that uses Polylang as a plugin, I would need to have separate and consecutive numbering for ...
0
votes
1
answer
267
views
WordPress Polylang Pro translate slugs in English
I'm using Polylang Pro. I have a page with two languages, Dutch and English. I’m trying to translate the slugs of my English pages, which I have set in the Translations page under Languages. Under ...
-1
votes
1
answer
772
views
After changing any setting in Woocommerce plugin I get Error 404 Page not found for every page from menu (except main page)
Hello I have Wordpress 6.4.2 and Woocommerce 8.4.0 and basically after any change in Woocommerce settings (for example just changing Settings->General->Thousand separator from , to ') and saving ...
0
votes
1
answer
149
views
WordPress Polylang display all pages on the blog
I have a problem with polylang pro - it displays all pages as a blog - if the module is disabled it is ok.
I will add that I don't have a blog on wordpress - I don't have an assigned page.
enter image ...
0
votes
1
answer
445
views
How to remove /category/ from URL (wordpress + polylang)
I am using the Polylang plugin and want to remove /category/ from the URL.
Before I installed the plugin, I used this:
add_filter('category_link', function($a){ return str_replace( 'category/', '', $a ...
2
votes
1
answer
157
views
Filter Membership Plan Title and Slug
I would like to filter the titles of my WooCommerce Memberships plans depending in the current language (using PolyLang). The following works on the back end, i.e. I can see that the membership plan ...
0
votes
1
answer
701
views
Footer in multiple languages free WordPress
I'm trying to figure out how to create a footer that changes from english to spanish. I'm working with the astra theme and the polylang plugin which both let me create all the pages and menus with the ...
1
vote
0
answers
32
views
Goods are not displayed from Woocommerce with AJAX-request in a non-default language
I have a wordpress site with woocommerce and polylang plugins. I need to filter products by category. For the default language, everything works correctly. But products are not displayed in another ...
4
votes
1
answer
588
views
Polylang version 3 has a bug and it is incompatible with Advance Custom Field (ACF)
Polylang version 2 is working well with Advance Custom Field (ACF)
I want to update my website and use the latest version of Polylang which is version 3.3.3
in this situation I can see a bug in ...
2
votes
0
answers
410
views
Polylang & CPT UI: translate label name
The problem is:
I need to translate custom posts and taxonomies names which is not available on the edit or create GUI of CPT UI. I thought maybe it was a feature of the Pro version but the ...
0
votes
0
answers
49
views
An script for automatic page creation per term
My site is such that it introduces the devices and displays their specifications (something like WooCommerce but without the ability to buy),
I have 2 Post-Types named "Devices" and "...
1
vote
1
answer
3k
views
Problem with menu in Polylang / WordPress (Twenty-twenty-three theme)
I've set up all translations and menu after Polylang install.
In site theme editor I see correct menu (including pages from menu and language switch), but on front-end I see just list of pages (incl. ...
0
votes
2
answers
2k
views
How to set different product images for different languages in multilingual WooCommerce and polylang website?
I have a multilingual website using woocommerce and polylang pro and polylang for woocommerce add-on.
Due to a number of reasons, I want to set different product image for different languages . For ...
0
votes
1
answer
584
views
Impossible to add a new language
After a clean install of Polylang (v 3.3.1) on Wordpress (6.1.1 up to date), I can add any language via the 'Add a new language' button.
The error message is : impossible to add an new language.
It is ...
1
vote
1
answer
356
views
Polyland Wordpress Output a drop-down list headed by the current language
I want to create a drop-down menu in my site header. I use this code:
<ul class="lang" id="top-lang">
<li class="pll-parent-menu-item"><a href="#...
1
vote
1
answer
148
views
Different languages for one country instance on Wordpress
I have very specific question.
We need to create multilangual site on Wordpress with the custom permalink structure. It should be like that:
/ - homepage /es-es/ - Spain and Spanish language /es-en/ - ...
3
votes
0
answers
716
views
Is there a way to translate products in woocommerce with Polylang, but without duplicating them?
I have a wordpress installation with a woocommerce and free version of Polylang plugin. With polylang i can translate, for example, pages and posts - it creates a separate page for some kind of ...
0
votes
1
answer
260
views
Polylang on Wordpress site built with Timber won't switch author bios
I have a Wordpress site built on Timber/twig that uses Polylang to show different posts based on the language.
The posts show fine in the different languages, but the author bios that are loaded with:
...
2
votes
0
answers
11k
views
Polylang language switcher as a shortcode
I am using Polylang and I want to put the language switcher next to logotype and cart icon on mobile header. Polylang gives the php code that I can add to the template, but I want to add it as a ...
1
vote
1
answer
2k
views
Polylang redirects to homepage when translation post not found - WordPress
If the translation of the post is not available, Polylang redirects to the home page.
Could the redirect be avoided or show previous post?
Thank you.
0
votes
1
answer
637
views
Wordpress Polylang adding pll_e breaks HTML
i'm using polylang to translate my blog site along with loco translate. i'm manually adding string translations which was working fine with get_theme_mod parts, but there is a place that i want to ...
0
votes
1
answer
1k
views
Archive Page Template returns posts instead of page content on Polylang second language
I have an issue with Polylang and custom archive page template. On my main language my archive page shows page content but on second language it starts looping trough posts.
<?php
/* Template Name:...
0
votes
1
answer
475
views
Polylang Pro Wordpress plugin file not found error on live server
I am working on a Wordpress website that uses the Polylang Pro plugin and has a file called polylang-custom-string-translations.php which has the following code:
pll_register_string('info', 'Info');
...
0
votes
1
answer
2k
views
Wordpress Polylang plugin: Problem with transferring categories to duplicated posts in Polylang
I am using the plugin Polylang in WordPress and trying to do the following:
The Goal
Avoid the default behaviour of Polylang of creating category translations when a post gets duplicated using ...
0
votes
1
answer
946
views
Querying with language filter in Gatsby GraphQL from Wordpress with polylang returns null
I work on a website that is build with Wordpress as a headless CMS and I connect it to Gatsby with WPGraphql. Everything worked fine until I tried to add polylang plugin in order to make it ...
0
votes
1
answer
2k
views
Is there a way to check the language of a page or a post in wordpress?
I am using a WP 6.0 with Polylang plugin. So there are english pages and german pages. I want to show or hide some block depending on a language of the page. I know about such built-in functions in WP ...
1
vote
0
answers
915
views
Show existing post if no translation instead of going to home page in polylang
I'm using Polylang to support multiple languages on my site. Right now, if I'm on a post that say is in English and if I click a flag for which it has no translation (e.g. French), then I get taken to ...
0
votes
1
answer
926
views
Gatsby i18n: How to avoid creating pages for all locales?
I use gatsby-plugin-react-i18next and WP Polylang for multilanguage site with headless WordPress + gatsby.
The logic is that for pages that haven't translate version in WP Admin I just redirect user ...
1
vote
1
answer
763
views
How to implement Polylang functions in my theme's php file?
I am translating a site with Polylang that was created by someone else using a custom theme. Some strings couldn't be found by Polylang, so I need to manually register them for Polylang to see. Now, ...
0
votes
0
answers
537
views
Polylang - Post to use both languages
I have Polylang Pro, bought it thinking that i can set 2 languages in one post. Unfortunately i cant.
I have several woocommerce products/categories, and they do not require translation. I want the ...
1
vote
2
answers
811
views
Using Wordpress add_rewrite_rule with Polylang plugin
I am using this code to add rewrite_rule for Wordpress to create Child posts For another post type
add_action( 'init', function() {add_rewrite_rule( '^property/(.*)/units/([^/]+)/?$','index.php?...