Difference between revisions of "Language and Culture when Import"

From Catglobe Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
  
 
[[File:Import3.png]]
 
[[File:Import3.png]]
 +
  
 
We also support set language and culture while import via [[ImportManager class|ImportManager]] class:
 
We also support set language and culture while import via [[ImportManager class|ImportManager]] class:
 
<source lang="javascript">
 
<source lang="javascript">
 
IM.Language = "da-DK";
 
IM.Language = "da-DK";
 
 
IM.Culture = "da-DK";// only work if UseLoggedInUsersCultureDuringImport = false
 
IM.Culture = "da-DK";// only work if UseLoggedInUsersCultureDuringImport = false
 
</source>
 
</source>

Latest revision as of 04:01, 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