Forum Discussion

catherine_OTX's avatar
14 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...

1 Reply

  • KaelaC's avatar
    KaelaC
    Lithium Alumni (Retired)
    13 years ago

    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...