Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Accessing i18n entries using angular JS.

vasimakram
Level 4
Level 4

I have a login form. When I enter wrong credentials an error message pop's up which is coming from angular JS statically. How to access i18n entries for displaying error messages in different languages based on locale of the page using angular JS.

1 Accepted Solution
edubey
Correct answer by
Level 10
Level 10

I don't think you can directly access those nodes values from frontend as they would be present inside /apps.

May be if you don't have many languages, you can expose this message in multiple languages via servlet. Which can be used to get the language specific message. 

Have you written custom authentication handler?

View solution in original post

4 Replies
smacdonald2008
Level 10
Level 10

To learn more about secure AEM web sites - see this Ask the Commuity experts session and sample Github code: 

https://helpx.adobe.com/experience-manager/using/secure_sites.html

Both the webinar and GitHub code can be found linked from the article. Justin talks about all the concepts you need to know. 

smacdonald2008
Level 10
Level 10

Also - just confirmed  -- you’d use the OOTB QB i18n JS APis 

kautuk_sahni
Employee
Employee

I have asked asked internal expert to have a look at this.

~kautuk

edubey
Correct answer by
Level 10
Level 10

I don't think you can directly access those nodes values from frontend as they would be present inside /apps.

May be if you don't have many languages, you can expose this message in multiple languages via servlet. Which can be used to get the language specific message. 

Have you written custom authentication handler?