CAPI Multiple Language
Posted: August 27th, 2013, 5:55 pm
Dear Members
I was programming Interview questionnaire using CSPro for CAPI. I am using both English and Amharic languages in the program. I have already assigned AMH for Amharic and ENG for ENGLISH. I have also included a logic as follows to see the CAPI question and item values during the interview as per the preference of the interviewer:
Function resetLanguage()
If getLanguage() = "ENG" then
setValueSets("_ENG");
Elseif getLanguage() = "AMH" then
setValueSets("_AMH");
Endif;
end;
however I was able to change the languages in the CAPI questions but I have failed to change the languages of the value sets associated with multiple items. can any one help what logic to write in the PROC GLOBAL to choose the language when I start the CAPI data entry. Moreover, the languages of each value sets of each Item will also be changed according to the languages selected.
with best regards
I was programming Interview questionnaire using CSPro for CAPI. I am using both English and Amharic languages in the program. I have already assigned AMH for Amharic and ENG for ENGLISH. I have also included a logic as follows to see the CAPI question and item values during the interview as per the preference of the interviewer:
Function resetLanguage()
If getLanguage() = "ENG" then
setValueSets("_ENG");
Elseif getLanguage() = "AMH" then
setValueSets("_AMH");
Endif;
end;
however I was able to change the languages in the CAPI questions but I have failed to change the languages of the value sets associated with multiple items. can any one help what logic to write in the PROC GLOBAL to choose the language when I start the CAPI data entry. Moreover, the languages of each value sets of each Item will also be changed according to the languages selected.
with best regards