This may be a CI question but I'm not 100% sure.
I have set up multiple languages for my site and the language detect function is finding that I've overridden my User Agent string to use the Chinese Standard language but when I call the lang() helper function it still pulls in my english line items from my language file. Using the Fuel language functions it properly shows the currently selected language as Chinese (zh). In my application/language folder I have 2 folders (english and zh) each with a _lang.php file that have the same prefix. Is there some other function I need to call other than the detect function in Fuel_language in order to get the proper language file to be pulled in?
Comments