Use defined language constants instead of complex variables
The current language processing seems unnecessarily complex and can be simplified by using PHP parse_ini_file() method and define() each value.
The language constants and values (english.ini) would simply be written as
and output is simply
This adds greater global usage as the constants can be used in XML, TXT and any other file type.