Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Tag translation not available

Avatar

Level 1

Hello i tried to add a tranlation to a tag Biking under we.retail project. I translated to French as Cyclisme

Ultra_Noobie_0-1620943476050.png

When i try to add the tag to a page it doesn't give me it in suggestion to select.

Ultra_Noobie_1-1620943596989.png

Nothing for cyclisme

Ultra_Noobie_2-1620943630395.png

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

 

When you add a translate string to tag it will store the translated value under jcr:title.{language} 

 

Ex: jcr:title.fr for french locale

 

The language string can be updated by modifying languages property under /content/cq:tags

 

When adding the tag to a page it will show only EN tag and based on the language of the page it will load the title if present corresponding to that language otherwise fallback to en.

 

language specific value:

Screen Shot 2021-05-13 at 8.58.21 PM.png

Languages under /content/cq:tags

Screen Shot 2021-05-13 at 8.57.19 PM.png

 

When searching for tag it will make an ajax call with search term English and I think it only searches for property jcr:title under /content/cq:tags

 

/mnt/overlay/cq/gui/content/coral/common/form/tagfield/suggestion.0.10.html?root=&query=Chines&_=1620964882874

 

You can debug the query and related code for more details

 

Hope this helps !

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

 

When you add a translate string to tag it will store the translated value under jcr:title.{language} 

 

Ex: jcr:title.fr for french locale

 

The language string can be updated by modifying languages property under /content/cq:tags

 

When adding the tag to a page it will show only EN tag and based on the language of the page it will load the title if present corresponding to that language otherwise fallback to en.

 

language specific value:

Screen Shot 2021-05-13 at 8.58.21 PM.png

Languages under /content/cq:tags

Screen Shot 2021-05-13 at 8.57.19 PM.png

 

When searching for tag it will make an ajax call with search term English and I think it only searches for property jcr:title under /content/cq:tags

 

/mnt/overlay/cq/gui/content/coral/common/form/tagfield/suggestion.0.10.html?root=&query=Chines&_=1620964882874

 

You can debug the query and related code for more details

 

Hope this helps !