Questions tagged [polylang]

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

217 questions
25
votes
4 answers

Polylang: How to translate custom strings?

My problem: I'm translating my website using Polylang but I'm having a hard time with custom strings translation. The strings won't show up in the "Strings translation" menu in the WP dashboard. Important: I don't know much about PHP so the…
MIkeMo
  • 332
  • 1
  • 3
  • 10
7
votes
6 answers

WordPress Change logo image when I click to a different language

I have a multilingual website. Is there a way I can change the logo.png to a different .png after I switch to "India"? I am using polylang plugin at this moment. I tried this solution but it did not work -…
core114
  • 5,155
  • 16
  • 92
  • 189
7
votes
3 answers

How to display language switcher as dropdown in Polylang?

I don't have display as dropdown in Appereance -> Menu -> Language switcher. How can i solve it? Here is an image Any help will be appreciated...
Steve
  • 93
  • 1
  • 1
  • 6
6
votes
2 answers

Wordpress - Manually link two post translation with polylang

I am currently developing a plugin for multiposting on multisite wordpress. I wanted the plugin to work with Polylang, it works well when it comes to setting the right language, but i can't find a way to connect to its other translations ( when i…
kristengwd
  • 81
  • 1
  • 4
5
votes
2 answers

WP All Import Pro: Polylang compatibility

I'm trying to import data from an Excel sheet into WordPress with the Pro version of WP All Import. We are using Polylang for multi language support. I wonder how to manage importing the content into the correct language versions. I discovered that…
Christian
  • 61
  • 1
  • 3
5
votes
2 answers

query wordpress posts by polylang language on MySQL

I'm trying to build a MySQL query to select last post by language (Polylang plugin) but I can't find what table and field does Polylang store the language of each post. Any clue?
Matias Masso
  • 1,670
  • 3
  • 18
  • 28
4
votes
1 answer

Polylang version 3 has a bug and it is incompatible with Advance Custom Field (ACF)

Polylang version 2 is working well with Advance Custom Field (ACF) I want to update my website and use the latest version of Polylang which is version 3.3.3 in this situation I can see a bug in Polylang: 1- I create an article and add an image in…
Raskul
  • 1,674
  • 10
  • 26
4
votes
1 answer

Polylang wordpress : creating post from frontend

While working on wordpress I am stuck in polylang plugin. I have a project in which user create post from frontend. Means If user want to create it as English p1 and German p2 and France p3 then three post for different language will be created…
4
votes
2 answers

Polylang language switcher - show only language codes

I created a menu inside a theme I'm creating and have added a language switcher that comes with Polylang. On the fronted the switcher shows up as it should, but it shows the full name of the language (eg. English, Deutsch,...). Instead of full…
dodo254
  • 519
  • 2
  • 7
  • 16
4
votes
1 answer

Get posts by category and language, using PolyLang

I'm creating a plugin and I already could get the posts by category and by the current language using get_posts() function from WordPress and passing the attribute lang with the pll_current_language() from PolyLang. $args = array( …
Italo Borges
  • 2,355
  • 5
  • 34
  • 45
3
votes
1 answer

Get homepage of a website of selected languge in Wordpress + Polylang

In my Wordpress + Polylang website, accueil is the page name of homepage in French and inicio is the page name of homepage in Spanish. So the homepages are: English : https://www.example.com French : https://www.example.com/fr/accueil/ Spanish :…
Computer User
  • 2,839
  • 4
  • 47
  • 69
3
votes
2 answers

How can I make custom string translations with WordPress plugin polylang?

N.B: I am 15 years old and still learning coding so if you answer me answer me thoroughly please.... Hello everybody, I am making my own website with WordPress I am also making my own custom theme and I am still in it's development, the site is…
Shams M.Monem
  • 809
  • 9
  • 17
3
votes
0 answers

Translating customizer options with polylang

I'm using this script: "https://themovation.helpscoutdocs.com/article/196-polylang-customizer-theme-ooptions" to translate the Customize options with Polylang. However, whenever I apply the script the homepages change their permalinks into an old…
oday banihani
  • 35
  • 1
  • 5
3
votes
1 answer

How to display posts in all languages in the plugin Polylang?

I am using the Polylang plugin and noticed that I cannot display a post simultaneously in all languages. that's why I wondered is there a way to display posts from all languages on the site in a specific place well, or create a separate language…
zeni1agent
  • 187
  • 2
  • 9
3
votes
3 answers

wordpress advanced custom fields and polylang integration

I used ACF plugin to build my page, I wanted to create the page that client could change what he wants in it. But I need to translate this page into 5 languages. I installed polylang, can't buy a pro version. I want to that my custom fields could be…
1
2 3
14 15