Forum Discussion

catherine_OTX's avatar
13 years ago

Language

Is there a way to return a user's language or the page language through REST?

 

Thanks!
Catherine

  • Yes.  Make a rest call asking for a user profile field called language.  This is a quick example:

     

    /users/id/${user.id?c}/profiles/name/language

     

    You will get back a code for language.  English = en, Spanish = es, etc...

  • KaelaC's avatar
    KaelaC
    Lithium Alumni (Retired)

    Yes.  Make a rest call asking for a user profile field called language.  This is a quick example:

     

    /users/id/${user.id?c}/profiles/name/language

     

    You will get back a code for language.  English = en, Spanish = es, etc...