Questions tagged [polylang]

Polylang is one of the most well known multilingual plugins for Wordpress

217 questions
0
votes
0 answers

How to hide certain languages from the pll_the_languages() function in WordPress?

function custom_polylang_langswitcher() { $output = ''; if ( function_exists( 'pll_the_languages' ) ) { $args = [ 'show_flags' => 0, 'show_names' => 1, 'echo' => 0, 'dropdown'…
Si8
  • 9,141
  • 22
  • 109
  • 221
0
votes
0 answers

Language settings didn't work after install Polylang in Wordpress

I'm trying to internationalize my Wordpress website so I installed Polylang. I set the site language as my preference in Settings -> General -> Site language. But after the installation, the language of the admin interface automatically changed to…
0
votes
0 answers

in polylang pro in wordpress website url tranlation fix

my website name is gta5.ca in this website i added the polylang plugin . i translated the website to all multiplate diffrent languages . so, on translating the post in that post i have added downlaod link ( it translating that downalod link also her…
0
votes
0 answers

Wordpress Error "Nothing Found" caused by the Polylang plugin

The website is on CMS WordPress, and periodically, after making any edits (whether it's a change in a post/page, updating a plugin, widget, or theme file), the "Nothing Found" error occurs. This error specifically affects all sections and…
0
votes
0 answers

How can I hide URL language information for default language only on main page (WordPress+Polylang)?

WordPress and Polylang. How can I hide URL language information for default language only on main page? Example: `site.com – (en hide, main page)` `site.com/en/contacts – (en show)` `site.com/en/news – (en show)` `site.com/it/ – (it…
Vlad
  • 1
  • 2
0
votes
0 answers

Opening pull down menu problem with Polylang in Wordpress

I have a problem with the polylang pulldown menu on my website on mobile devices (not on desktops) I can see a "+" sign next to the language that is active and if I click it, it should open a meny with all the other languages. But when I click it,…
Henric
  • 11
0
votes
0 answers

Polylang language recognition not working from social network

I have created a multilingual website using WordPress and Polylang. I have set English as the primary language for my WordPress site with Polylang, and I have also prepared the translation in Italian. I have enabled the function to detect the user's…
Calaf
  • 1,133
  • 2
  • 9
  • 22
0
votes
0 answers

not able to redirect to different language based on country in wordpress using polylang

Hi I am using polylang multilingual plugin with woocommerce for my wordpress site. The plugin is working fine overall but recently client needed a new feature as 'Detect the users location based on ip and redirect them as: sweden - swedish, norway -…
samjhana joshi
  • 1,995
  • 4
  • 35
  • 69
0
votes
1 answer

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 2 languages, but not with the footer. I'm trying…
0
votes
0 answers

Polylang product synchronization only works for the first product entered, how can I synchronize them all?

When performing batch automatic product synchronization with Polylang, it only syncs the first product. \`function auto_translate($post_id, $post, $update) { if (!$update) { return; } // prevent creation of additional duplicate draft posts …
0
votes
0 answers

Polylang custom flags blurry on mobile, sharp on laptop

Polylang custom flags display perfect on laptop but blurry on mobile. If I shrink my window on laptop to mobile width they are still sharp. Can you please help with making them sharp on mobile devices? I uploaded custom flags to Polylang using these…
0
votes
0 answers

Is there any bulk translate or bulk translate import possibility for Polylang+Hyyan? (WooCommerce)

I am using Polylang+Hyyan for Woocommmerce translation. I have 1.700 products to translate. Is there any way for a bulk translation or an easy way? I tried to import translated products by Product CSV Import Suite and I used same ID for…
0
votes
0 answers

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 "Companies" where all the devices and companies are located in the…
0
votes
1 answer

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. 404 and without sub menus and language…
0
votes
1 answer

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 example, I want to set pic1.jpeg for a specific…
M.Bakhshi
  • 3
  • 2