Welcome, Guest
Username: Password: Remember me

TOPIC: Need help on translating the term "Total"

Need help on translating the term "Total" 3 months 4 weeks ago #110565

  • peterx
  • peterx's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Hello,

I use LimeSurvey since 2008 and think that it is a great software.
We've even adopted it in our university.

Now I try to complete (and improve where necessary) the Bulgarian translation.

Unfortunately, I've faced some difficulties with the term "Total", when used in an Array (Texts) question.
I've forced numeric entry and activated the totals options. It shows "Total" instead of the Bulgarian word "Общо".

The string is translated in the .po file, but it is associated only with the following lines:
#: application/views/admin/assessments_view.php:39
#: application/views/admin/assessments_view.php:71
#: application/views/admin/survey/listSurveys_view.php:46

A link to an example survey:
survey.ue-varna.bg/index.php/623336/lang-bg

I will appreciate any help on how to translate this string.

Kindest regards,
Petar
Last Edit: 3 months 4 weeks ago by peterx.
The administrator has disabled public write access.

Need help on translating the term "Total" 3 months 3 weeks ago #110571

  • c_schmitz
  • c_schmitz's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 810
  • Thank you received: 115
  • Karma: 93
This cannot be translated currently - we just fixed it in the development version and the fix will be available in the next build/release.

Please help translating all missing strings at

translate.limesurvey.org/projects/limesurvey2/bg/default
Support us, too. Donate to the LimeSurvey project and help keep us going!
Last Edit: 3 months 3 weeks ago by c_schmitz.
The administrator has disabled public write access.

Need help on translating the term "Total" 3 months 3 weeks ago #110578

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4293
  • Thank you received: 810
  • Karma: 373
In the meantime you can set up your survey to use JavaScript and add this to the source of the question:

<script type="text/javascript" charset="utf-8">	
	$(document).ready(function() {
 
		var newText = 'Общо';
 
		$('#question{QID} th.total, #question{QID} tr.total .answertext').text(newText);
	});
</script>


.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Last Edit: 3 months 3 weeks ago by tpartner.
The administrator has disabled public write access.

Need help on translating the term "Total" 3 months 3 weeks ago #110612

  • peterx
  • peterx's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
@c_schmitz,
Good to know this :). I've found out that the string "Title cannot be blank." (shows next to the field for QID when adding new question) also cannot be translated currently.
As soon as I finish my translation and test it till I am satisfied with the result, I will fill in the missing strings on translate.limesurvey.org.

@tpartner,
Thank you very much! It worked like a charm!

P.S. I noticed that I cannot add JavaScript from a non-admin account. Is there a setting I can use to let other users add JavaScript in questions?
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.200 seconds
Donation Image