Mensagens colocadas por Joseph Rézeau

Foto de Core developers Foto de Plugin developers Foto de Testers Foto de Translators

Hi Cristina,

Try this: In your Moodle installation, go to file question/type/multianswer/questiontype.php, around line 655, remove or comment out this line:

// $text = stripslashes($text);

Joseph

Foto de Core developers Foto de Plugin developers Foto de Testers Foto de Translators

Hi Jeff, here are some answers to your questions.

1- I'm not sure it was a good idea to install REGEXP 1.7 "over 1.6" in a Moodle 1.7 site. As explained in the readme files, you should really use the version of REGEXP corresponding to your Moodle version. Otherwise, I cannot guarantee that it will work.

2- "I don't see any option "Display Hint Button" for that on my site." I suppose you mean in the REGEXP question edit mode you don't see this option? This probably means that, after installing the REGEXP plugin you forgot to visit the Administration Notifications page, which will normally trigger the creation of the necessary "usehint" field in the mdl_question_regexp table. If you using phpMyAdmin, can you check that that table has these four fields: id, question, answers and usehint.

3- If you see [regexp] instead of Regular expression short answer, it means that you have not added this necessary line to the language file moodle/lang/en_utf8/quiz.php:
$string['regexp'] = 'Regular expression short answer';

4- The REGEXP question type should work with any theme.

5- If you cannot see the Show Alternative Answers button in the question preview window, probably this means something has gone wrong in the installation, but I do not know exactly what.

Hope that helps,

Joseph

Foto de Core developers Foto de Plugin developers Foto de Testers Foto de Translators
For anyone who is knowledgeable in phpMyAdmin for viewing a mysql database, here is a workaround if you are not admin on your Moodle site.
  1. Install a local moodle site (complete with Apache server, mysql database, etc.) on your personal computer.
  2. On the remote Moodle site of your institution, do a complete backup of your course(s) (including logs, etc.) and save the download file(s) to your computer.
  3. On your local Moodle site, restore your complete course(s).
  4. Since you have full admin rights to your own local Moodle installation, you can view the whole database, using phpMyAdmin.
Hope that helps,
Joseph

Moodle in English -> General developer forum -> let's translate it? -> Re: let's translate it?

por Joseph Rézeau -
Foto de Core developers Foto de Plugin developers Foto de Testers Foto de Translators

Hi Manuel,

As far as I understand it, the Moodle point of view on non-translation of error messages is as follows. Error messages which are "serious" and need administration consideration are hard-coded (in English). The reason seems to be that Moodle site administrators are computer-knowledgeable people who ought to be also knowledgeable in Englishwink and, when reporting serious errors or bugs in the Moodle bug tracker, will do so in English. I think this is a wise policy in general. However, it can make it difficult for "ordinary" , non-English-speaking users of Moodle when such an error occurs and they are confronted to an error message in English which they don't understand and may find difficult to note down in order to report it to their admin.

I would advise against translating such messages.

On the other hand, there still remain a number of hard-coded messages of warning, etc. in some places in Moodle, which ought to be translated.

You should really try to differentiate between those messages which should remain in English and those which might be translated.

Joseph

Foto de Développeurs Foto de Développeurs de plugins Foto de Testeurs Foto de Traducteurs

Bonjour Fred,

Bonne initiative, mais le problème est qu'il y a déjà tant de sites poursuivant le même objectif qu'il vaudrait peut-être mieux faire la liste de ce qui existe avant de répliquer l'existant.

Joseph

PS.- Pourrais-tu essayer de poster des titres de messages plus courts (les titres trop longs ont tendance à chambouler la mise en page sur le forum). Merci.wink