Easily create copies of your post and pages in different languages, and Polylang will display the content in the preferred language of the visitor, provided there is a translation available. A simple plugin with quite advanced capabilities.
This post is the only one on the site, available in both English and Danish. If Polylang is enabled and configured correctly, you can switch between the languages using the widget in the footer below.
Extract from WordPress.org
Polylang allows you to create a bilingual or multilingual WordPress site. You write posts, pages and create categories and post tags as usual, and then define the language for each of them. The translation of a post, whether it is in the default language or not, is optional.
· You can translate posts, pages, media, categories, post tags, menus, widgets.
· The language is either set by the content or by the language code in url, or you can use one different subdomain or domain per language.
· A customizable language switcher is provided as a widget or in the nav menuhttps://wordpress.org/plugins/polylang/
Sets a cookie, and that’s fine – and optional
When a visitor selects a language, a basic cookie is set containing nothing but the preferred language, and thus no personal identifiable information. This type of cookies, should not require explicit consent, but you should check with your current regulations of your country.
Its possible to disable Polylang cookies entirely, or to add a filter that changes the PLL_COOKIE expiration date, making it a session cookie which is removed automatically when the browser is closed.