Using polylang, how can I see which post is the “original” and which are the “translated children”? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third party plugins and themes are off topic, they are better asked about at their developers’ support routes. Closed 3 … Read more

get_locale() behaving strange in same functions.php file

I’m developing a multi-language web portal for my client – in English and Bengali. Instead of using multisite, I installed Polylang plugin. It’s working fine through the website. For different CSS styles, and different font-sizes I’m loading a separate stylesheet with: function styles_and_scripts(){ wp_register_style( ‘main-style-bangla’, get_template_directory_uri() . ‘/style-bangla.css’, ”, ”, ‘screen’ ); // load seperate … Read more

WordPress multilingual website domain and folders

Answered & edited ! I have a single WordPress installation on example.com. I use Polylang plugin to add multilingual system to this website. I have 16 languages, and it’s configured to use example.com/fr for French, example.com/de for German, etc … I want to use domain name for Korean language and Japan. Instead of example.com/jp, I … Read more

Polylang: pll_e() & pll__() on functions.php, doesn’t work

I’ve on functions.php some functions that echoes blocks of HTML. Problem comes with Polylang plugin, that uses custom functions pll_e() and pll__(). Those works right on index.php on every theme, but doesn’t work right on functions.php, wich basically always returns me the default language strings, even having’em registred on admin side. So those blocks printed … Read more

WordPress multilingual site using page-id.php files

I’m building a WordPress site which I hope to offer in three languages namely: English Spanish French In the past I’ve always built out my sites by creating the pages via the backend, recording the ids for each page and creating php files with the following naming convention: page-123.php and including get_header() and get_footer. This … Read more

How to display on the blog page the posts corresponding to the selected language, using Polylang

I use Polylang (free) to internationalize a customer site. I set a default language (= FR), I added a language switcher in my navbar (FR and US flags) and I set the Front and Blog pages for both languages. 1) The language switcher works well with the pages. If you go to the homepage (http://cecile-chancerel-bijoux.com/wp/), … Read more

Get Polylang available languages on admin page of my plugin [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 3 months ago. Improve this question I am making an plugin, and inside my admin page (Which i add by add_menu_page() function) i call this function pll_the_languages([“raw” … Read more