how to implement i18n AEM as cloud service. i need any sample project
Solved! Go to Solution.
Views
Replies
Total Likes
@gmahendra As i said earlier, you cant add keys from AEM UI at page level, it has to be add from code base and get deployed. On your question on how to update your html code, you can follow this specification on how to write your sigtly code.
https://github.com/adobe/htl-spec/blob/1.4/SPECIFICATION.md#123-i18n
@gmahendra you can create a sample project from AEM archetype and use sample i18n file already give as part of Archetype project to play with i18n. Just a callout that with AEM cloud editing/managing of i18n keys within AEM is not allowed as it fall under immutable files section, it has to be always part of codebase and deployement pipeline.
https://github.com/adobe/aem-project-archetype/tree/develop
Command to create a test project:-
mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate \
-D archetypeGroupId=com.adobe.aem \
-D archetypeArtifactId=aem-project-archetype \
-D archetypeVersion=43\
-D appTitle="My Site" \
-D appId="mysite" \
-D groupId="com.mysite"
i have page like test/en_US/testpage
test/i18n/en_US/ which node stretcher we need to fallow and how to add key and value?
and html how to add call i18n ?
@gmahendra As i said earlier, you cant add keys from AEM UI at page level, it has to be add from code base and get deployed. On your question on how to update your html code, you can follow this specification on how to write your sigtly code.
https://github.com/adobe/htl-spec/blob/1.4/SPECIFICATION.md#123-i18n
Hi @gmahendra ,
I think you can download the content/source code packages from WKND sites and play around it.
This sample site has i18n dictionary for wknd under the path \ui.apps\src\main\content\jcr_root\apps\wknd\i18n\fr
Thanks,
Views
Likes
Replies
Views
Like
Replies