Linguise
- Set up your languages in your Linguise account and in Linguise (the plugin’s menu in WordPress).
- Tick the same languages on the Languages tab and choose the same default language.
- Add the switcher. To avoid two switchers, turn off the option in Linguise’s settings that adds its flag switcher to the site automatically.
How it works with Linguise: WordPress always builds the original page, and Linguise translates it and serves it at /<language code>/. The plugin:
- reads the page’s language from the information Linguise sends with each translated page;
- links each language to Linguise’s folder for it, using Linguise’s own codes (for example
/zh-cn/for Chinese). Linguise then sends visitors to the translated address of that page when it has one; - keeps language names untranslated (
translate="no"); - puts the language links back after Linguise has adjusted the page’s links, so each language still points to its own version.
Linguise adds its own hreflang links when that option is on in Linguise.
Note
The language list in the switcher comes from Language Switcher Pro, not from Linguise. If you add a language in Linguise, tick it on the Languages tab too.