[Plugin: Polylang] Use language from browser if available, fallback to what is available instead
I’m running a small blog site at http://yoush.homelinux.org:8079/
I’ve been blogging in english for a while, but now I want to blog in two languages, russian and english. In particular, I want to write some post in english, some in russian, and some in both languages.
When my site is opened, I want interface to be in language defined by browser, and each post displayed in language defined by browser if available, but fallback to other language if requested language is not available for that post. E.g. if browser is configured to prefer russian, then display post in russian if available, and display it’s english version if russian version does not exist.
Is this possible with Polylang?
If not, could this please be implemented?
Or maybe this is possible with some other multilingual plugin?
I’ve tried to install and activale Polylang 0.5 (into WordPress 3.3), define Russian and English languages, and add define(‘PLL_DISPLAY_ALL’, true); to wp-config.php
But blog opened empty (although, per documentation, PLL_DISPLAY_ALL should make it to display content with no language defined).
Then I checked “set default language for all posts” and got content back. However, in language switch widget, there is only English, and site interface is in english – although my browser prefers russian, and theme (Suffussion) has russian localization installed, it is displayed if I set WPLANG to ru_RU.
All that is not what I want …
- The topic ‘[Plugin: Polylang] Use language from browser if available, fallback to what is available instead’ is closed to new replies.