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

timosa on "[Theme: Emphaino] Fonts + Polylang + subdomains + Firefox"

$
0
0

I noticed, that the small symbols didn't show up on Firefox, after activating Polylang plugin with subdomains (fi.mysite.com and en.mysite.com), because Firefox wants fonts to be in the same domain as the actual html page. A word-around for this problem is to add the following rule to httpd-wordpress.conf file:

<FilesMatch "\.(ttf|ttc|otf|eot|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>


miguelcortereal on "Using Polylang with WCK - Custom fields plugin"

theendfear on "[Plugin: Polylang] Loosing cookies switching from a domain to another (Logged in)"

$
0
0

Hello,
I'm using the last version of polylang and it works like a charm except for this little problem:
I'm using polylang with another domain for the 2nd language (english) on this site:
http://videodivertenti.eu
It works fine until i login, after logged in when i go on the 2nd domain (mostfunnyvideos.eu) i lost my session and i get it back only if i switch again.

This is a test account to try yourself:
User: test
Pass: test1234

Please let me know something and sorry for my bad english.
Greetings.

https://wordpress.org/plugins/polylang/

Chouby on "[Plugin: Polylang] Loosing cookies switching from a domain to another (Logged in)"

$
0
0

It can't be another way. Any cookie is linked to a *unique* domain. So when you are logged in on one domain, you are not automatically logged in on the other.

Try with Polylang de-activated and you will see that's the same.

theendfear on "[Plugin: Polylang] Loosing cookies switching from a domain to another (Logged in)"

$
0
0

Hi Chouby and thanks for the answer, also compliments for the plugin.
If i de-active Polylang the english domain has no reason to exist, since it is set in the settings of Polylang.
There is a solution to transfer the cookies from one domain to another?

ARZCDR on "Polylang and Rewrite Rules"

$
0
0

Hello,

I am trying to add a rewrite rule but it doesn't seem to be working at all and I think maybe I am not doing it correctly for it to work with Polylang. Here is the setup:

* I have a page at [language code]/stories/countries/ ('stories' is a parent page)

* I want to make it so that [language code]/stories/countries/[country-name] goes to the [language code]/stories/countries/ page with [country-name] as a query var called c_attr (I've already set up 'c_attr' as a query var using add_rewrite_tag)

In other words, the rewrite rule I am looking to use is (it's a little more general because I have other pages that are siblings of 'countries' but they all behave similarly):

stories/([^/]+)/([^/]+)/?$ => index.php?pagename=$matches[1]&p_attr=$matches[1]&c_attr=$matches[2]

But this rule never seems to trigger and I suspect it is not playing nice with Polylang.

I found something about pll_rewrite_rules in the documentation, but I am not sure if it is indeed what I need, and if it is, I am not exactly sure as to how to use that sample code.

Thanks in advance for any help!

https://wordpress.org/plugins/polylang/

Chouby on "Polylang and Rewrite Rules"

$
0
0

Did you check that your rewrite rule works when Polylang is inactive?

If yes, did you check something like (supposed that en, fr, de are your languages codes):

(en|fr|de)/stories/([^/]+)/([^/]+)/?$ => index.php?pagename=$matches[1]&p_attr=$matches[1]&c_attr=$matches[2]

if your country name corresponds to a single post

(en|fr|de)/stories/([^/]+)/([^/]+)/?$ => index.php?pagename=$matches[2]&p_attr=$matches[2]&c_attr=$matches[3]&lang=$matches[1]

if your country name corresponds to an archive of posts

pierrestoffe on "[Plugin: Polylang] Different default language for admin"

$
0
0

Hi!

First I have to say Polylang is a tremendous plugin and it's the first multi-language plugin I actually like using.
I'm stuck on an small issue though.

The website I'm working on is for a french-speaking company. A Dutch version and an English one are also available thanks to Polylang. If I'm right, when a visitor does not speak one of these languages, he's redirected to the default language. So I set the default language to English.

But by setting the default language to English, it also changed the default language for adding a new post, which I'd prefer it didn't (I want it to be French by default). Of course the editor still can manually change the post language to French, but I'm sure there's a way to do it automatically.

Can somebody help me? Does anybody have a clue how to do it?

Thanks in advance,
Pierre

https://wordpress.org/plugins/polylang/


Chouby on "[Plugin: Polylang] Different default language for admin"

$
0
0

The default language for adding a new post can be set by the admin language filter in the admin bar on top of your screen.

pierrestoffe on "[Plugin: Polylang] Different default language for admin"

$
0
0

Hi Chouby,

Are you talking about this bar? If so, it also hides the content created in other languages, which is not what I'm trying to accomplish.
I'd like all the content to be listed (whatever the language) and force the default language for a new post to be set to French.

I understand your solution works though, but I have to put myself in my client's shoes: they've never used Wordpress, the interface isn't that easy to get for a newcomer, they're stressed by the amount of things they see and the amount of things they have to learn. So even if your solution seems completely natural to us, they surely won't feel the same :)

Would you have another idea? Thanks for your help!

Presswurscht on "[Theme: Hueman] Custom Logo not changeable in polylang plugin"

$
0
0

Am I the only one who wants to change the Custom Logo in the Header of the hueman theme in order of the choosen language? I don't know much about scripting - please help me. Thanks a lot.

chzumbrunnen on "[Plugin: Polylang] Slightly annoying behaviour on translationg categories"

$
0
0

I experience a slightly annoying behaviour of Polylang while adding and translating categories.

I can add a new translation but it's not getting reflected at the right side of the category items list. the translated category still has the "+" symbol instead of the crayon.

And it's not transparent to which category element the editing fields on the left are corresponding to.

So a little UI love would be great!

https://wordpress.org/plugins/polylang/

filip.jnc on "Polylang and Events Manager"

$
0
0

Hello Event Manager team,

I know the compatibility of these 2 plugins doesn't come straight out of the box but it's almost there thanks to both you guys and Polylang. This is by far the best plugin I've ever tried for events. With Polylang I am able to translate categories, events, tags, and so on but there's a little problem.

Polylang creates a child-post/child-page for every translation I make. When I translate the Events page and its sub-pages (Categories, Locations, Tags, and so on) I obviously leave the word "CONTENTS" so that EM replaces it with the actual content. But it doesn't work.

I figure out that in EM Settings -> Pages you assign 1 page for each content (Events List, Event Categories, Location List...) and that's the main problem here. Could you please give me an advice on what can I change in the core to be able to assign 2 pages for each content?

I would be very thankful!

Kind regards,

Filip Juncu

https://wordpress.org/plugins/events-manager/

filip.jnc on "Polylang and Events Manager"

$
0
0

PS. I am aware that I can replicate that page with the following lines:

[event_search_form]
[events_list limit="10" events_search_form="1" pagination="1"]

But the problem is that the search form redirects me to the default language search form page.

filip.jnc on "[Plugin: Polylang] Untranslated taxonomies/custom taxonomies"

$
0
0

Hello Chouby,

First of all, I've got to say that this plugins rocks! It's very light and user-friendly. I have only one issue that I reckon is not a big deal to hack/fix/add an option in the next version of Polylang.

1. I'm using a static front page
2. PLL settings
3. Webpage: http://www.bikeportal.md
4. Languages: Romanian(default)/Russian

My problem is that in case of untranslated categories/posts, polylang language switcher doesn't show the link to that category/post but to the homepage. For example the category of posts Rezultate (Results) has not been translated and when you are in the default language and hover on the russian flag, you can see the url goes to the russian homepage (http://bikeportal.md/category/results/). The same goes for single posts.

The thing is that I don't to translate these posts and I don't want to duplicate them either. So I thought if I translate categories and assign each post to 2 categories (default - translated), this post would appear in both romanian and russian posts list. Unfortunately, I can't assign one post to the counter-language category. If only that was possible, I think all problems on my website would be gone.

Any advice on this problem? I would be very thankful.

Kind regards,

Filip

https://wordpress.org/plugins/polylang/


timosa on "[Theme: Visual] Polylang and menus"

$
0
0

When using Visual theme with Polylang plugin, it seems, that your selection of menu for the second language is not remembered.

Steps to reproduce:
1. install Polylang plugin
2. add two languages
3. define menus for both of the languages
4. assign menus in Customize > Navigation section
5. when you visit in the section again, the second menu is forgotten

timosa on "[Theme: Visual] Polylang and menus"

$
0
0

Hmmm, it seems, that assigning the language menus in the Appearance > Menus section makes things work. I consider this more like a work-around than a solution, though.

Visual is a beautiful theme for photography.

philipjohn on "Polylang and Events Manager"

$
0
0

Hiya,

It's not possible to assign multiple pages as your main events page.

Instead, it's likely that you need to write a custom plugin that will act as a bridge between Polylang and EM to force EM to use the translated page, rather than the default page.

This is something that already exists for the WPML so you might start by looking at that.

Thanks,
Phil

chzumbrunnen on "[Plugin: Polylang] Language Order"

$
0
0

How can I set the order of languages.

In the docu it sais:

http://polylang.wordpress.com/documentation/setting-up-a-wordpress-multilingual-site-with-polylang/creating-the-languages/

Order: it is possible to choose the order in which the language will be displayed in the language switcher

But it's not possible to save the language order without creating a new language.

Also I'm not sure if this had any conequences for the view order on the post lists page. It should have the same order as defines here.

https://wordpress.org/plugins/polylang/

filip.jnc on "Polylang and Events Manager"

$
0
0

Thanks for your tips, Phil.

Unfortunately, I'm far from being able to develop a plugin of such complexity. I will try to contact the guys from Polylang to see whether they can help me out with that.

Have a nice day,
Filip

Viewing all 11471 articles
Browse latest View live


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