10376 Posts in 2191 Topics by 1708 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 240 Views |
-
get all translations from a specific namespace

15 March 2012 at 8:41am Last edited: 15 March 2012 8:42am
hi,
i would like to get all translations from a specific namespace. for example:_t('LeftAndMain.HELLO','Site content',PR_HIGH,'Menu title');
_t('LeftAndMain.FILESIMAGES','Files & Images',PR_HIGH);
_t('LeftAndMain.NEWSLETTERS','Newsletters');my getLocale('LeftAndMain') function would return:
array(
'HELLO' => 'Site content'
'FILESIMAGES' => 'Files & Images',
'NEWSLETTERS' => 'Newsletters',
);something like that…
how can i access the $lang variable in my Controller?
thanks
Joern -
Re: get all translations from a specific namespace

16 March 2012 at 12:05am
how about...
global $lang;
print_r($lang);
die();
| 240 Views | ||
|
Page:
1
|
Go to Top |


