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

Polylang doesnt’ switch

$
0
0

My site was in italian and english. Now, I dont know why I have just english, If I try to click on Italian Menu (eg. “L’appartamento”) I have : “Sorry, but nothing matched your search terms. Please try again with some different keywords.”

But every page is correctly associated with a transaltion page… have a look:
https://snag.gy/27PftQ.jpg

It’s really strange, I’m going crazy please help me!


Moesia compatibility

$
0
0

The moment I turn on Polylang on this WordPress installation running Moesia theme, and set the languages, the front page gets messed up, all Moesia’s nice homepage items disappear…

PolyLang compatibility

$
0
0

If I turn on Polylang and set the languages, the front page gets messed up, my site’s homepage basically becomes blank…all the items such as services, employees, testimonials etc disappear…

Create/update terms on wp_insert_post and wp_update_post

$
0
0

Hello!

Firstly, thanks for wonderful plugin, it helps me so much:)

I’m trying to create CPT’s posts via wp_insert_post and update post via wp_update_post() on API call from another site(that site returns ID of post which I need to update).

so all works good except of custom taxonomy terms.

I have 4 custom taxonomies but I’ll show you only 2 for example.
Now I have only 2 languages – English(default) and Russian.


// $sValuesArray is demo data
$sValuesArray = array('industry1', 'industry2');
$industries = wp_set_object_terms( $post_id, $sValuesArray, 'industries', true);
foreach ($industries as $industry) {
    pll_set_term_language($industry + 1, 'ru');
}
// $branchesArr is demo data
$branchesArr = array('branch1','branch2');
$branches = wp_set_object_terms($post_id, $branchesArr, 'branches', true);
foreach ($branches as $branch) {
    pll_set_term_language($branch + 1, 'ru');
}

I know that is pll_set_term_language($branch + 1, 'ru'); – bad practice.
I do it because terms which created returns (for example) ID 1109, but in admin dashboard that ID has 1110, so for attach created russian term to ‘RU’ language I’m using this fix. Could you please provide better solution? thanks.

My main trouble:
Why created terms not attaching to my post? It’s just created, but not attached.
But if I send in $branchesArr and sValuesArray existing terms all works good.

If I disable polylang – all works good too.

Thanks for plugin and your help.

Language detection (Polylang support)

$
0
0

Cookiebar doesn’t detect the language set by Polylang,
when the user switches from German (primary site language) to another language (e.g. English), the Cookiebar is still in German and not in the selected language.
get_locale() should return the locale for the page, also supporting Polylang.

Privacy page (URL)

$
0
0

Cookiebar can show a privacy page link and an URL to privacy page can be provided.
In recent WordPress the privacy page is now a page (post) state,
the privacy page can be globally set up in WordPress settings.
Also Cookiebar should show the right link, depending on translation, when a translation plugin like Polylang is used and the privacy page is available in multiple languages.

Issue: compatibility polylang and ajaxify widget

$
0
0

When displaying popular messages using the ajaxify widget, “polylang” support does not work. When I view the Russian version of the site, I receive messages in English. Why it happens?

Short-code for adding chat to multiple pages

$
0
0

Hi,

I currently use Live Chat (Messenger API) on a Polylang multilingual site, only showing the messenger chat on “Homepage”. However, this means that the messenger chat is only visible when using English language. It disappears when changing the language to Polish or Norwegian.

Is there any way to manually add the messenger chat to more pages, using a short-code?


Featured image displaying broken icon on different language (Phlox theme)

$
0
0

Polylang version: 2.5.3
Phlox theme version: 2.4.1
Wordpress version: 5.1.1

Hello: )
This wasn’t an issue before but either updating Phlox or Polylang or WordPress (not sure which) made the featured image display broken link icon when viewing the post in a different language. When in a different language the theme is trying to receive the featured image by adding /lt/ language suffix to the URL, while the featured image is supposed to be the same and shared between languages…

Works fine on the English language: https://keepthesilence.com/lunar-craters/
Broken link on LT language: https://keepthesilence.com/lt/lunar-craters-2/

Is someone experiencing the same issue? Would really appreciate any advice on how to solve this… Thanks: )

Using this for years

$
0
0

I have been using Polylang for years and since I work in an environment where multi-language is a basic requirement, this is my goto plugin for the purpose.

When I first came to Japan, there was no multi-language CMS solution other than a very poorly implemented version of Joomla. Now, with Polylang with WordPress, multi-language sites are financially reasonable to everyone.

The key is understanding what it is and what it is not. It is also key in my case to use only the portions I need. We do our own translations and in our case that is optimal.

This plugin is very lightweight for what I use it for. It’s simple to use for non-web trained folks in our organization. I would use the “Pro” version but for a non-profit organization like ours, we just can’t budget for that.

I am truly appreciative that Polylang is provided for such a key requirement for our organization THANK YOU!

Cannot translate Display Header Label

$
0
0

Hi,
I am using Easy Table of Contents together with PolyLang.
PolyLang has the capability to allow translation of text strings, but Easy Table of Contents does not appear to expose the Display Header Label text string to PolyLang.
I can of course switch the Display Header Label off and add my language-specific heading outside of the Table of Contents block but this has other consequences, one of which is that my heading appears even where the TOC is not shown.
How about adding this capability? Please?

Translate strings from jetpack comments

$
0
0

Hi,

I’m trying a find where I can edit these sentences but couldn’t find a way.
I’ve tried adding them in the fr_BE.po file but they did not show up translated.

As an example, when adding a new comment, two check boxes are displayed but only the second has been translated in French:

Notify me of new comments via email.
Avertissez-moi par email des nouveaux articles

Can someone tell me where I can edit this sentence?

I’ve already contacted JetPack support and they told me that’s a PolyLang case 🙂

Thank you
Regards

Public Custom Post Types does not show in main WP search

$
0
0

I have encountered a problem I think is related to Polylang. The problem is that my custom post types (CPTs) don’t show up as results in the main WP search.

On the site in question, I use various CPTs, set up in custom plugins. These are all set to public. I use ACF Pro, Polylang free and Yoast free (in addition to a few other plugins that I don’t believe to be a part of the problem). I have set up Yoast to show all CPTs in search. I have also tried to deactivate Yoast, to see if this plugin is the culprit, with no change in the search results.

I have also tried the often mentioned «pre_get_posts» filter, but as you will see below, some CPTs (those that are translated in Polylang) actually show up, and thus the problem does not seem to be that the CPTs are not picked up by the main WP search as such. I have also verified that all the CPTs are in the main WP search SQL select phrase (by echoing $wp_query->request). They seem to be filtered out at a later stage, I believe by Polylang.

The only CPT that actually does show up in the search results is the only CPT I have selected to be translated in Polylang.

When I add «&post_type=my_cpt» in the search URL (where my_cpt is the name of one of the untranslated CPTs), this post type shows up, but then of course no other search results (posts, pages, other CPTs) show up.

I translated one of the other CPTs, just to see if this did the trick, and when translated the CPT does show up in the main WP search.

The thing is – I don’t want to translate these other CPTs. What I would like is for them to show up in all languages, untranslated. I would also expect that Polylang don’t filter out untranslated public CPTs from the main WP search results.

wpml-config.xml and the likes only seem to affect which CPTs are available in the settings for translation or to hardcode them to be translated or not – it does not help make untranslated CPTs show up in the main search.

I would also like to mention that I am very happy with the Polylang plugin, and thankful to the developers for releasing this great plugin for free. But it has given me some headache lately, so…

Any ideas on how I can make Polylang «behave»?

How to disable Polylang for custom widget

$
0
0

Hello!
My site has posts on 3 languages. Switching between languages works like a charm! Even in sidebar widgets “Recent posts” I see only posts that belongs to choosed language.

But I need to make a mixed feed, that contains posts from all languages. So how to say Polylang to NOT filter posts by language at only one widget?

P.S. I also tried to show news feed via another widget of plugin “Shortcodes Ultimate” and “MH Custom Posts [lite]” (my theme is child of MH Newsdesk lite). But situation is the same. Seems that Polylang intercepts all calls to database and filter output by selected language.

Other language homepage not refreshed

$
0
0

I use PolyLang to serve my website in two languages.

When I update an article – or create one – in my primary language, the primary homepage cache is refreshed. However, when I update the same article in the secondary language, the secondary homepage cache is not refreshed automatically.

Is there a setting or an hook I can set to make this work?

Thanks!


PolyLang Integration?

$
0
0

Hey I’m making a multilingual website and I need it to integrate with PolyLang. And it looks like I can’t. Is it possible to be supported on next updates? Or should I give up on it? I really need it for my website.

Advanced post options mirrored with Polylang

$
0
0

I have a multilanguage site using Polylang. Yoast works as expected with content /social, but the advanced options (Allow search engines to show this Page in search results / Should search engines follow links on this Page) cannot be changed individually. If I change it on one language it changes both. Is this a problem with Yoast? Polylang?

Can I use GTranslate and Polylang togheter?

$
0
0

Hi guys,

I ask this question because I want the Polylang language change but I want to translate everything automatically and use Polylang for news.
How can i do it?
I have free plan. But please let me know about possible solutions with paid plans if the free one could not be possible

Thank you 🙂

Problem with Polylang and Page Hero

$
0
0

Hi there,

i have a free version of polylang plugin but im interested to buy a pro version.
However, I have a problem with the version actually in use on my site and i woulk like to know if this problem appears also in pro version, obviously.

In practice, im setting up the plugin in correct way and its working well for the traslation of language but there are a problems with design of all page: the page hero its not working (the featured image its showing below of header section).
P.S. im using generate press pro

Can you help me, please?

Thanks a lot

Best regards

The best ever.

$
0
0

I have on more than one occasion reviewed all the plugin offerings. Back to Polylang, especially with support for Formidable Forms. It is the most convenient, and economically viable solution.

Viewing all 11471 articles
Browse latest View live


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