Field: Language

From Catglobe Wiki
Jump to: navigation, search



Field: Language

Field: Language

Type

String/Number

General Description

The language that user used in the system. It will affect the language that is presented in the graphical user interface and many other places.

Import Group

User Information

Business Rules

  • Language can be imported using both number and string. Numbers are the unique ID on the database for languages and may differ between sites. You should contact your site administrator to know what languages your site has available. The table below is therefore only an example of the languages supported in one specific site. Other sites may use different numbers to recognize languages so it is generally best to use Character which is a unique identification.
    720.gif
  • In case the above table was how our language table looked for a site, we could put in ‘2’ or ‘en-GB’ in the excel cell and the language of the user would be set to English (GB). User can mix mapping using Number (ID) and character in the same import!
  • To update this field for existing users, you must map the import using the User_Id column to show which users to update for. If you are updating existing users’ languages you are forced to update all of the users in your excel. The system will not recognize NULL as an acceptable value and instead update the existing users to get the default language and overwrite their existing language.

 

Auto mapping

In order to ensure auto mapping then the column name in the Excel must fit with the given name in import. This name is language dependent as shown:

UK: Language

DK: Sprog

 

Validation

  • The value imported to language (either number or character (ISO code) must exist in the table ‘language’ of the systems database or an error will occur. Error type: ERROR (the import job will not be allowed to be executed).
  • If number and iso-code is mixed in one excel column, then System will try to convert iso-code to id number. If some cells do not follow the chosen method they will be considered as ‘empty’ and ‘DefaultLanguageForImportedUser’, as described in the ‘web.config’file, will be used as the language of the imported user.

Notes

  • If the value in your excel cell is empty, the system will use the ‘DefaultLanguageForImportedUser’ setting, as described in the ‘web.config’ help file, as the language of the imported user.