CodeIgniter Forums
Language class missing? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Language class missing? (/showthread.php?tid=42144)



Language class missing? - El Forum - 05-27-2011

[eluser]Unknown[/eluser]
Downloaded the 2.0.2 release from the home page. There is no Language class in system/libraries and I get an error when I try to autoload "Language".


Language class missing? - El Forum - 05-27-2011

[eluser]WanWizard[/eluser]
As of CI version 2, core libraries are in 'core', and no longer in 'libraries'. And the library is now called 'Lang'.

Check the user guide first, read changelogs if needed (if you come from an older version) and then ask questions...


Language class missing? - El Forum - 05-27-2011

[eluser]Unknown[/eluser]
Come on man, don't be like that.

Just put the info here: http://ellislab.com/codeigniter/user-guide/libraries/language.html and you're fine.


Language class missing? - El Forum - 05-27-2011

[eluser]WanWizard[/eluser]
I didn't write the docs.

If they're not correct (looks like the library loading instructions are missing), please create an issue to that effect on http://bitbucket.org/ellislab/codeigniter/issues.


Language class missing? - El Forum - 05-27-2011

[eluser]tomcode[/eluser]
The Language class is autoloaded by the system, no need to load it in the application