Welcome Guest, Not a member yet? Register   Sign In
global files
#1

[eluser]soupdragon[/eluser]
multi-language site and i need somewhere to put my lang specific texts.

normally (ie not code igniter) i would have a file somewhere with arrays in for my lang specific texts

eg

$G_ctrl['eng'] = array(
// fehlermeldungen
'errors' => array(
'e000' => 'Undefinierter Fehler',

and then for other langs etc.....

then i just call error e000 and get the correct message for the failure

what is the best way to do the same in codeigniter ?
btw this is not just for error messages

i basically am trying to avoid having lots of lang specific messages in either controllers or in views !

any help aprreciated !


Messages In This Thread
global files - by El Forum - 06-10-2008, 03:11 AM
global files - by El Forum - 06-10-2008, 03:36 AM
global files - by El Forum - 06-10-2008, 05:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB