Internationalization & Easy News

Permalink Browser Info Environment
Is there any way to get these both to work together ?

Problem being

If we use this code to switch between say 2 languages

<?php
$lh = Loader::helper('section', 'multilingual');
$lang = $lh->getLanguage();
if($lang == "en_GB")
{ $a = new GlobalArea('Main'); }
else if($lang == "el_CY")
{ $a = new GlobalArea('Main greek'); }
$a->display($c);
?>

Easy News looks for the 'Main' object, how can we get it to look for 'Main Someotherlangauge'

Anybody have ant ideas ??

Thanks

Type: Discussion
Status: New
mongo
View Replies:
hanicker replied on at Permalink Reply
hanicker
I would handle it in a different way. You can enable easy news attribute in many different areas ( let's say "news", "notizie", etc. ).
Then, you will be able to select one of these areas when creating news.

Anyway, if you check the forum, I posted how to change the block name many times. But you will have to change dashboard.

Sorry for this late reply! Regards
Nick
mongo replied on at Permalink Reply
mongo
Hi!

Can you post a direct link to one of the places you explain how to change the block name.

I tried to search 'easy news' and only using your name (hanicker) and only one thread appears and this does not have instructions on how to change the block name.

Thanks
hanicker replied on at Permalink Reply
hanicker
Sorry for this late reply. Please checkhttp://www.concrete5.org/marketplace/addons/easy-news/questions-and...
Regards
Nick
sacp replied on at Permalink Reply
sacp
Hi.

How to add new news attribute like you said ?
Working on a multilingual page and would be nice to have diferent items depending on language.

In last case it can have a news page and for each news item I will have 3 points: english, portugues and spanish

thanks
sacp replied on at Permalink Reply
sacp
UPDATE:
Looks like it was easier than I thought. After renaming the news page on another language it was possible to select it when inserting news item.

PS. I have internationalization installed and language files under each language "home page".
hanicker replied on at Permalink Reply
hanicker
Hi. Sorry for this late reply. Great, you found the best solution.

Let me know if you have any other problem, I'll try to reply sooner.
Regards
Nick

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.