How to support localisation in your app
Last updated 3 months ago
Was this helpful?
If you are supporting multiple languages, you may also want to specify which language to use in your application. You can do so through the Project using the following snippet:
import { getProject } from "@monterosa-sdk/interact-kit"; const project = await getProject(); project.locale = 'en';
project.setCurrentLanguage("en")
project.setLocale(context = this, Locale.UK)
Read through our guide to learn how to setup multiple languages in Studio