Welcome Guest, Not a member yet? Register   Sign In
load a lang file into an array
#1

(This post was last modified: 03-28-2017, 10:56 AM by muuucho.)

Hi!

Anyone who knows how I can populate an array with key/values from a lang file WITHOUT loading any from system first? I tried this:  

PHP Code:
$this->lang->load('some_file_lang','english'); 


If I var_dump $this->lang->language I will see an 'array' starting with the key/values from the system files, and then the ones from some_file_lang above. The system key/values are already the docs says. 
Any way to get an array from my own file only?
Reply


Messages In This Thread
load a lang file into an array - by muuucho - 03-28-2017, 09:24 AM
RE: load a lang file into an array - by muuucho - 04-04-2017, 01:21 AM
RE: load a lang file into an array - by muuucho - 04-04-2017, 09:11 AM
RE: load a lang file into an array - by muuucho - 04-06-2017, 05:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB