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
0
votes
1answer
15 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 ...
0
votes
0answers
13 views

Wordpress + Polylang: notification bar translation

I am using a plugin that helps me manage notification bars which show up at the top of all web pages. For example, a notification like "we are on holiday" or "we have this sale right ...
1
vote
0answers
18 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 ...
0
votes
0answers
14 views

Filter by language in gutenberg posts block (polylang)

I use polylang and have posts in two languages. I created a page with a posts block using the gutenberg editor but the block shows me posts in all languages, only allowing me to filter by category. Is ...
1
vote
0answers
14 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 ...
0
votes
0answers
26 views

Wordpress + Polylang: translations too time consuming, how to optimize?

I am using Wordpress, Porto Wordpress Theme and Polylang for translation (4 languages). I need to translate all website pages into all 4 languages. The website has around 50 pages. I plan to create ...
0
votes
0answers
12 views

Incorrect display category ID

Good afternoon! There is a bilingual website (English and Russian), that use a Polylang plugin. There are three category in the news: Products, Services, Clients. Each of one-stand news has a link to ...
1
vote
0answers
75 views

WP All import with Polylang

I am trying to Import my products using WP ALL IMPORT but I am using POLYLANG. I don't know how to import two languages with mapping each other using WP ALL IMPORT and POLYLANG
0
votes
0answers
19 views

Advantage of saving term translations with polylang?

Ok, so I'm trying to automate the generation of posts and custom taxonomies in different languages, and it's all working. What I did (summary): create posts with wp_insert_post() set language of ...
1
vote
0answers
23 views

How to get the webshop page i 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 ...
0
votes
0answers
32 views

Automate generation of multilingual posts (polylang plugin in use) via php

Whadup brothers and sisters! So I'm programming a multilingual website, whereas I'm using the polylang plugin (normal free version). I'm currently thinking of creating an admin menu page via php in ...
0
votes
2answers
370 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 ...
0
votes
0answers
24 views

Polylang translation of header title ect

I'm using the Materialis theme: The theme And I have installed Polylang and translated a site in two different languages by creating new pages for each language, but some parts of the page dosn't ...
0
votes
0answers
30 views

Link to a standart translated Page with PolyLang

guys. I met a problem that after some time of googling i cannot solve. Situation is as follows. Let's say we have standart clean installation of WordPress with standart fixed pages like - Shop/...
0
votes
0answers
20 views

Rewrite taxonomy terms/value based on locale

I need to translate the term or value of the taxonomy. https://example.com/companies/germany/ https://example.de/firmen/deutschland/ As far as I see the only option in Polylang to translate each ...
0
votes
0answers
20 views

Relationship not working in other languages using Pods with Polylang

WordPress Version 5.3.2 Polylang Pro Version 2.6.8 Pods - Custom Content Types and Fields Version 2.7.12.2 Using Custom Post Types with their respective translations with Polylang, I have several ...
0
votes
0answers
23 views

Blog shows white screen when activate Polylang

I have done two pages for my portfolio site with elementor, they work fine with Polylang. Blog site i have coded from scratch, it works fine without Polylang, but after activating it blog site shows ...
0
votes
0answers
70 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 ...
0
votes
0answers
113 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 ...
0
votes
1answer
124 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 ...
1
vote
0answers
25 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, ...
0
votes
0answers
45 views

How can i solve elementor & polylang plugin problem?

After install polylang plugin my xml file not working, I have installed some plugin,here are the list 1.Max Mega menu 2.Algori PDF Viewer Lite 3.Elementor 4.MetaSlider 5.Polylang 6.Polylang Connect ...
1
vote
1answer
278 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 ...
0
votes
0answers
55 views

Changing archive page title and description in both languages via Yoast SEO and Polylang

I'm currently doing the SEO of a site that runs in 2 languages with Polylang. Thing is, I can't seem to make a separate meta description for the english version of a custom post type archive. So I ...
0
votes
0answers
135 views

How to use Polylang strings in Jquery

I have problem with my theme. I'm making simple hide/show component in JS. const button = $('.button-hidden'); button.on('click', function (e) { let content = $(this).closest('.columns'); ...
0
votes
0answers
9 views

Primary language linking to homepage of second language instead of it page

I have 2 languages: english: standard arabic: second language So in the template page: http://nabta.juvoclients.com/community-ar/ it can be linked to http://nabta.juvoclients.com/community/ but when ...
1
vote
0answers
56 views

Polylang post_translations key

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 ...
1
vote
0answers
25 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 ...
0
votes
1answer
32 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. ...
0
votes
1answer
157 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 ...
1
vote
0answers
200 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','...
0
votes
1answer
63 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 ...
0
votes
1answer
346 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 ...
1
vote
0answers
53 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 ...
2
votes
2answers
3k views

Get Polylang available languages on admin page of my plugin

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. ...
2
votes
1answer
382 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 ...
0
votes
1answer
76 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 ...
0
votes
2answers
378 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 ...
-1
votes
1answer
528 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 ...
-1
votes
2answers
3k 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 ...
0
votes
0answers
46 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 ...
1
vote
1answer
3k 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 ...
-2
votes
1answer
2k 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 ...
0
votes
0answers
186 views

Polylang plugin translation problems

I am using polylang. I have certain input values that are stored in options table of my plugin. I have changed those value to Nepali language as well. You can see here: https://prnt.sc/ibqcfx I have ...
0
votes
0answers
977 views

Function get_locale always returns en_US in plugin?

I have the following problem developing a WordPress theme and I am here to ask you. While using get_locale() in one of the plugin, its always returns the same en_US . Even though the language set if ...
1
vote
0answers
736 views

Polylang non-default language ignores tags in WP_Query

I have a mutual DB of custom posts that I'd like different languages to be able to access. If I loop through the post type only, all posts show in all languages, but once I add a tag to the query it ...
1
vote
1answer
205 views

Remove Category slug from link

I'am using Polylang in my wordpress site, so I have too language en and fr. I set en as a default languge. And I create a category named organized-trips in en and voyages-organises in fr. But when I ...
1
vote
2answers
421 views

Replicating the WP_Query 's' param with $wpdb

Take this basic query: $posts = new WP_Query(array( 'post_type' => 'page' 's' => 'some search query' )); WordPress will split the some search query into 3 separate search terms, which ...
0
votes
2answers
3k views

Using polylang, how can I see which post is the “original” and which are the “translated children”?

I am using Polylang. It is not obvious to me how the relationship between posts are established. I can switch between different language versions of the same post, and I can tell that they're (...
3
votes
2answers
1k views

create users to site with specific language

We've created a website that has 8 languages, Russian, Spanish or English to name a few. Each language has its own version of the website. I'm trying to create users that will be able to only modify ...