Questions tagged [plugin-polylang]

Please note: Support questions for this plugin are off topic. You should follow the plugin's support route for assistance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
15 views

WordPress pagination error when using ACF CPT rewrite slug & Polylang CPT slug translation

I use WordPress with Polylang PRO and ACF PRO plugins. Using ACF PRO I've created CPT with post_type 'aktualnosc', with rewrite slug 'aktualnosci' (same slug as page name (with posts list)). I also ...
NetPax's user avatar
  • 11
0 votes
0 answers
36 views

make my custom theme support polylang plugin

I created my own custom theme with wordpress and now I want to add english language to my site (defualt is persian rtl). for this I installed polylang. I create menu in wordpress like this: functuions....
Alipvd's user avatar
  • 3
1 vote
1 answer
37 views

Translating the "Everything" filter menu in Quicksand jquery file

I have been using QuickSand Jquery to display my WordPress portfolio. Everything is working well. I just added the polylang plugin and would like to be able to translate the first item of the filter ...
made leod's user avatar
0 votes
1 answer
42 views

Redirect WordPress multilingual website to the domain

I used Polylang plugin to add multilingual system to my website. But I have removed the Polylang and the multilingual system. I want to redirect these multilingual website to my domain. Instead of ...
user239456's user avatar
0 votes
0 answers
22 views

Problem after redirect homepage to /en/

My homepage site URL was like this: example.com and example.com/en/ then i want my homepage always have /en/ so i add this code to my function.php but after 1 month my website lost icon when i search ...
Dat Hoang Tien's user avatar
0 votes
0 answers
18 views

WordPress Polylang can only use one language

I am using Polylang in WordPress to construct my site. It worked perfectly for the first half year, while I was not actively updating the site during the time. The second language suddently not ...
Yun Chen's user avatar
0 votes
0 answers
20 views

Insert attributes names according to language with polylang programmatically

This is my problem. I try to insert in _product_attributes meta_value field the names of each language. When I print out my query, I am getting only the products in the right language, so ...
Rich's user avatar
  • 1
0 votes
0 answers
28 views

Rewrite rules are chosen inconsistently

I am trying to get some rewrite rules working with Polylang and I'm using the Rewrite Rules Inspector plugin to inspect the rules. Different rules are applying in different environment: my local ...
Dylan's user avatar
  • 113
-1 votes
1 answer
329 views

Separate Sitemaps for Each Language with Polylang and Yoast SEO

I have a WordPress website with two essential plugins, Polylang for multilingual support and Yoast SEO for sitemap generation. Currently, the sitemap can be accessed through mysite.com/sitemap_index....
user234026's user avatar
0 votes
2 answers
2k views

Duplicate Slugs on multilingual site (with Polylang)

I have been using the "Polylang" plugin to translate my website. The original page has the URL "mysite.de/about-us". The translated page should have the URL "mysite.de/en/...
Justin's user avatar
  • 1
0 votes
0 answers
426 views

Polylang: Custom post type archive doesn't show in both languages

I am trying to create an archive page for a custom post type which is not translated. All posts in this post type need to be shown regardless of the language and the content doesn't need to be ...
asiboe's user avatar
  • 1
0 votes
0 answers
10 views

Multilingual Wordpress site restructuring, advice needed

My current situation: A Wordpress blog in two languages: my native language + English. Setup with Polylang as follows: ‘www.domain.fr’ and ‘www.domain.fr/en’. The issue: The complexity of ...
S. Tanghe's user avatar
0 votes
1 answer
574 views

Wordpress + Polylang - Error 404 when trying to preview draft post on different language

So, i installed Polylang and the problem I am facing is related to the post preview function on my WordPress website. When I preview a post on different language than default, it takes me to a 404 ...
moqer109's user avatar
1 vote
0 answers
81 views

WP/WooCommerce multisite with polylang, product duplication between websites [closed]

I am looking for a way to duplicate products between multisite websites with one of the websites working as a master for product management (this is no the main site but one of the subsites). The ...
user223971's user avatar
1 vote
1 answer
49 views

Should I include colon in my msgid in PO file? [closed]

Which of the below is recommended when creating msgid a PO file? msgid "Available Balance:" or msgid "Available Balance"
ratib90486's user avatar
0 votes
1 answer
166 views

Translate website without duplicate custom post

I have a website where anyone can post jobs from frontend. The jobs pages are rendered by custom archive and single pages in my custom theme. I want the website to be multi language with switcher. The ...
Caslaru Ion's user avatar
0 votes
0 answers
447 views

String translation for esc_html__() when registering string [closed]

I am trying to translate the string 'Home' in wordpress that is registered as an esc_html__(). This is the code registering the themes functions.php: if(!function_exists('gem_breadcrumbs')) { function ...
pointydrip's user avatar
0 votes
1 answer
524 views

Polylang : Display term archive even if no posts

I use ACF to customize taxonomy term archives pages which are in fact Team member pages. Pages are translated with the help of Polylang. Problem is : If the member has no related posts, I can access ...
Guillaume Gautier's user avatar
1 vote
0 answers
479 views

What to write in the htaccess in order to detect browser language and point accordingly?

On short: I use Polylang plugin for my web but it's option to detect browser language won't work because I need to use cache in the whole site, including the homepage. I have a bilingual website (...
Ernest's user avatar
  • 53
1 vote
1 answer
321 views

Custom post ui plugin & WP_Query - Polylang

I used to have a multilingual website translated with Qtranslate but now I am changing this to Polylang. I had a wp_query (below) that was working fine and when converted to polylang shows that no ...
Xavier.W.'s user avatar
0 votes
1 answer
1k views

Filter language in Polylang for custom taxonomy

I'm trying to filter custom taxonomy by language. To achieve this, I use WP_Query class with the following arguments: $args = array( 'post_type' => ['post', ...
JCV's user avatar
  • 21
0 votes
1 answer
909 views

Translate Post date (month) of china language

How can I translate with the date output format like this: AUG 2020 with php wp or my wordpress site is currently using the polylang plugin. Please help me, thank you.
River's user avatar
  • 3
0 votes
1 answer
849 views

different domains disabled in polylang

Short: In Languages -> Settings -> URL modifications, the options "The language is set from the subdomain name in pretty permalinks" and "The language is set from different ...
riddleculous's user avatar
0 votes
1 answer
2k views

Multilanguage website get the title, on different languages

I am working on a website, and I am using Polylang to translate it to a different language. In my code I want to get a page title, and display it. My issue is I cannot get it by ID or page_by_path ...
Simó Tamás's user avatar
2 votes
0 answers
205 views

Header Button Chance Polylang Elementor

Currently, I am making a Bilingual website, and I made a button on the header as well, and I want to make the button bilingual as well, but I don't know how could I change its language because it is ...
Anon's user avatar
  • 121
1 vote
0 answers
103 views

Hide Polylang metabox from the post edit sidebar

I need to have the ability to hide the Polylang metabox from the post edit page programmatically. I only want to show it to a few users, but hide it to people who do not have enough privileges. There ...
Tim's user avatar
  • 516
1 vote
0 answers
129 views

How to get the webshop page in 2:nd language, with Polylang and Hyyan

I have moved content from one WP (server) to another. I use WooCommerce, Polylang and Hyyan WooCommerce Polylang Integration. I might have done something wrong in the setup. I have a shop page in ...
Valter Ekholm's user avatar
4 votes
2 answers
8k views

Polylang - Remove slug of homepage in secondary language

I have a website with polylang and can't seem to figure out how to remove the slug in the homepage of any language that is not the same one. For instance, I have example.com but in english its ...
Fredy31's user avatar
  • 858
0 votes
0 answers
82 views

Page Template Selector Error

Complement of the season. Please, am currently having issues with my project (berrywell.de). The English homepage automatically selects German homepage template after assigning it to the English ...
Femi Ayeni's user avatar
0 votes
0 answers
596 views

Polylang will not allow changing of language without translation

I am using polylang plugin to translate a website which uses custom theme. We are using custom post type. We want to use custom translation for that post type. We will not use polylang to translate ...
Latif Pala's user avatar
0 votes
1 answer
1k views

Polylang and template files

I divided the website i am making in diferent template files for example: Category for blog -> category-blog.php Category for projects -> category-projects.php But now I am using the POLYLANG ...
Pedro Ferreira's user avatar
1 vote
0 answers
99 views

Translations appear in the WP Customizer, but not on the website!

I have a strange issue: I have translated my website into 2 languages with the Polylang plugin. Main language is French, translations EN and ES. Some strings (like Read more, x Comments, No Comments, ...
Gwen Hayden's user avatar
1 vote
1 answer
2k views

Using variables in polylang string translations

Using polylang I am using pll_register_string() and pll__() to translate and output. I would like to use variables in the translated strings for use in templates. I can see that yoast SEO manages ...
Chris Pink's user avatar
1 vote
0 answers
233 views

Polylang post_translations key [closed]

How does Polylang generate the post_translations key value that it uses to group the original with the translations? I need to make an import with custom posts and their translations, but I can't get ...
aurel.dragut's user avatar
1 vote
0 answers
58 views

Changing the search url according to language

I'm using Search and filter, Polylang and Custom post type UI plugins. I have a problem with the project's search in a specific language. The search form allow you to select category and location of ...
Daniele's user avatar
  • 11
0 votes
1 answer
81 views

Update around 200,000 posts

So I have recently migrated from a regular site to a wordpress CMS all via MySQL. I successfully was able to adapt the old database with that of WordPress. Now, the site has content in 3 languages. ...
Byte IT Antwerpen's user avatar
-1 votes
1 answer
794 views

Display country flags with clickable links

I want to trigger something like this: Display a drop-down menu where I can have a country's flag and name and when i click one of them, it redirects me to a certain link. The thing is that i have a ...
Real Moise's user avatar
1 vote
0 answers
339 views

How to import multiple language mutations to polylang?

I have set of posts that i want to import to wp and they alel have 3 lang mutations. I used foreach($pole as $key => $objekt){ $postid = wp_insert_post(array('post_type' => 'etapa','...
Jirka Kastan's user avatar
0 votes
1 answer
74 views

Multilanguage backend interface

I manage a site that is available in 5 languages, including English. The Polylang plugin is used to achieve this. The problem is that I only understand two of the languages, and it's cumbersome to ...
KaareZ's user avatar
  • 101
0 votes
1 answer
702 views

How to translate custom Divi module using POEDIT and Polylang [closed]

I am using Divi theme and Polylang plugin. I use Polylang to add Bosnian language (bs_BA). I know how to register strings for Polylang and translate them that way, but I can't manage to do plurals ...
ivanacorovic's user avatar
1 vote
0 answers
79 views

Posts gathered from WPEMatico feeds are being mixed in different languages. Polylang is used for language separation

I have set up RSS feeds in WPEMatico in different campaigns, each one gathering news in different languages. The campaigns are then connected to different Post Categories, each of which is set up in a ...
Vigan Sokoli's user avatar
4 votes
3 answers
10k views

Get Polylang available languages on admin page of my plugin [closed]

I am making an plugin, and inside my admin page (Which i add by add_menu_page() function) i call this function pll_the_languages(["raw" => 1])) but its return nothing,on client side its work fine. ...
Dahmane's user avatar
  • 143
2 votes
1 answer
896 views

WordPress multilingual website domain and folders

Answered & edited ! I have a single Wordpress installation on example.com. I use Polylang plugin to add multilingual system to this website. I have 16 languages, and it's configured to use ...
Elex's user avatar
  • 1,045
0 votes
1 answer
110 views

how to remember specific action/event for current user?

i have made multi-language site thanks to polylang now i dont want to use polylang's switcher as it causes layout issues so i found a better solution is by putting a link on top. for example if user ...
OT AMD's user avatar
  • 95
0 votes
2 answers
734 views

How to make "virtual" translation with polylang installed (but without Polylang)

I have a CPT called "domaines" (its like vineyards in french). My site have 2 languages (french and english), configured with Polylang for pages and menus translation. I don't want to use Polylang ...
William Ode's user avatar
-1 votes
1 answer
1k views

Polylang non translatable custom taxonomy

Polylang plugin documentation talks about non translatable custom taxonomy. I'm using the plugin Media Libray Assistant, which creates a custom media taxonomy named "attachment category". I woud like ...
mmj's user avatar
  • 113
2 votes
2 answers
11k views

Get the ID of the default language equivalent page in Polylang [closed]

How can I get the ID of the default language equivalent for whatever page I’m currently on? For example, I’m on abc.com/es/mypage, I want to get the ID of abc.com/mypage. I tried setting up the ...
website walrus's user avatar
0 votes
0 answers
52 views

phantom language switcher

Some background, I had an english installation of wordpress, with ENFOLD theme. (not my doing) the original developer installed polylang and turned it to multi-language site (two languages). I've ...
yossi's user avatar
  • 101
2 votes
2 answers
6k views

How to display on the blog page the posts corresponding to the selected language, using Polylang

I use Polylang (free) to internationalize a customer site. I set a default language (= FR), I added a language switcher in my navbar (FR and US flags) and I set the Front and Blog pages for both ...
guillaume's user avatar
  • 123
-2 votes
1 answer
3k views

Polylang - display one post into 3 categories with different lang [closed]

I use Plugin Polylang. I need to display one post into 3 categories (one category, but for any language the plugin polylang needs to create 3 different categories), it's important to make this without ...
Nike555's user avatar