Localization · AMP
Managing Multilingual Content and Translations in Liferay
Manage translations in Liferay DXP by enabling target locales in Site Settings, setting up translation workflows, using localized fields in web content articles, mapping hreflang link tags, and optimizing Elasticsearch indexes to split query rankings by language.
Configuring Portal Locales
Liferay DXP supports localization. Navigate to Site Settings and select your target languages (e.g., German, Hindi, French). When editors create content, they gain access to a language switch tab, allowing side-by-side editing of translation segments without duplicating pages.
Localized URLs and SEO Tags
Liferay generates clean URLs for each language segment (e.g., /de/home, /hi/home).
Hreflang headers are injected automatically, notifying Google and Bing crawlers of matching page alternatives,
preventing duplicate content penalization.
Multi-Language Search Indexing
Configure Elasticsearch mappings in System Settings. Ensure Elasticsearch uses locale-specific analyzers (e.g., German stemmers) for matching indexes. This guarantees queries in German return German matches, and index files remain highly searchable.
Frequently asked questions
How does Liferay handle hreflang tags?
Liferay auto-generates hreflang link tags in HTML heads based on available language translations of the current page, boosting international SEO.
Can we integrate automated translation tools?
Yes. Liferay DXP integrates with cloud engines (like DeepL or Google Translate) to translate articles with a single click.
Read the full article, with table of contents, comparison table, and author bio →