Hello,
Is there a way to retrieve what UI language preference is set for particular user? Could not find anything in CS REST API documentaiton.
How is smart UI getting this? Is it prepared by oscript on server side?
Thanks,
Ugis
I'm not aware of a REST resource returning the UI laguage. The user info resource (/auth) des not return it. You could file a feature rquest to include it there.
Yes, Smart UI receives this information via a require.config flag written in OScript to the HTML response of the /app request handler. If you write a Smart UI extension, you can get it from i18n.settings.locale. If you use REST API in other application, you could write your own REST resource to expose this information.