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: Polylangarrow-up-right and WP GraphQL Polylangarrow-up-right
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: https://www.loom.com/share/2ea970d38a22436fb0643d5471c772e7arrow-up-right
Note: window.locales.EN = en; where EN is the language code and uppercased.
Last updated 3 years ago