Join the Miro Talktrack Challenge and enter for a chance to win 🏆
Hi, I’d like to use current user language to initialize my app. Is there any api that i can use to do this?
Hey @li.nan, good one!
We don’t expose language at the moment. If you are (also) using the SDK you can use the navigator object to detect it
Can I ask what your use case is?
Hi @Mettin , thanks for the reply!
Well, navigator is not always so reliable. Especially to those who usually need to deal with multiple language. For me, i’m in china, but i’m using miro with japanese UI setting. So, I’d like to know if there’s other options.
Of course. I’m making an app with multi-language support. I think it’s better to show the UI to them with their preferred language.
Sounds reasonable! I will tell the team your use case and ask if they can add this.
@Mettin yes, please.
Thank you very much!
@li.nan im sorry, there was a update recently and you CAN get the users selected locale using board.getInfo:
@Mettin oh...you just saved my day!
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.