benjamincurrie/CodeIgniter-Language-Switch — pull request #3 by isma- (2012-12-12 09:11:23+00:00)
Title: 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