In my local Moodle homepage I added an HTML block.
I gave it a title, of course.
Now, if I change the Moodle site language to a different one, each block title changes according to the new language but my custom html block title doesn't. How can I force it to change matching the choosen language?
Dear Daniele
you must make sure that there is a langage file for it in the language of your choice. If not the language will default to English. Perhaps it has not been translated yet? If this is the problem you can translate
block_html.php
in moodle/lang/en/
and put it into your language folder.
Tim
Thank you Timothy
maybe I was not so clear because of my basic and rude english.
At the moment the title of an HTML block is the static text that you define when you edit the HTML block content and is NOT language dependent.
My question is: how can I change it to be language dependent?
maybe I was not so clear because of my basic and rude english.
At the moment the title of an HTML block is the static text that you define when you edit the HTML block content and is NOT language dependent.
My question is: how can I change it to be language dependent?
Did you try to activate and use the multilang filter? You would enter a title like this:
<span lang="en">English title</span><span lang="de">German title</span>
<span lang="en">English title</span><span lang="de">German title</span>
thank you Jon
on the basis of your suggestion I wrote
<span lang="en">English title</span><span lang="de">German title</span>
in the html block title field and nothing more. It still doesn't work.
Maybe "activate and use the multilang filter" means something that I ignore?
on the basis of your suggestion I wrote
<span lang="en">English title</span><span lang="de">German title</span>
in the html block title field and nothing more. It still doesn't work.
Maybe "activate and use the multilang filter" means something that I ignore?
The multilanguage filter is in the list of filters in Admin>filters. Have you turned it on?
Tim
Tim
Thank you Tim
you are introducing me to undisclosed horizonts.
I followed your suggestion but it stll doesn't work.
you are introducing me to undisclosed horizonts.
I followed your suggestion but it stll doesn't work.