CodeIgniter-Language-Switch
CodeIgniter-Language-Switch copied to clipboard
Caching is not working properly when the multi language support is enabled.
Hi,
Using your library to add multilanguage support I found a problem when caching is enabled. It causes always displaying the first page stored in cache, because CI uses the information on "URI Class" to make the hash of the file and it hasn't any reference to the language requested.
I just overwrite the "CI Ouput Class" to add the language code, stored in the "LANGUAGE" constant, and it works.
Greetings, Ismael