-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set the displayed language with a URL query parameter #1566
Comments
Hello! Thanks for posting your question. We will be adding this in the next release. Currently this is not possible, but you should be able to change the language with a GET parameter.
|
It seems the language files aren't publicly accessible, not at the requested URL Is this simply a matter of surfacing this file (likely by overriding rewrite rules) or is it more complex than that? |
Hello! Can you try with "?language=spanish"?
|
That's working perfectly! Thank you! I was trying with language codes like |
Note that it's only working when appended to the root domain. Appending it to |
Is it possible to localize the booking widget using a language parameter in the URL? That would make it easy to make the iframe match the language of the parent page. If not, is there another way to do this currently without having users manually select translations? Or having the translation button get clicked automatically based on the language/URL of the parent page? Because as far as I can tell, the language selection is done using JS and not via URI.
The text was updated successfully, but these errors were encountered: