Join the Webstudio community

Updated 3 weeks ago

Multilingual

I want my project to be a multilingual, so I have successfully fetched and bind the data by creating two separate pages(same design) one for English and other one for Arabic, But I don't want it to be separate pages which means by selecting a languages in a dropdown the page contents should change accordingly with respective language when it select by a users, can you help me with this.

J
1 comment
Add a parameter to your page path to represent the lang. e.g. /blog/:lang/:slug

Then your query can dynamically fetch the proper language and slug.