Difference between revisions of "Language and Culture when Import"

From Catglobe Wiki
Jump to: navigation, search
(Tag: visualeditor)
(Tag: visualeditor)
Line 20: Line 20:
 
IM.Language = "da-DK";
 
IM.Language = "da-DK";
  
IM.Culture = "da-DK";
+
IM.Culture = "da-DK";// only work if UseLoggedInUsersCultureDuringImport = false
  
 
If not set:
 
If not set:
  
Language will auto map base on login user language
+
Language: will auto map base on login user language
  
 
Culture:
 
Culture:
* h
+
* If UseLoggedInUsersCultureDuringImport = false, will import by dot format example: 45.967
 
+
* If UseLoggedInUsersCultureDuringImport = true, will import by login user culture
* g
 

Revision as of 03:57, 20 June 2018


Support Languge and Culture dropdown for selecting when import questionnaire data.


Import1.png


Language dropdown: contain “Not selected” item and list of qnaire languages. Default selected is “Not selected”. When select “Not selected”, will auto map base on login user language. When select a specific language, will auto map base on that language. Can auto map only if selected Language on this dropdown same as language on import file.

Import2.png


Culture dropdown: contain a list of all culture. Default selected is “Not selected”. When select “Not selected” will import base on login user culture. When select a specific culture will import base on that culture. Only allow importing if culture selected on this dropdown same as culture on import file.

Import3.png

We also support set language and culture while import via ImportManager class:

IM.Language = "da-DK";

IM.Culture = "da-DK";// only work if UseLoggedInUsersCultureDuringImport = false

If not set:

Language: will auto map base on login user language

Culture:

  • If UseLoggedInUsersCultureDuringImport = false, will import by dot format example: 45.967
  • If UseLoggedInUsersCultureDuringImport = true, will import by login user culture