Difference between revisions of "Language and Culture when Import"
Nguyenduyan (talk | contribs) (Tag: visualeditor) |
Nguyenduyan (talk | contribs) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
[[File:Import1.png]] | [[File: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. When select a specific language, will auto map base on that language | + | |
+ | '''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]] | [[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 | + | |
+ | '''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. | ||
[[File:Import3.png]] | [[File:Import3.png]] | ||
+ | |||
+ | |||
+ | 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: | ||
+ | |||
+ | 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 |
Latest revision as of 04:01, 20 June 2018
Support Languge and Culture dropdown for selecting when import questionnaire data.
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.
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.
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