Comments on: Implement Internationalization in Adobe CQ http://www.aemcq5tutorials.com/tutorials/implement-internationalization-in-adobe-cq/ Sat, 20 Apr 2019 17:41:37 +0000 hourly 1 https://wordpress.org/?v=6.4.4 By: sas http://www.aemcq5tutorials.com/tutorials/implement-internationalization-in-adobe-cq/#comment-110826 Sat, 20 Apr 2019 17:41:37 +0000 http://www.aemcq5tutorials.com/?p=645#comment-110826 Thanks alot!!! ,it worked for me, a quick question is there any feature in aem in which entire components in aem page are translated to a particular language automatically without manual eforts.

]]>
By: rahul tiwari http://www.aemcq5tutorials.com/tutorials/implement-internationalization-in-adobe-cq/#comment-64239 Tue, 30 Oct 2018 11:45:48 +0000 http://www.aemcq5tutorials.com/?p=645#comment-64239 hey ankur, Can you please suggest ho wwe can apply i18 on project level

]]>
By: Anoop http://www.aemcq5tutorials.com/tutorials/implement-internationalization-in-adobe-cq/#comment-17828 Mon, 05 Feb 2018 09:59:03 +0000 http://www.aemcq5tutorials.com/?p=645#comment-17828 In reply to Ankur Ahlawat.

Hi Ankur,

I have multiple dictionaries under “/etc/project_name/i18n”(e.g “/etc/project_name/i18n/default” and “/etc/project_name/i18n/overlay”).
My requirement is picking up the values first from overlay path and if the overlay dictionary is empty, select the default path.
With the usage of internationalization in sightly, I am always getting the key values from “default” dictionary first. Is there a way to change this order of preference?

Thankyou

]]>
By: Naveen http://www.aemcq5tutorials.com/tutorials/implement-internationalization-in-adobe-cq/#comment-13647 Thu, 31 Aug 2017 10:22:04 +0000 http://www.aemcq5tutorials.com/?p=645#comment-13647 Where this i18n values stored?

]]>
By: Vinay http://www.aemcq5tutorials.com/tutorials/implement-internationalization-in-adobe-cq/#comment-13348 Mon, 14 Aug 2017 07:37:19 +0000 http://www.aemcq5tutorials.com/?p=645#comment-13348 Hi Ankur , I am using AEM6.2 and I followed all the steps mentioned above by you correctly but I was not able to implement the internationalization feature in AEM. Later I understood the folder type for i18n and its child folders i.e language should be of the type nt:folder & not sling:folder. Now am able test the internationalization feature as per the above steps mentioned . I hope this is the right way to implement and it will help other new beginners , please suggest.

]]>
By: pankaj chhatri http://www.aemcq5tutorials.com/tutorials/implement-internationalization-in-adobe-cq/#comment-12803 Sat, 15 Jul 2017 01:09:59 +0000 http://www.aemcq5tutorials.com/?p=645#comment-12803 Hi, I am confused what should we use internationalization or translation service provider for multilingual website?

]]>
By: Thierry http://www.aemcq5tutorials.com/tutorials/implement-internationalization-in-adobe-cq/#comment-2618 Fri, 02 Dec 2016 16:58:17 +0000 http://www.aemcq5tutorials.com/?p=645#comment-2618 Hello Ankur,
I’ve tried to use the approach 1 Granite.I18n.setLocale(“fr”) inside a Javascript file, but I get an error
500 ReferenceError: “Granite” is not defined.

Maybe I have to import something? There is a file called I18n.js inside etc/clientlibs/granite/utils, but I couldn’t import those files (maybe I just did it the wrong way).

Thanks for your work

]]>
By: Francesco http://www.aemcq5tutorials.com/tutorials/implement-internationalization-in-adobe-cq/#comment-1855 Wed, 29 Jun 2016 15:05:25 +0000 http://www.aemcq5tutorials.com/?p=645#comment-1855 When using Approach 1 and apply what described there to internationalize error messages in a form it works fine, but not when there’s a dispatcher between you and the aem publish.
What’s the problem with dispatcher? Is there some config to add for the locale in the js?

]]>
By: Ankur Ahlawat http://www.aemcq5tutorials.com/tutorials/implement-internationalization-in-adobe-cq/#comment-1776 Wed, 15 Jun 2016 07:16:45 +0000 http://www.aemcq5tutorials.com/?p=645#comment-1776 In reply to Jaydipkumar Patel.

You can display i18n values using a local template in sightly

<template data-sly-template.i18="${@ key}">
 ${key @ i18n}
</template>

<div data-sly-call="${i18 @ key='key-name'}"></div>

Note:- Here i18n is out object name you can use any name that you want

]]>
By: Jaydipkumar Patel http://www.aemcq5tutorials.com/tutorials/implement-internationalization-in-adobe-cq/#comment-1774 Tue, 14 Jun 2016 21:50:35 +0000 http://www.aemcq5tutorials.com/?p=645#comment-1774 Can you please show how to get sling:message value in sightly?

]]>