Switch App language without a page refresh?

I use App Texts, is it possible to update them dynamically without a full page refresh ?
I keep a preferred_language field on User.

I didn’t find anything in the workflows at would relate to updating the language setting of the page ?

The only approach I know are to refresh (which then loads the language based on the user field’s value) or use a parameter ?lang= but this also triggers a full page refresh unlike other kind of parameters.

Thanks.

As far as i’m aware, app texts cannot update without a page refresh sadly.

You could set up multi-language support without needing page refresh using a few optionsets, but its definitely much more tedious than handling app texts. I would generally advise for staying with apptexts + page refresh unless you have a very specific requirement that really doesnt allow for a page refresh.

Thanks, yes I also thought about using conditional logic to swap text based on current user’s preferred_language this is really tedious, not so maintainable and would be redundant with the app text translations i already provided. :frowning:

App texts are loaded on page load, and only for the relevant language. To load the new language, a refresh is required.

What’s the reason you can’t do that? If you need to preserve data on a page refresh, you can use URL parameters.