Changing the text "promoted articles" to "News" in several languages

3 Comments

  • Ahmed Zaid
    Community Moderator

    Hi Micaela Marques da Rocha

    Assuming you have Suite Growth or higher, you can use dynamic content to create a multi-language expression of "news". Then you can replace "promoted articles" with the dynamic content title you obtain.

    1. In Guide, click the Customize design icon in the sidebar.
    2. Click the theme you want to edit to open it.
    3. Click the options menu, then select Edit Code.
    4. Click the template home_page.hbs
    5. Search for {{t 'promoted_articles'}}
    6. Replace it with {{dc 'news'}}. Replace 'news' with the title of your dynamic content item, if different.
    7. Publish

    Hope that helps.

    1
  • Micaela Marques da Rocha

    Hi, Ahmed, thank you very much for your comment! I've applied the changes but now the following message shows up on the front page: 

    Could not find the placeholder for dynamic content named News

    I only changed the name in two places after h2. Do you know what could be the issue?

     

    0
  • Ahmed Zaid
    Community Moderator

    Hi Micaela,

    I get a similar error if my dynamic content item does not have a variant in the help center locale I am viewing. Strange since I assume it should revert to default.

    0

Please sign in to leave a comment.

Powered by Zendesk