最近搜索
没有最近搜索
Translating Category and sections using json
已回答
已于 2023年7月26日 发布
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 条评论
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