How to set up multiple languages

Hi All,

After hours and hours of problem solving I’m still getting nowhere with multiple languages. I thought it would be a simple case of a workflow that “sets current language to X”…

I’ve read and re-read every other forum topic related to languages and parameters but it’s still not sinking in.

The furthest I’ve got with it is:
A dropdown of language choices that ‘navigates to an external website’ (because it’s the only way to reload the current URL) and setting “lang=” parameters based on their choice.

This works and shows the desired language… BUT… if the page is refreshed, the language defaults back again and I want it to stay, even for users that are logged out.

I understand that you can save the language to the user but that’s for when they’re logged in, and I haven’t quite got my head around when to use parameters and.

Has anyone managed to achieve this? Thanks in advance.

1 Like

You can use browser cookies to keep language if you don’t want to have it in database.
On page load setCookie “lang” with value of language, and then use it to display proper language version.
You can use this plugin to achieve it: Simple Browser Cookies - FREE Plugin | Bubble

1 Like

OK so in case this helps anyone else… where I was going wrong was because the workflow I was choosing was “Make changes to thing > User > Current User” but for some reason that wasn’t working. You need to use the workflow under Account that is “Make changes to current user” and it works perfectly whether they are logged in or out.

@aaronkelsall thanks! very helpful