When updating the hyperlinks in the hero image, use dynamic content code to ensure that the links launch the correct page in the correct language.
...
Help Center Template | Page Section | <div> | Uses | {{dc code}} | Code as entered in template |
---|---|---|---|---|---|
home_page.hbs | Hero image | <div class="quick search"> | To update Popular search topics hyperlinks and ensure they appear in English/Spanish | {{dc.hero-UI_text}} | {{dc 'hero-UI_text'}} |
Create dynamic content to change link path in Spanish
...
- In Zendesk Support > Admin > MANAGE > Dynamic Content, select add item.
- In Dynamic content item title, enter a title for the item. Use text that is similar to describes the hyperlink/article title that you're adding to the help template or macro. . For example, to add a hero image popular article link about proctored exams, use: hero-proctored exams (i.e., a short description/keywords that relate to the article content, but do not have to map to the article title).
- Select English as the default language from the dropdown. Note that English is the default for all dynamic content.
- In Content, enter the exact hyperlink as you want it to appear in the page template.
- Select Create.
- Select add variant. The New variant page appears.
- Fill in the following fields:
- Language: Select the variant language (Latin American Spanish).
- Status: Set as Active.
- Default: Leave this checkbox unchecked.
- Content: Enter the hyperlink code as above, and reference the translated content associated with the English dynamic content for the article title.
- Select Create. A success message appears.
- At the top lefthand side of the page, under Dynamic content, is a Placeholder helper that looks like this:
- Placeholder: {{dc.your_content_here}}
- Copy this placeholder. This is the curlybar language that you will need to add to the help center page template.
- (screenshot)
- (continue with adding in to the page, and add screenshot of the code area.
- Note that the actual curlybar helper text formatting differs slightly; modify the placeholder to be formatted as follows:
- Placeholder: {{dc 'your_content_here'}}
...