This plugin, which requires
polylang
provides the means to include posts that have no translation in the current
language on pages of posts.
Usage
Multilingual Polylang provides two public functions:
The function
MultilingualPolylang::get_query()
returns a
WP_Query
object with posts from
all languages but where there is a translated post, only the post in the current
language will be included
The function
MultilingualPolylang::get_permalink()
can be used as a drop-in replacement to
get_permalink()
. This will replace the language in a post URL so that a post
can be viewed in a language different to that of the rest of the interface.
Follow this project on GitHub