Multilang not working

Multilang not working

ved Jay S -
Antal besvarelser: 9
On the home page, I have a short blurb about the site in the summary of section 1.

I included the following:

<link lang="de" format="auto">
blabla
</link>

In addition to that one, a english one was included. Why will this not work. It displays them both (without the link tag)
Gennemsnitsbedømmelse: -
I svar til Jay S

Re: Multilang not working

ved Eloy Lafuente (stronk7) -
Billede af Core developers Billede af Documentation writers Billede af Moodle HQ Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers Billede af Testers
Hi Jason,

Have you enabled the filter under "Administration/Filters"?

Ciao smiler
I svar til Eloy Lafuente (stronk7)

Re: Multilang not working

ved Jay S -

I sure have.

I'm running moodle1.4, it already had multilang. All I have to do is add it to the filters in use. This is correct?

The reason I ask the above, is because I read a old read me file which said to put a line of code in the config.php file.

I svar til Jay S

Re: Multilang not working

ved Eloy Lafuente (stronk7) -
Billede af Core developers Billede af Documentation writers Billede af Moodle HQ Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers Billede af Testers
Oh, you can forget that idea, Moodle detects and uses the filter automatically!

About your problems with the multilang filter, current implementation has some limitations about the type of contents that is able to control. Some HTML structures break it (specially if they contain unclosed tags).

A new, improved, multilang filter is available from http://moodle.org/download/modules/#filters it will be included officially in Moodle's next release but you can download, install and test it.

Feedback will be welcome...of course.

Ciao smiler
I svar til Eloy Lafuente (stronk7)

Re: Multilang not working

ved Jay S -
Downloaded and installed the new version, no go.

I read somewhere that the multilang doesnt work everywhere.

Im using it on the homepage in summary of section 1. Below is a example of how Im using it.

<table><tr><td align=center>HELLO</td></tr></table
<p>
blblalbllalbblablba
</p>
<link lang="de" format="auto">
german go blalbla
</link>
I svar til Jay S

Re: Multilang not working

ved Jay S -
wow, I figured it out. I was using <link> tags.

One more question, format="auto" can I put format="html"??
I svar til Jay S

Re: Multilang not working

ved Ronaldo Reis Jr. -
Hi,

I try to use the multilang filter, but it dont work for me.

I make a label with:

<lang="pt_br">
Teste
</lang>
<lang="en">
Test
</lang>

But in browser the text is empty.

I'm using the last version of moodle with the last version os multilang filter.

What is the problem.

Thanks
Ronaldo
I svar til Ronaldo Reis Jr.

Re: Multilang not working

ved Sebastien M. -
Hi Ronaldo:

The multilang tags should be written like this:

<span lang="pt_br" class="multilang">
Teste
</span><span lang="en" class="multilang">
Test
</span>


Seb