Array as language_key |
Hello.
Is it possible to use language_key as an array? For example, my language file looks like this: PHP Code: $lang = array_merge($lang, [ Can I fetch $lang['DATETIME']['MONTH']['JANUARY'] using Language Helper's function lang()? Or CodeIgniter doesn't support language_key as an array and I've to make my own function? Thanks, Vigo
It does not support it like that but you may be able to extend the library and helper.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |