Tag translation not available | Community
Skip to main content
May 13, 2021
Solved

Tag translation not available

  • May 13, 2021
  • 1 reply
  • 862 views

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

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

Nothing for cyclisme

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Ravi_Pampana

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:

Languages under /content/cq:tags

 

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 !

1 reply

Ravi_Pampana
Community Advisor
Ravi_PampanaCommunity AdvisorAccepted solution
Community Advisor
May 14, 2021

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:

Languages under /content/cq:tags

 

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 !