Welcome Guest, Not a member yet? Register   Sign In
Localization for an app
#4

[eluser]Maglok[/eluser]
I still need a way to detect the language setting though. The customer kinda wants both to enter through a different subdomain into the same CI app. No simple language uri segment thus. Sad

This is interesting though. So I could make like a few, for different pages. I could also throw the entire array of lang for that page in a local array to not have to load the entire 'dictionary'?

Am I making any sense? Tongue

EDIT: I made this post when you replied. Well I of course pass more then the lang to the view so I'd have to add it to the array of data I pass. Like uhm so:

$data['lang] = $this->lang->blabla
$this->load->view('somepage', $data)


Messages In This Thread
Localization for an app - by El Forum - 08-09-2010, 06:08 AM
Localization for an app - by El Forum - 08-09-2010, 06:34 AM
Localization for an app - by El Forum - 08-09-2010, 06:40 AM
Localization for an app - by El Forum - 08-09-2010, 06:41 AM
Localization for an app - by El Forum - 08-09-2010, 07:00 AM
Localization for an app - by El Forum - 08-09-2010, 07:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB