Good way to create script supporting translations? - Joomla! Forum - community, help and support
i'm creating open-source cms , wondering best way add localizations? decided have them in files similar lang.en.php. assume arrays, in form?
$lang['xyz'] = "text goes here!";
or should create custom parser , add localizations file, this:
what suggest? tried search no results me.
$lang['xyz'] = "text goes here!";
code: select all
$lang['text goes here!'] = "translated text!";or should create custom parser , add localizations file, this:
code: select all
"text goes here!" = "translated text!";
and parse it.what suggest? tried search no results me.
i not think posting such question in joomla forums reply. 
we not use .php files language translations since 1.5 , switched native php .ini parsing in 2.5.
we not use .php files language translations since 1.5 , switched native php .ini parsing in 2.5.
Comments
Post a Comment