Different global area for different languages

Permalink
I have a multilanguage site. I have some global areas inside that. I want to have different content for those global areas for different language. How can I achieve that in concrete.

 
farion replied on at Permalink Reply
farion
One idea is to use the current language inside the area name.

For example like this:
<?php
$a = new Area('Navigation-'.Localization::activeLanguage());
$a->display($c);
?>


This will create a global area for each language named Navigation-en, Navigation-de and so on.

Best,
Frieder