Recent searches


No recent searches

Managing help center translations for articles



image avatar

Jennifer Rowe

Zendesk Documentation Team

Edited Jan 23, 2025


-1

12

12 comments

Hello,

I have 5 languages and 300 articles. But all the articles are not translated in every language yet... When people are reading an article in English (default), they can display it in Japanese for example, thanks to the dropdown menu.

But if the Japanese translation does not exist for this specific article, they are redirected to the Japanese home page of the knowledge base. I would like them to stay/be redirected to the English version with a message in a modal box explaining that this article is not translated yet.

How can I do that? Thank you for your help.

1


Is there any way to detect the language code of labels in an article?  When you click a label, the search results page opens, but the url to the search page is hardcoded to en-us:  

<div class="article-labels-container">
             {{#if article.labels}}
                <ul class="article-labels">
                  {{#each article.labels}}
                <li><a class="button" href="/hc/en-us/search?utf8=✓&query={{identifier}}">{{identifier}}</a></li>                  
                  {{/each}}
                </ul>
            {{/if}}
          </div>

I need a way to use the language code of the label in the url so the translated search page opens, and not the English page. 

Any ideas?

0


image avatar

Erica Girges

Zendesk Developer Advocacy

Hi Lillian,
 
Labels inherently live on the default article so they will always return the default language. This article might be a bit more help in breaking that down. If you wanted to provide me with your use case for needing labels to support multiple languages then I might be able to provide a different solution.
 
 
Best,
 
Erica 

0


Hi Erica,

Thanks for the quick response! 

The best outcome would actually be if articles only showed labels for the current browser language.  Showing all labels regardless of the language is going to be a huge issue once we add several more languages. 

But if we can't accomplish that, then this is an issue:

When you click a label in an article it opens search results based on that label.  Clicking a label always opens the results in the default language for the site, regardless of the language the browser is currently using. The preferred, and expected, behavior is that when using a browser in a language other than the default, and clicking a label in the translated language, the search results open in the translated language.  Perhaps the following image will help:

 

 

0


image avatar

Erica Girges

Zendesk Developer Advocacy

Hi Lillian, 
 
Apologies for the delay and thank you for clarifying your needs. The primary use for labels is more to assist Answer Bot with article recommendations or to organize articles based on relevancy. They can also be used to improve SEO for your help center. As you can see, they're not really meant to be used as a form of filtering searches for users by clicking on them. If you're finding an influx in users relying on labels for this other purpose we would definitely love to hear more about it in our Help Center feedback page here
 
Best,
 
Erica

0


Hello Zendesk team,

This documentation seems outdated. The icon is "Flagged" instead of "Outdated". Could you please update so I can use this article for our teams to use?

Thanks,

Monika

0


image avatar

Elizabeth Williams

Zendesk Documentation Team

Thanks for the feedback. Brett Bowser the current UI has a "flagged" label which is different from the previous "outdated" label shown in the help article that Monika was asking us to revise. Looking at Monika's comment, I read it as the icon should be "flagged" instead of "outdated". I updated the image to reflect the current UI. If this is incorrect, please reopen and assign back to me. Thanks! Elizabeth

1


Thank you for the quick update, Elizabeth! I will share this documents for the team :)

If I can provide another feedback, the "outdated" can be replaced as "flagged" for the section title and body.

Thanks!

0


Hello there!

I have an issue with a missing button for adding one of the language translations - the category and sections has been already created. Furthermore, I already have some articles which present required "+" icon for adding the relevant translation.

How can I fix the issue?

0


image avatar

Katarzyna Karpinska

Zendesk Product Manager

Hi Serhii Bazhan, thank you for letting us know that something is not working. I created a ticket for you to track the progress of this issue. 

0


Is there a native way for the system to show when a translation is outdated? 

Just as it works with dynamic content when you change the default language.

0


Please sign in to leave a comment.