Willkommen im Online-Support von SoSci Survey.

Hier bekommen Sie schnelle und fundierte Antworten von anderen Projektleitern und direkt von SoSci Survey.

→ Eine Frage stellen


Welcome to the SoSci Survey online support.

Simply ask a question to quickly get answers from other professionals, and directly from SoSci Survey.

→ Ask a Question

+1 vote

Hi. I'm trying to do a questionnaire in different languages including URDU. When choosing Urdu as a base language it seems possible but when I want to select an additional language to use within my questionnaire it shows an error message.

"Display all languages" doesn't seem to work properly.

Could you help me out with that?

Thank you very much!!

in SoSci Survey (English) by s101702 (140 points)
> it shows an error message.

Could you please post this error message?

> "Display all languages" doesn't seem to work properly.

Due to the above error or is something else wrong (Urdu not listed?)
The error message:
r expected to be greater than 0 in /var/www/soscisurvey/html/inc/TranslationManager.php on line 497

Warning: Invalid argument supplied for foreach() in /var/www/soscisurvey/html/inc/TranslationManager.php on line 509

Warning: Invalid argument supplied for foreach() in /var/www/soscisurvey/html/inc/TranslationManager.php on line 509

Warning: Invalid argument supplied for foreach() in /var/www/soscisurvey/html/inc/TranslationManager.php on line 509

I would like to add Urdu as another language for my survey.
It is not displayed with the languages that appear when first selected so a link says "Display all languages". When I click on that link this error message appears.

Is it possible to add Urdu as another language as an addition to English, German, Spanish?

1 Answer

+1 vote

Thank your for the additional information and my apologies - the malfunction should be repaired now. The multilang-feature correctly shows all languages now, not only the ones used most-often.

by SoSci Survey (56k points)
Thank you - I can select Urdu now. Now I have a problem because it doesn't show a flag. Am I supposed to fix this or can you help me out with that? Thank you so much! And is there a way that text can be shown aligned right instead of left in a text field because Urdu is a language that is written from right to left. This would be super awesome!! Thank you for your fast response!
The right-to-left is fixed now, and the Pakistan flag is used as symbol for Urdu. I must admit that I know very little about this language's background, so if the choice of the flag is misleading, please let me know.
That's good news! The flag is the one used for Pakistan. :)
Green with the crescent and star. Thanks so much!
Alright, it's online - just edited my recent comment.
Thanks so much! One more little thing.. would it be possible to make all the flags the same size? When I start the pretest, in my safari browser the English flag is bigger than the Pakistani...etc.
That's probably an effect of the flags' different aspect ratio (the differences should not we very large). They can either have the same with or the same height, but not both.

If you post a pretest-link, I can give you advice how to switch from same-width to same-height or the other way around.
If you added the following lines to your layout's <style> section, the flag will have sam width, but different height:

img.s2t-flag {
  width: 70px;
  height: auto;
}

You may also use the follwoing code to fix width and height, but will then display the flags uf UK and Germany with a wrong aspect ratio.

img.s2t-flag {
  width: 62px;
  height: 42px;
}
Thanks so much for your quick help! Working with you has been a pleasure! :)
...