Hi,
Though we created custom i18n folder under apps folder with all the strings for different locales, translated strings were not getting picked up from that dictionary. Rather i18n is first checking in libs/wcm/core/i18n folder and if it didnt find there then it is checking in custom one.
For eg: "Submit" is the string which we are putting in new dictionary (i.e: apps/<project_name>/i18n) and we have given some value for it in german locale(i.e: de). But in page under german locale the translated string is getting picked up from libs/wcm/core/i18n than from apps folder.
Any suggestions please.
Thanks,
Pradeep
Solved! Go to Solution.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
venkatan97741212 wrote...
Issue got solved. Basically we should define sling:basename on mix:language node which was mentioned no where in that link. Anyway thanks for the reply...
I'm working with engineering to get these details into the documentation. Thanks for surfacing this issue.
scott
Views
Replies
Total Likes
Hi Scott,
Thanks for the reply.For now we have done <cq:setContentBundle basename="some_text"/> to use the sling:basename.
But can you please let me know how can we set basename to contentBundle in sightly. Currently we are using like ${'Text' @ i18n}
Thanks,
Pradeep
Views
Replies
Total Likes
DId you read this AEM doc topic:
http://docs.adobe.com/docs/en/cq/5-6-1/developing/cq5-translator.html#Creating a New Dictionary
Views
Replies
Total Likes
can you please let me know how basename can be added in sightly?
Views
Replies
Total Likes