filmov
tv
50. Internationalization in AEM part 1.

Показать описание
Internationalization in AEM: Also known as i18n as there are 1 characters between i and n. If we want to create a website which should display text based on the country. For example if the person is accessing website from the france, it should display text in French and if the person belongs to Germany then it should display text in German.
So depend upon different countries we have different languages and since we have different languages the caption or the text that should be shown on the website should be different.
To achieve this we can use a concept of internationalization i18n.
There are 3 steps to achieve this:
1) Create i18n node of type sling:folder.
2) Create node with name as language code(ISO code) of the language.Ex: fr for french and de for germany. Add 2 properties in this node. jcr: language and it's value of language code and add mixin type as mix:language.
3) Create child node of type sling:messageEntry with properties sling:key and sling:value.
In the next we will see how to do it practically.
share, support, like and subscribe
About : AEM/CQ5 tutorial is a youtube channel which helps you to learn AEM concepts theoretically as well as practically.
So depend upon different countries we have different languages and since we have different languages the caption or the text that should be shown on the website should be different.
To achieve this we can use a concept of internationalization i18n.
There are 3 steps to achieve this:
1) Create i18n node of type sling:folder.
2) Create node with name as language code(ISO code) of the language.Ex: fr for french and de for germany. Add 2 properties in this node. jcr: language and it's value of language code and add mixin type as mix:language.
3) Create child node of type sling:messageEntry with properties sling:key and sling:value.
In the next we will see how to do it practically.
share, support, like and subscribe
About : AEM/CQ5 tutorial is a youtube channel which helps you to learn AEM concepts theoretically as well as practically.
Комментарии