This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

setLocale on UIViewRoot  RSS feed

 
Ronald Johnson
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i want the user to be able to change the langue of the website.
as default whatever the user defines in his browser should be used (if we support it).

I have read that to override the browser language, i could call setLocale on UIViewRoot.
How can I do this, I assume this is something that has to be set for each web page. How can that be done?

Any pointer would be very helpful!

cheers!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!