Hi, I installed and got running the MLE (Multi-Language Extension).
However it looks like the news module is not working under MLE? Is this true?
Does anyone know how I can get news as MLE?
Best regards, Philip
MLE and News Module
Re: MLE and News Module
Have you read Howto?philip142au wrote: However it looks like the news module is not working under MLE? Is this true?
Does anyone know how I can get news as MLE?
Alby
-
- New Member
- Posts: 2
- Joined: Sun Aug 10, 2008 4:19 am
Re: MLE and News Module
Hi Alby, yes I read (after posting I found the news part) and did that - however, its not working for my news unless I use a English character at the start of the TITLE for the news article.
My site is in English and Chinese traditional.
So for the Chinese, if the title is totally Chinese, its not happening.
You can see the problem at http://www.orsa-studio.com/client/heifer/
Change the website language on top right to Chinese.
Click on the news article where title starts with "a" character and it works.
For article without any English character, it fails.
Regards, Philip
My site is in English and Chinese traditional.
So for the Chinese, if the title is totally Chinese, its not happening.
You can see the problem at http://www.orsa-studio.com/client/heifer/
Change the website language on top right to Chinese.
Click on the news article where title starts with "a" character and it works.
For article without any English character, it fails.
Regards, Philip
Re: MLE and News Module
Use a extra field for alias your titlephilip142au wrote: My site is in English and Chinese traditional.
So for the Chinese, if the title is totally Chinese, its not happening.
You can see the problem at http://www.orsa-studio.com/client/heifer/
Change the website language on top right to Chinese.
Click on the news article where title starts with "a" character and it works.
For article without any English character, it fails.
Alby
Re: MLE and News Module
I'm also having a problem with this. {$lang}, if placed in the body of a template, returns the language properly, such as 'en_US'. However, if I put lang inside of the News module, such as {news category="Category Name - $lang" number="1" moretext="more info" detailpage="news"} it just returns 'Array'. Any idea of what I'm doing wrong? I'm on MLE 1.6.7.
Re: MLE and News Module
I just figured this one out. I couldn't use $lang inside of a tag unless it was assigned to another variable for some reason. This only worked when done within the html 'body' (within 'header' failed): {capture assign='langvar'}{$lang}{/capture} , then I could load it into the news module, and it worked: {news category="Cat Name-$langvar" number="1" moretext="more info" detailpage="news"} .
Last edited by justin16l on Fri Jun 18, 2010 4:19 pm, edited 1 time in total.
Re: MLE and News Module
I have not this behaviour.justin16l wrote: I'm also having a problem with this. {$lang}, if placed in the body of a template, returns the language properly, such as 'en_US'. However, if I put lang inside of the News module, such as {news category="Category Name - $lang" number="1" moretext="more info" detailpage="news"} it just returns 'Array'. Any idea of what I'm doing wrong? I'm on MLE 1.6.7.
$lang works in template header (e.g. {title} | {sitename} | {$lang}) and in template body with:
{news number="3" detailpage="news" category="General-$lang" lang="$lang"}
(not work but if I rename General in General-en_US work well)
Have you checked in Admin Global settings?
Alby