Add, configure, apply languages, set default language
1. Overall functioning of languages
2. Setting up languages
3. Default language
4. Application of languages
5. Translations
1. Overall functioning of languages
The inwink platform supports several languages:- For the back-office, French and English
- For the website, as much as necessary
The default language is that of the user's browser.
Back-office language
To change the back-office language:
- Click on the user icon at the top right of the screen
- Change the language by clicking on the FR or EN buttons
Website language
If more than one language is provided for the website, as many language icons as there are configured languages will be offered to the user on the header menu, in order to allow them to change the default language set by their browser.
2. Setting up languages
The languages used for an event or community website should be included in the audience.
To choose which languages to configure, go to your audience, Audience tab > Configuration > General information > Languages :
The list of headings shows all the languages that can be displayed on the website.
Remember to click on SAVE in the top right-hand corner of the screen once you have made your settings:
Once you have entered the information in the audience, go to the back-office of your event or community to add the predefined languages.
Here too, languages are available in the My Event tab > Configuration > General Information > in the "Languages" tab:
⚠️Only the languages selected here will appear on the website
Please note: if several events and/or communities are present in an audience, languages should be added to each of them.
3. Default language
The website is displayed in the language of the user's browser, provided that it is configured in the back office, otherwise it will be the language chosen to be used by default.
Thus, in the case where several languages are present in the back-office, French, English and German for example, and the default language is set to "French":
- If the browser is in French, the language displayed will be French
- If the browser is in English, the language displayed will be English
- If the browser is in another language than the three provided, Spanish for example, the default language will be French
Choice of the default language for a participant:
The default language of a participant is set at registration according to the language of their browser.
The email communications will be sent in the default language, present on the participant's form
4. Application of languages
On the website, the current language is applied to all textual content on the site.
The textual content present on the blocks (Pre-title, title, description, action button), is enhanced with the current language (of the browser or chosen by the user) according to the fields entered in the block configuration:
If the content of a text field is empty for one of the provided languages (DE here) and this is the language currently displayed on the site, then the content of the default language will be displayed (FR here)
⚠️ It is possible to condition the display of a block according to the default language of a user, as indicated in his or her participant record, by using lower case language codes (e.g. fr, en, de, etc.), and by filtering the block with these:
❗❗❗ This practice is not recommended, as the block may not be displayed:
- if the participant's default language is not set
- if the user is not logged in
Moreover, the textual fields of the block (Pre-title, title, description), will no longer be displayed according to the language of the browser (or chosen by the user in the banner).
The use of images containing text is therefore also not recommended (to avoid having to package a block according to language)
5. Translations
The website is developed for display in French and English. Once you have chosen the other languages to be used, you must add their translations.
The elements and advice concerning the translation grid are presented in this dedicated article: Translations