Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: limesurvey 2 custom translation tool

limesurvey 2 custom translation tool 1 Jahr 5 Monate her #97048

  • kangur91
  • kangur91s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 7
  • Karma: 0
Hello Everyone!

I need your help regarding limesurvey 2. I'm now working with a custom translation tool.
I understand that limesurvey2 is using the Yii framework. I already found the code for calling .js files in translate.php.
//sample code for calling js files in translate.php
$this->getController()->_js_admin_includes(Yii::app()->getConfig("adminscripts") . 'translation.js');

However, I'm having a problem finding the code for calling .css files.
Im trying to find the function call for this function
//function in Admin Controller.php
public function _css_admin_includes($includes = array(), $reset = false){
return $this->_admin_includes('css', $includes, $reset);
}
Any idea for this one?

Thanks.
Letzte Änderung: 1 Jahr 5 Monate her von kangur91. Begründung: typo
Der Administrator hat öffentliche Schreibrechte deaktiviert.

limesurvey 2 custom translation tool 1 Jahr 5 Monate her #97050

  • mdekker
  • mdekkers Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 341
  • Dank erhalten: 68
  • Karma: 38
Why not use the built in quick translate tool?
---
Menno Dekker
Der Administrator hat öffentliche Schreibrechte deaktiviert.

limesurvey 2 custom translation tool 1 Jahr 5 Monate her #97059

  • kangur91
  • kangur91s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 7
  • Karma: 0
Hi mdekker,

First of all, thank you for the response. Well, my objective for making a custom translation tool is that I just want to display questions that are unique meaning no duplicates. But in the process of saving the translation, its also my objective to update all of the questions that are the same. In that way, I will not have a hard time updating each of them and it will just only take one time update execution.

I already did this customization in lime 1.92. However, I find it difficult to do it in lime 2 because it is now designed using the Yii framework.

I'm also planning to donate this customization to the community so that it will be integrated to lime 2.

Please Help. Thank you so much.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

limesurvey 2 custom translation tool 1 Jahr 5 Monate her #97074

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6551
  • Dank erhalten: 868
  • Karma: 257
Hello,

Yii::app()->clientScript->registerCssFile($uri);
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.129 Sekunden
Donation Image