If your site needs to display content in multiple languages, Yext Pages supports localized content through a combination of Knowledge Graph language profiles and manual translation of static values in the layout editor. You can preview each locale directly in the editor and enable a language selector so visitors can switch languages themselves.
How Localization Works
Content in your layouts comes from two sources — Knowledge Graph fields and static values — and each is handled differently for localization:
- Mapped Knowledge Graph fields pull localized content automatically from the entity's language profiles. No extra configuration is needed in the layout editor.
- Static values are set manually per locale in the layout editor. You need to enter translations for each locale yourself.
To set up language profiles on entities, see Knowledge Graph: Create an Alternate Language Profile on an Entity.
Add Translations for Static Content
To enter localized versions of static text properties:
- Open the layout editor for the page group you want to translate.
- Use the locale picker at the top of the editor to select the locale you want to work in.
- Click any section with static text properties. In the right panel, update the text fields with the translated content for that locale.
The preview updates immediately as you work, showing mapped Knowledge Graph fields from the entity's language profile alongside the static translations you've entered. A warning icon appears next to the locale in the picker if any translations are still missing, so you can track what still needs work.
Enable the Language Selector
Add a user-facing language dropdown to your pages so visitors can switch between available languages themselves.
To enable the language selector:
- Navigate to Pages > [Your Site] > Page Groups.
- Click Edit Layout next to the page group you want to update.
- Click on the Expanded Header section’s Secondary Header in the preview or the layout outline. If the section is not yet in your layout, add it from the left panel.
- In the right panel, set Show Secondary Header and Show Language Dropdown to Yes.
After publishing, visitors will see a language dropdown in the page header. Selecting a language reloads the page in that locale.
Note: The language selector only appears for locales that have pages generated. Make sure you have selected all desired locales in your page group configuration. See Create and Manage Page Groups to update locale settings.