Recent searches
No recent searches
Translating Category and sections using json
Answered
Posted Jul 26, 2023
We've got tabbed navigation, similar to this: Using Slack | Slack where the categories show and the sections show below the categories when hovered over. I'd like to know how to translate these when a user accesses the site from Spain. We've got the tabbed navigation showing via json script but unsure how to enable translation, as dynamic content isn't available in json files
0
1
1 comment
Oscar Mejias
Unfortunately, this is not possible using native tools, however, using the HC article translations API you should be able to pull the information to be shown to the user on hover. To identify where the user is accessing your Help Center from you can use the Show Self API and refer to the attribute "iana_time_zone".
Thanks.
0