Difference between revisions of "Language and Culture when Import"

From Catglobe Wiki
Jump to: navigation, search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Category:Import_module]]
 
[[Category:Import_module]]
  
Support Languge and Culture dropdown for selecting when import
+
Support Languge and Culture dropdown for selecting when import questionnaire data.
 +
 
  
 
[[File:Import1.png]]
 
[[File:Import1.png]]
  
Language dropdown: contain “Not selected” item and list of qnaire languages.
 
  
Default selected is “Not selected”.  
+
'''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.
 +
 
 +
[[File:Import2.png]]
  
When select “Not selected”, will auto map base on login user.
 
 
When select a specific language, will auto map base on that language:
 
  
[[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.
  
Culture dropdown: contain a list of all culture.  
+
[[File:Import3.png]]
  
Default selected is “Not selected”.
 
  
When select “Not selected” will import base on login user culture.  
+
We also support set language and culture while import via [[ImportManager class|ImportManager]] class:
 +
<source lang="javascript">
 +
IM.Language = "da-DK";
 +
IM.Culture = "da-DK";// only work if UseLoggedInUsersCultureDuringImport = false
 +
</source>
 +
If not set:
  
When select a specific culture will import base on that culture
+
Language: will auto map base on login user language
  
[[File:Import3.png]]
+
Culture:
 +
* If UseLoggedInUsersCultureDuringImport = false, will import by dot format example: 45.967
 +
* If UseLoggedInUsersCultureDuringImport = true, will import by login user culture

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