Forum Discussion

kandulmadhu's avatar
9 years ago

Freemarker context object or a REST API call for getting preferred language set by current user

Hi,

 

Signed-in user can change his preferred language from My Settings -> Preferences -> Language.

Is there any Freemarker context object or a REST API call for getting this preferred language set by current user?

 

Thanks,

Madhu

2 Replies

  • Hi,

     

    I found a REST API call for getting the value of preferred language

    /restapi/vc/settings/name/profile.language

     

    Is there any Freemarker context object for the same?

     

    Thanks,

    Madhu

  • VarunGrazitti's avatar
    VarunGrazitti
    Boss
    9 years ago
    No, we have this API call.

    /restapi/vc/users/id/[ID]/profiles/name/language