Locales are used to set the default language for your content and dynamically load it based on the supporter’s browser preferences. When building pages, you create content for each locale enabled in your account. When no browser preference is available, your default locale will be used.
Setting up locales
To set up or edit existing locales in your account you must be signed in as a “Super Admin” user so you can access the “Admin” section of Engaging Networks.
You may need to use your subaccount login details to access these settings. These details will have been given to you at account setup and are located in your secure client folder at https://engagingnetworks.egnyte.com/.
Click on Hello YOURNAME > Account settings > Account Preferences, and then scroll down to Locales to locate the “Locales” settings.
You will need to first set the default locale. This is the language that will load when the preference cannot be identified in the web browser. If you are setting the default locale for the first time and wish to use “English (United States), you still need to go into the settings and select it. A default will not be assigned automatically.
To build pages using multiple locales, check the box to enable multiple locales and select the desired language from the dropdown menu.
Once you have added all of the locales you would like to use, click “save” to save your settings.
|LCID string||Locale name|
|ar-SA||Arabic (Saudi Arabia)|
|zh-HK||Chinese (Hong Kong)|
|cs-CZ||Czech (Czech Republic)|
|en-NZ||English (New Zealand)|
|en-PH||English (Republic of the Philippines)|
|en-ZA||English (South Africa)|
|en-GB||English (United Kingdom)|
|en-US||English (United States)|
|mk-MK||FYRO Macedonian (Former Yugoslav Republic of Macedonia)|
|nn-NO||Norwegian (Nynorsk) (Norway)|
|sr-BA||Serbian (Cyrillic) (Bosnia and Herzegovina)|
|es-CR||Spanish (Costa Rica)|
|es-DO||Spanish (Dominican Republic)|
|es-SV||Spanish (El Salvador)|
|es-PR||Spanish (Puerto Rico)|
|vi-VN||Vietnamese (Viet Nam)|
Account Data Structure
For each locale that has been enabled in your Engaging Networks account you will also need to create a set of default supporter fields in your account data structure to match your language settings.
NOTE: Even if you only use English (United States) it is still necessary to create a locale-specific set of default supporter fields.
To edit your Account Data Structure, select the item from the left hand navigation.
Before adding a new set of locale-specific form fields to the default supporter record, you should be sure all of your HTML types are set correctly on the existing default supporter record. The default supporter record will always control the HTML type and any changes there will be applied to the locale-specific fields as well.
Click on the plus button next to the “Supporter Field” tab to add a new set of locale supporter fields and select the locale from the list.
Click “yes” to confirm that you wish to copy the contents of the original supporter fields.
After a moment a new tab will appear with your locale-specific default supporter fields. You will need to repeat this step for each locale you have enabled in your account. Eventually, you will see your main supporter fields and a tab for each locale that has been added.
Editing locale-specific supporter form fields
When you create your locale-specific form fields the values from your data structure fields are copied over, meaning you will need to update them to match the default language set by the locale.
Each field has the following available settings. Make sure to fill them out since this is also setting up the fields to be used on your forms.
Locale label: This will be the label that appears next to the field on the web page.
Locale values: Once you set your default input type you then need to set the default values to be used for the field. Depending on the input type, a button will appear to edit the default values for use with the field.
The types included are: select, radio, checkbox, split select, triple select, radio with input or select with input.
For more detailed information on adding locale values, read the documentation here on adding default values.
Locale validators: Select from any of the field validators setup under Pages > Alerts and Validators.
Locale help tooltip: Enter a brief description of the value you would like the user to enter into the field.
Preview: As you complete enter the details of your field it will appear in the preview.
Default locale – English (United States)
Additional locale – French (Canada)