Configuring the default language for your Help Center

Have more questions? Submit a request

9 Comments

  • Juan Pablo Inigo
    Comment actions Permalink

    Help center is geolocation ready?

    I want my english users to get automatically redirected to their language when the browser language is detected as english or their IP location. Currently, my default language is spanish, but I don't want english users to switch to their language manually.

    Thanks.

    0
  • Brett - Community Manager
    Comment actions Permalink

    Hey Juan,

    If you've localized your content and set up the supported languages on your account then the users should be directed to the appropriate content baed on the language detected in their browser.

    I would recommend taking a look at the following documentation for setting this up:

    Let us know if you have any other questions :)

    0
  • Aswin Kannan
    Comment actions Permalink

    Can we redirect some articles to the English version if their other language variants are not yet ready? Meaning, I want to publish an article and all the Help Center languages should be seeing the English version, then the actual language version once we translate them after a week or so.

    1
  • Damien Martinquet
    Comment actions Permalink

    I have the same question as Aswin. Thanks you

    1
  • Brett - Community Manager
    Comment actions Permalink

    Hey Damien,

    If you'd like the English translation to show up then this would need to be set as the source language as mentioned here: Managing Help Center translations for articles

    When the visitor navigates to your Help Center, it will try to pull the article translation based on the user's browser language. If no translation is available, the user will then be directed to the articles source language.

    Let me know if the above doesn't make sense.

    Thanks!

    -1
  • Aswin Kannan
    Comment actions Permalink

    Brett - If the language is not available, Zendesk gives a 404 now. That's why we need a native solution to redirect them to the source language. I'm using a script I found in this post. But not everyone has a luxury of developer time.

    0
  • Brett - Community Manager
    Comment actions Permalink

    Hey Aswin,

    You shouldn't need to use custom code to redirect a user to the source language of your article. This should be accomplished natively through Guide. It's possible that the custom code you implemented in causing the 404 error you're receiving. Are you trying to redirect them from a deleted article or are you just trying to direct them to the source language if the language of their browser is not available?

    0
  • Aswin Kannan
    Comment actions Permalink

    I was getting 404 without using any code. This code actually helped with redirecting untranslated articles to the source language article. There is no native solution from Zendesk as far as I know. Perhaps you can double-check with your development/product team.

    0
  • Brett - Community Manager
    Comment actions Permalink

    Hey Aswin,

    It sounds like you have the visitor's language set up in your Help Center but there's no article translation for that particular language. As mentioned here, Configuring your Help Center to support multiple languages, the user's browser language is a language that is enabled in the Help Center, but there is no translated content in that language available for that article. The user sees a page error.

    If that's the case, the easier method would be to add a translated article for that particular language and include the English text so the visitor doesn't get directed to the error page.

    Otherwise, as you mentioned you would need to use custom code. Apologies for the confusion there! I'll be sure to pass your feedback along to our Guide team.

    Cheers!

    0

Please sign in to leave a comment.

Powered by Zendesk