Search Engine: Elastic

Article ID: 119971, created on Feb 4, 2014, last review on May 7, 2014

  • Applies to:
  • APS 2.x


I need to retrieve the language of the logged in user. How can I do this?


Locale is available as part of context and you can retrieve it from custom UI, for instance:

console.log('User locale: ' + aps.context.locale);

, it will return the user's locale in following form:

User locale: en_US

70bf700e0cdb9d7211df2595ef7276ab 717db81efe94e616312b74fb03a5d474

Email subscription for changes to this article
Save as PDF