multilang problem

multilang problem

Daniel Schimrik發表於
Number of replies: 5
Hello,

I am currently trying to create a multilingual feedback. The different languages (feedback title) are shown correctly in the navigation bar and also in the menu (currently placed in HTML-block).

What is not working correctly is the feedback title, if you click on this feedback. Then you find the title in all languages. (see screenshot)
Checking the html-source the title is in multilang style, but seems not to be recognized by Moodle as multilang. The text under the title is in the correct language.

How can I have the title also be translated correctly?

regards, Daniel

附件 feedback-multilang.jpg
評比平均分數: -
In reply to Daniel Schimrik

Re: multilang problem

Anthony Borrow發表於
Core developers的相片 Plugin developers的相片 Testers的相片
In Moodle 1.9 under administration there is an option in filter settings to filter all strings. If you turn this on you will find that it translates the titles and headings for you. Let me know if that works for you. For more details see:

http://docs.moodle.org/en/Multi_language_content#Course_summary_and_title_tags

Peace - Anthony
In reply to Anthony Borrow

Re: multilang problem

Daniel Schimrik發表於
Hello Anthony,

I am running final Moodle 1.9 and feedback version 2007102603.

The "filter all strings" setting is activated in my installation. It translates many things, but not everything. As I could see, html-block titles and also this feedback-issue were not filtered by this setting.

But I think its nearly the same problem I had with html-block and multilang (see: http://moodle.org/mod/forum/discuss.php?d=93491), so the fix should be the nearly the same?

Regards, Daniel
In reply to Daniel Schimrik

Re: multilang problem

Daniel Schimrik發表於
Hello,

I found a solution that works fine for me:
Edit file /mod/feedback/view.php at line 90:


original version: print_heading($feedback->name);
changed into: print_heading(format_text($feedback->name));


regards, Daniel
In reply to Daniel Schimrik

Re: multilang problem

Andreas Grabs發表於
Core developers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片 Translators的相片
Hi Daniel,

thank you for find out this. I have put this in all files with the print_heading(...) lines.

Have a good weekend!
Andreas