We have recently refreshed our branding across our offerings and changed the names of our pricing plans. If you have signed up before Aug 9, 2021, please click Previous plans to view your applicable plans.
We assure you that this change will not impact your product experience, and no action is required on your part.

These are the placeholders you might want to use when you have enabled Multilingual Support on the portal to support your global customers. 


Placeholder for Language Switcher 

In the portal, users will have an option to switch between the supported languages by using the language switcher. 


Placeholder

Return Type

What they mean

{{ portal | language_list }}
htmlGenerates the language switcher on the portal


The code {{ portal | language_list }} will be automatically included with appropriate styles when {{ portal | welcome_navigation }} is already available. In case it is not available, then you have to add the code for language switcher. 


Note: You need to ensure that the styles match your brand, so it is always recommended to check the changes in draft mode before publishing it. 


Placeholder for Dynamic Text

In the portal, when you want to translate any of your hardcoded text such as the page header, title or footer similar to the Freshdesk support portal (as shown below), it can be translated to the required languages and loaded based on the language selected by the users. 



For example, if you want to translate the page title 'We are here to help!' in any other supported language, the translated text can be added based on the current portal language selection which can be accessed as {{ portal.current_language.code }} or {{ portal.current_language.name }}


Here is an example code that needs to be used on your portal customization code: 

<h1>
{% if portal.current_language.code == "en" %}
We are here to help!
{% elsif portal.current_language.code == "fr" %}
Nous sommes ici pour aider!
{% elsif portal.current_language.code == "de" %}
Wir sind hier um zu helfen!
{% endif %}
</h1>

 

Below are the list of supported languages and their respective codes:


      
NameCode
NameCode
Arabicar
Portuguese/Portugalpt-PT
Catalanca
Russianru-RU
Czechcs
Slovaksk
Danishda
Sloveniansl
Germande
Swedishsv-SE
Englishen
Turkishtr
Spanish (Latin America)es-LA
Vietnamesevi
Spanishes
Chinesezh-CN
Estonianet
Ukrainianuk
Finnishfi
Hebrewhe
Frenchfr
Thaith
Hungarianhu
Romanianro
Indonesianid
Chinese (Traditional)zh-TW
Italianit


Japaneseja-JP


Koreanko


Norwegiannb-NO


Dutchnl


Polishpl


Portuguese (BR)pt-BR



Here's the list of placeholders for other categories such as, General Portal Information, Forums, Access to Solutions, Accessing Attachments and Using Snippets for critical behaviour.