Hello,
Thanks for posting the link to the page showing the issue where the language is reverted back to English.
All widgets/blocks come with a setting that allows you to select the form landing page, hence the action of the form itself. More precisely, your French page “Accueil” is using the widget/block of type “VikRentCar – Search Form”, but the settings for such widget/block that was published on this page for French, are still pointing to an English page.
The page “Accueil” when French is the active language is available at the link /fr/rent-a-car-tangier-airport-francais but when filling the dates and clicking the Search button, users are taken to /our-cars, which is an English page that uses a Shortcode of VikRentCar of type “Cars List”. However, as you also said, there’s a French version of the same page/Shortcode called “Nos Voitures” which is available at the link /fr/nos-voitures.
For this reason, it is sufficient to edit the page /fr/rent-a-car-tangier-airport-francais by changing the settings of the widget/block “Search Form”. The settings to choose the landing page (called “Page”) should simply be set to “Nos Voitures” so that the whole booking process will keep the active language, French in that case.
Right now the Search Form widget/block in the French page is pointing to an English page, and that’s why you’re seeing an unwanted switch of language.
We hope this helps!
The VikWP Team