Polylang is one of the most well known multilingual plugins for Wordpress
Questions tagged [polylang]
217 questions
0
votes
2 answers
How to replace one string to another in sql using PolyLang Wordpress
How to replace one string to another one in mysql including language setting ?
Example query for arabic language ( "ar" ) unfortunately it doesnt work :(
UPDATE
`wp_posts`
SET `post_contant` = REPLACE(`post_content`,'str1','str2')
FROM wp_posts…

Macsurf
- 17
- 6
0
votes
1 answer
Wordpress Woo Minicart plugin with Polylang problem for cart strings and cart page link for different languages
I am trying to change the values of the strings in the Woo Minicart plugin https://wordpress.org/support/plugin/woo-minicart/ for different languages using pll_current_language() of Polylang, but I have some trouble with Polylang and the Woo…

Vladimir B.
- 304
- 2
- 16
0
votes
0 answers
WordPress not load static files
Today after installed PolyLang plugin,my wordpress site has a issue:
err_too_many_redirects
so I followed some tutorials to midfield the .htaccess file in cPanel:
before:
RewriteEngine On
RewriteBase /
RewriteRule…

William
- 3,724
- 9
- 43
- 76
0
votes
1 answer
WordPress API & Polylang: How to get categoires for specific country/language?
My goal
I want to be able to send a request like this https://myblog.com/wp-json/wp/v2/categories?language=4 to get only the categories that are assigned to my language with the ID 4.
What I have tried
I have already added the code mentioned by…

Michael
- 35
- 7
0
votes
0 answers
WordPress Polylang not showing lang icon
WordPress with Polylang is not working properly. For some reason some of the menus and submenus are showing LANGUAGE instead of language flag image. Beside when you click to language of the non working menu items it redirects to #pll_switcher
Any…

Stoyan Bukovich
- 87
- 9
0
votes
1 answer
Polylang and woocommerce: How to translate currency symbol
i want when i change the language to change my currency symbol. For example, to switch from dollar to euro but without changing numbers ...
Tnx

Mladja
- 21
- 2
0
votes
2 answers
WordPress ajax request not translated with Polylang
I've had problem with ajax requests that my requests translating __() functions didn't work.
Googled it from everywhere.
Everywhere was as an answer that url parameter in the following form ?lang=fi should be added for the requests.

Libla
- 41
- 4
0
votes
2 answers
link break code not working in function.php (Polylang)
Here is the update of my code and I still can't add link break with the provided solution. Check out code below.
function gift_sender( $cart_item, $cart_item_key ) {
$gsender = isset( $cart_item['gsender'] ) ? $cart_item['gsender'] : '';
…
user7671587
0
votes
2 answers
Translate strings in function.php (Polylang)
Can anyone teach me how to translate strings from my custom code in function.php of child theme?
I want to have the strings 'Gift Receiver:' and 'Contact No:' to be translatable in Polylang 'Strings Translation' Tab.
Regards
function gift_receiver(…
user7671587
0
votes
1 answer
Show posts for default language if switched to language that has no posts added yet
I have a site that uses Polylang plugin for languages. I have two languages, one default and another. All posts currently are added using default language, but when I switch to another language, nothing has been showing up. I would like in this case…

istoby
- 155
- 1
- 7
0
votes
0 answers
Wordpress Ocean theme Logo
WordPress, OceanWp theme.
Need a help. I have www.example.com site on default language, and www.example.com/second_language.
Both pages are main, for theirs own language. In that OceanWP theme, logo url have already redirect to DEFAULT language…

Roman Pappinen
- 11
- 4
0
votes
0 answers
How to make my Wordpress plugin's options support multi languages?
I'm working on a Wordpress site that supports multiple languages (using Polylang plugin), I installed a plugin to use but figured out that the plugin's options that I need to set in the admin panel don't allow me to insert different values for the…

Dabbas
- 3,112
- 7
- 42
- 75
0
votes
2 answers
Polylang automatic sync for posts
I'm working on a multilingual wordpress website using the Polylang plug-in on pages and custom post types.
What I'm looking for is a way to have every post synch automatically, without user input. When creating a new post type, a translation would…

slotstartslotend
- 37
- 1
- 10
0
votes
0 answers
how to translate the contact form7 alarm language?
Receive a alarm when I enter an error message, my website is multilingual, but contact form 7 only show the chinese alarm message, how to fix this?just like this
i used translation tool is "polylang"
Thanks

KANZAKIRIN
- 3
- 2
0
votes
0 answers
wordpress multilingual slug translations
As I tried several different approaches, I think I have to go for the basic way.
I running a multilingual Wordpress website with this domain structure:
example.com
example.co.uk
de.example.com
es.example.com
I have a custom post type…

MCG
- 503
- 6
- 20