Quantcast
Channel: polylang – WordPress.org Forums
Viewing all 11471 articles
Browse latest View live

Plugin completely breaks Polylang

$
0
0

Polylang is a very popular localization plugin:

https://en-ca.wordpress.org/plugins/polylang/

For my example, I have a custom post type with the slug “product”, and three taxonomies registered to the “product” CPT.

I’ve set Polylang to translate the CPT and its taxonomies.

Now, when I use Simple Taxonomy Ordering to reorder any one of the three taxonomies, I run into major issues.

1. Any WP_Query for the “product” CPT will result in incorrect permalinks when using get_permalink() within that secondary loop (the permalinks are missing the language slug).

2. When WP is doing ajax (DOING_AJAX = true), any WP_Query for “product” will fail and simply return results for the primary language set in Polylang.

3. Deactivating (and even completely deleting) the plugin only fixes issue #1. Unfortunately issue #2 doesn’t get fixed. I suspect that the plugin does not clean up after itself once it’s deleted.

So my question is, how do I undo what this plugin has done to the database? If deleting the plugin doesn’t purge what it’s done to the database, then would it be possible for a quick and dirty explanation on what needs to be undone so that I can fix it manually?

Thank you for your time.


Polylang & WooCommerce conflict

$
0
0

I have a site which is running both WooCommerce and Polylang. I’m not using Polylang to translate the products as the shop only exists on the UK version of the site.

The shop is setup to display categories and there are products with variations.

I currently have 2 issues.

  1. The live site is running version 1.7.12 of Polylang, which is preventing the product variations from being displayed unless the add to basket button is clicked first. Once clicked the required field is displayed. This can be viewed here. Updating to the latest version of the plugin seems to resolve this issue.
  2. When i update to the latest version of the plugin the product category pages no longer return any products, as can be seen on the development copy of the site here. This is how they display on the live site

I have already switched to TwentyFifteen theme and disabled all plugins to try and isolate the issue. Running the default theme displays the same issues as does disabling all plugins except Polylang. This is definitely a Polylang plugin issue.

Any help appreciated.

Coomon pages on all languages

$
0
0

Hi

We are testing the plugin on a our website and we urgently need help on most practical problem.
we have 3 languages on our website but many pages have no translation for each page/post. So we are thinking a way to add these pages with just one language (these pages are common to all languages) How do we do that? because it is a must to have a default language.

my requirement has been discussed on this forum too (https://wordpress.org/support/topic/make-post-available-in-all-languages/#post-8944831)

Can you please help us to find a solution?

Menu item titles revert to page/post title

$
0
0

Hi,

I’m just testing out the PolyLang plugin, and found that my menus are showing the default menu (created by wordpress containing all pages), rather than the custom menu I have.

This only happens when polylang has been activated. If I de-activate, it reverts to my custom menu.

Anyone come across this before?
Thanks

Language switcher position – Top right corner

$
0
0

Hi everyone –

I’m trying to place the language switcher at the top right corner, right next to the social icons (www.fortheloveofbranding.com). Nonetheless, my theme (BlogIM Pro), doens’t have a widget or a menu area over there. Thus, the switcher now appears on the main menu right next to Contact (EN or ES), which is confusing.

I’ve been adding this code on different .php like function.php or searchform.php, and I’m getting close as I add it on searchform.php, but it still looks disorganized and not in front of the social icons.

This is the code I’m adding:

    <?php pll_the_languages( array( ‘show_flags’ => 0,’show_names’ => 1,’hide_current’ => 1 ) ); ?>

Any guidance is more than appreciated.

Thanks,

Oriol

Problem with attribut translation

$
0
0

Hi,

I have a little problem with tis plugin.
I have created an attribut “Perfum” and translated his values in english (french is default languages).
I create my product in english, select ‘variable product’, add my attribut and select all options (displayed in french ?)
I generate all variations (in french too ?)
And I save my product, but no option in de select field of my attribut…
And when I edit my product again, variations aren’t editable and have the value “All parfum” selected…

What am I doing wrong ? I don’t understand how it works.

Thanks for your help!

News feed missing after installing new language

$
0
0

After I set up a wordpress webpage with a news feed, I decided to add an additional language (Swedish and English). I used the plug-in ‘Polylang’ to create an additional language. I have not had a chance to make the Swedish translations but have set the default language for all of the pages to English. I am able to make new posts and see old posts as links in the sidebar. However, the news feed on the main home webpage is now missing and shows a message ‘Error 404-Page NOT Found: Ready to publish your first post? Get started here’. I am guessing that the links to these must be wrong now that all of the pages/posts are set to a particular language.
**I’m a newbie to making webpages and WordPress. If everything works well within wordpress, I can navigate, add pages and make edits. But when I get an error like this I can’t figure out where to start troubleshooting!
Here is the webpage in question: www.biorest.org

Language chosen at home changes back to default when go to other page

$
0
0

Hello,

I’m using the default enfold theme.

I installed the polylang plugin. I set my default language. This works fine.
I create for the two pages that i have, one for each language.
I added the language switcher to the menu.
Now when i start at my homepage and i choose another language this works. But when i change to the other page the language goes back to the default instead of staying at the languages chosen for the whole site at the beginning?

Does anyone know what i’m doing wrong?$

Thanks very much


hreflang tags not detected by Google due to fit-vids-style div on head

$
0
0

Hi,

I’m using Pinnacle 1.4.8 and Polylang 2.1.2 on my multilingual website. I’ve noticed that Google can’t detect hreflang tags although they actually exist in every page.

I’ve searched this issue online and found several articles about some WordPress themes using FitVids for responsive videos that creates a <div class=”fit-vids-style”> inside the <head> section, which is not actually correct in HTML, invalidating hreflang tags.

I also found a post in the support forum for your other Kadence Virtue theme about this same issue that you have resolved, which I can certify because I’m using Virtue theme in other webs. This is the Virtue support forum post: https://wordpress.org/support/topic/google-says-hreflang-tags-are-missing/ and is the same problem happening for Pinnacle.

Could you please fix this issue for Pinnacle theme too?

Thanks!

Polylang and Conditional Menus plugin

$
0
0

Www.vossactive.no

Hello. I have been using polylang for years and just upgraded to hopefully solve a problem, but it did not yet.

(I have currently disabled Conditional Menus and just have one common menu in use for now)

I have a multisite configuration. I have two languages installed and working.

I am using X Theme, which lets me choose a different menu per page if I wish, and have a default primary for everything else. This all works great with both languages and URLS are nice.

BUT, The mobile menu on X Theme sucks, so I have purchased Touchy, a cool menu plugin. So when the page is below 900ish the touchy menu is shown and the standard menu is hidden (basically through CSS display: none)

BUT, the touchy menu does not display the same menu that is set in the per page settings of X Theme, so I just get the default menus for that language

So I was advised to install Conditional Menus plugin to then designate the menus to the desired pages in the Menu location settings page.

BUT this is not working, I am not getting the selected menus in my /en/ site, just the default primary, and on the home page /en/ I am getting the primary language menu, instead of the /en/ primary language.

IF I deactivate the Conditional menu plugin the primary language is correct again, but then I am not able to desginate a different menu to different pages.

Is there some conflict or setting that will let this work as desired?

Thanks

Create languages programmatically (WPMU)

$
0
0

Hi.
I would like to know if there are way to create languages programmatically.
I’ve setup WP in multisite mode, and i would like to automate the process of creating 2 languages (Fr and En) when deploying a website in my network.

Can you help me ?

Optionaly, i would like to automate the creation of a page and his translation in the deploy process.

Thanks.

Anyway, thank you so much for this amazing plugin. I come from WPML, and nothing can bring me back to it. Polylang is just a must-have plugin !

conlfict polylang and revolution slider

$
0
0

​Hello! I am facing a problem with the revolution slider. I have multilangual site and i am using polylang. The slider works normally on site but when i use parallax slider it shows in preview normal and on the screen not (i am sending printscreens ). I disable all plugins and i have only revolution slider and polylang so i believe it;s a conflict. Also i try it on a other site without polylang and it works as it is supposed to. What can i do? I can;t not use polylang.

Polylang integration with Headway

$
0
0

Hi, I’m trying to develop the multi-language part of a client’s website right now. I’ve built the site with headway but I’m having difficulty with elements such as those encoded/built directly into the grid view with headway blocks (ie. custom coded items, slider blocks, forms, widget blocks, etc)

I thought solving this would be relatively simple: duplicate the shared templates in use for each new language, substitute translations into the necessary blocks, and apply the new template to the translated page (page edit and use shared layout option). Unfortunately, I have had no success in doing so. I’ve even tried applying it directly to the Front Page: (WPML: FR) in headway’s backend, but that didn’t seem to work either.

These both seemed like the most logical solutions but I’m quite baffled that they aren’t working. Does anyone have any idea how to make this work?

Thanks for any insight on the situation!

Changing the language switcher position on all single posts at once

$
0
0

Hi. I’m using Total theme on a bilingual site. Previously, no matter where I added the Polylang shortcode on a single post, the flags always appeared on top of the post, right below the post title. So I often added the shortcode on the bottom of the post.

Now, after updating the theme, the Polylang flags seem to appear exactly where the shortcode is. This means that on most of my posts, the language switcher is on the bottom, and that’s no useful at all. Is there a CSS code or some other way to force the flags on top of each post, below the post title? Or do I need to go through all 500 posts and manually change the location of the shortcode?

Thanks for any tips. My site is www.livenowdreamlater.net. Here’s an example post where the language switchers are located at the bottom of the post: http://www.livenowdreamlater.net/en/2017/03/16/haunted-castle-hotel-northern-ireland/

Compatibility with multilingual site

$
0
0

Hi,
I use Polylang pluging for my multilingual site, I have 2 domains and 2 subdomains – for 4 languages. I installed Cloudflare and activated new nameservers and I got my site totally messed up. All subdomains and the other domain are showing content of the same language. My web 2 domains trombofilik.cz and thrombophiliac.com (english version).
Also icons are broken now.
I do have already SSL on my domains and I started using free version of Cloudflare. Can you help me please to fix this problem?

Thank you!
Marie


Cannot show language switcher of polylang in the menu

$
0
0

I am using Sydney theme and polylang as the Multilanguage plugin. In the theme–> menu, there is no language switcher available for adding into the language link in my menu in the header. I would like to ask how to add the language switcher into my menu in the header.

Thank you.

“You are here:” in default blog language?

$
0
0

Hi,
I’m using breadcrumb navxt & polylang and my default blog language is german. I chose to hide URL language information for the default language. Unfortunately, I get the string “You are here:” in english. So how can I get the “You are here:” in my default languge or hide this string?

Rss feed 404

$
0
0

I have a site using Polylang for 3 languages. I publish my feeds with Feedburner, each language with a distinct url.
The French url works well, the Dutch and English publish the French comments.
When I try to go to http://domain.tld/?feed=rss2 I get a 404 error (not found), and a redirection to /feed/.
I tried all weekend to fix the problem,and I still have no clue.
Someone to help?
And also I use Cloudflare, Category Specific RSS Menu
The template is not an issue, I tried with Twenty Sixteen and Twenty Seventeen with the same result:404
Thanks for any idea to fix the issue

Rss feed 404

$
0
0

I have a site using Polylang for 3 languages. I publish my feeds with Feedburner, each language with a distinct url.
The French url works well, the Dutch and English publish the French comments.
When I try to go to http://domain.tld/?feed=rss2 I get a 404 error (not found), and a redirection to /feed/.
I tried all weekend to fix the problem,and I still have no clue.
Someone to help?
And also I use Cloudflare and Category Specific RSS Menu
The template is not an issue, I tried with Twenty Sixteen and Twenty Seventeen with the same result:404
I also deactivate all plungins, and restored WordPress files with no results.
Thanks for any idea to fix the issue

Eatery Restaurant WordPress for Polylang error for sidebar

$
0
0

Hi, I’m trying to set up Polylang by directory.
Everything is correct except in sidebar,
That when I change to another language disappears the widgets and nor the switch of Polylang.
comes out
I could help figure out why polylang does not display the widgets or polylang language switch,
In sidebar when changing language.

For the menu goes correct,
But by badly disappears widgets.

Thank you, I hope your help.

DEBUG
Notice: register_sidebar se llamó incorrectamente. No se ha definido el id id para la barra lateral “Encima de la barra lateral de navegación”. Usando por defecto “sidebar-1”. Establece manualmente el id id a “sidebar-1” para silenciar este mensaje y mantener el contenido actual de la barra lateral. Por favor, visita Depuración en WordPress para más información. (Este mensaje se añadió en la versión 4.2.0.) in \wp-includes\functions.php on line 4137

Notice: register_sidebar se llamó incorrectamente. No se ha definido el id id para la barra lateral “Debajo de la barra lateral de navegación”. Usando por defecto “sidebar-2”. Establece manualmente el id id a “sidebar-2” para silenciar este mensaje y mantener el contenido actual de la barra lateral. Por favor, visita Depuración en WordPress para más información. (Este mensaje se añadió en la versión 4.2.0.) in \wp-includes\functions.php on line 4137

Notice: register_sidebar se llamó incorrectamente. No se ha definido el id id para la barra lateral “Sidebar móvil”. Usando por defecto “sidebar-3”. Establece manualmente el id id a “sidebar-3” para silenciar este mensaje y mantener el contenido actual de la barra lateral. Por favor, visita Depuración en WordPress para más información. (Este mensaje se añadió en la versión 4.2.0.) in \wp-includes\functions.php on line 4137

Notice: Use of undefined constant icl_object_id – assumed ‘icl_object_id’ in \wp-content\themes\mytheme\framework\shortcodes\food_menu.php on line 204

Viewing all 11471 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>