Integrate the Polylang plugin into the theme
Last updated
Was this helpful?
Last updated
Was this helpful?
Because the theme works a lot on Gutenberg blocks and gets data based on Graphql, so some customization steps need to be done for the Polylang plugin to work properly
Need to install and activate the plugins: and
Navigate to: Theme options -> General settings -> Enable Active language (Polylang) in Graphql
Navigate to the locales folder in the theme or child-theme, I recommend customizing in the child-theme as it won't be lost when you update the theme
Add file translate javascript - Please watch and follow this video:
Note: window.locales.EN = en; where EN is the language code and uppercased.