WPML and Polylang
WPML#
- In WPML > Settings > Post Types Translation, set Bricks templates to Translatable, use translation if available or fallback to default language (or Not translatable). One set of templates then serves every language.
- The template text shows in each page’s language by itself for the 34 built-in languages.
- To change it, use WPML > String Translation (group “Nahnu Templates for Bricks and WooCommerce”), or the Text & translations tab.
- The support page link can be set per language in WPML > String Translation > Admin texts, or with a different link per language.
WooCommerce Multilingual & Multicurrency is supported: prices, the free-shipping minimum and the gift wrap price show in the shopper’s currency.
Polylang#
- Keep one set of Bricks templates for every language.
- The template text follows each page’s language.
- Change it in Languages > Translations (Polylang Strings translations), or on the Text & translations tab.
The mini cart#
The mini cart keeps the page’s language when it updates. It saves the language in a nbwt_lang cookie (such as ar), with no personal data, so cart updates come back in the same language.
Paths and translated pages#
Links typed as a path, such as /support/, open the translated page in each language.