Dear frontity community. We are developing the multilanguage website by using Frontity.
We have a dev build here: http://time.webbuilder.in.ua/
We don’t use any plugins like polylang for multilanguage because in our practice it works with bugs. We use ACF instead of it.
The example of data: https://time-admin.webbuilder.in.ua/wp-json/wp/v2/posts?slug=v-harkove-uzhestochili-karantin
As you see, in ACF we have a language identifier with the data.
We found the way to change the language in the state immediately and it works well.
Also, we can use GET parameter lang to identify the default language.
The example url:
We need to set
- /our-link for the base laguage
- /uk/our-link for the another language.
The API request for the 2 urls should be the same.
How we can do it in Frontity ?
The project repo: https://github.com/dancer2090/time-frontity