Load language ini file in a php variable ?

145 views
Skip to first unread message

Thomas PAPIN

unread,
May 12, 2012, 7:50:47 PM5/12/12
to joomla-de...@googlegroups.com
Hello,

Is there a built-in function or code in joomla to be able to load all translations of a language file in a php variable ?

I need to be able to get at the same time the translations of a language file in different languages. So I would like to load all the translations in a array indexed by the language code.

Thomas

Thomas PAPIN

unread,
May 12, 2012, 7:56:54 PM5/12/12
to joomla-de...@googlegroups.com
the "parse function" seems to do what I want but the function is "protected"
So I need to create a new Language class extends JLanguage to be able to use this function.

I think this is the better solution ?

Thomas


2012/5/13 Thomas PAPIN <thomas...@gmail.com>
Reply all
Reply to author
Forward
0 new messages