Skip to main content

Language Property

Introduction

The language property in Hero Dynamic Text allows you to tailor your content to the preferred language of your visitors. This guide provides an overview of how to use the language property to create personalized experiences and includes a comprehensive list of potential language values.

Usage

The language property can be used to display content in the visitor's preferred language, ensuring a more engaging and relevant experience.

Example

Usage:

{{#if (eq language "Spanish")}}
<p>Bienvenido a nuestro sitio web!</p>
{{else if (eq language "French")}}
<p>Bienvenue sur notre site Web!</p>
{{else}}
<p>Welcome to our website!</p>
{{/if}}

In this example, the message is displayed in Spanish if the visitor's language is Spanish, in French if the language is French, and in English for all other languages.

Potential Values

The following table lists the potential values for the language property:

ValueDescription
RussianРусский
EnglishEnglish
PolishPolski
ItalianItaliano
SpanishEspañol
Serbo-CroatianSrpskohrvatski
PortuguesePortuguês
FinnishSuomi
FrenchFrançais
Chinese (Mandarin, Cantonese and other dialects)中文 (普通话, 粤语及其他方言)
VietnameseTiếng Việt
Japanese日本語
Hindiहिन्दी
Korean한국어
Farsiفارسی
Dzongkhaརྫོང་ཁ
SwedishSvenska
Arabicالعربية
Hebrewעברית
GermanDeutsch
TurkishTürkçe
Urduاردو
SlovenianSlovenščina
GreekΕλληνικά
RomanianRomână
DutchNederlands
DanishDansk
BulgarianБългарски
ArmenianՀայերեն
NorwegianNorsk
LatvianLatviešu
Laotian (including Hmong)ລາວ (ຮມົງ)
Sinhaleseසිංහල
CzechČeština
HungarianMagyar
KazakhҚазақ
Khmerភាសាខ្មែរ
Tibetanབོད་སྐད་
Thaiภาษาไทย
GaGa
LithuanianLietuvių
TagalogTagalog
Burmeseမြန်မာစာ
IndonesianBahasa Indonesia
Amharicአማርኛ
AlbanianShqip
Pashtoپښتو
SlovakianSlovenčina
SwahiliKiswahili
EstonianEesti keel
AzeriAzərbaycan
OromoOromoo
AshantiAsante
UzbekiOʻzbekcha
SomaliSoomaali
Georgianქართული
IcelandicÍslenska
Nepaliनेपाली
TswanaSetswana
MacedonianМакедонски
BasqueEuskara
XhosaisiXhosa
ZuluisiZulu
MongolianМонгол
TonganLea fakatonga
Tajikтоҷикӣ
SothoSesotho
SamoanGagana fa'a Samoa
BantuBantu languages
TurkmeniTürkmençe

Conclusion

Using the language property in Hero Dynamic Text allows you to personalize your landing pages based on the visitor's preferred language. By leveraging this property, you can deliver a more engaging and relevant user experience.

Next Steps

Explore more features of Hero Dynamic Text: