Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hey guys I have an application which logs in all Users as TVUsers and uses its own authentication system. I was hoping for there to be a way to switch languages on demand without setting the language preference for TVUser.
If that's confusing feel free to ask below. Thanks!
Yup! Is that possible? I basically want to switch the language without having to associate the language with any TW User. Is that possible?
Hi @AhsanKhan
Kindly follow the steps:
// input parameters are Username and Language, both strings
Users[Username].SetLanguagePreferences({preferences: Language});
Let me know if this works for you.
Regards
Bhawna
Hey Bhawna,
Thanks for your reply but this isnt exactly what I am looking for. I have this system already setup but my problem is that when multiple users are using the application all logged in as the same User they may want to have different language settings. My goal is to somehow allow them to have their own language set even though they are all logged in as the same TW user. The goal is to somehow change languages without linking them to a User? Is this possible.