CodeIgniter Forums
how to use languages [solved] - 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: how to use languages [solved] (/showthread.php?tid=52338)



how to use languages [solved] - El Forum - 06-06-2012

[eluser]pyweb1[/eluser]
hi,

This may be an easy answered question but i can't find anything about it (maybe it's "too" easy!).

I would like my codeigniter errors to be in french. the file_uploading class report errors in English like this one

Quote:You did not select a file to upload.

I can't find a single tutorial or website telling step by step or to do that. i would like to find a french language pack and a tutorial to set the default language to french (autoload)?

thx a lot




how to use languages [solved] - El Forum - 06-06-2012

[eluser]emily12[/eluser]
http://ellislab.com/codeigniter/user-guide/libraries/language.html

Does this help? It explains how to assign strings to errors, or whatever you like. Smile


how to use languages [solved] - El Forum - 06-07-2012

[eluser]pyweb1[/eluser]
it doesn't explain how to download and set a french language pack (if that exist), i have already read the language library reference in the user guide.


how to use languages [solved] - El Forum - 06-07-2012

[eluser]PhilTem[/eluser]
As one can find on the CodeIgniter-download page this link will lead to you to where to download other language files/packs

http://codeigniter.com/wiki/Language_Translation

Installation should be an ease Wink


how to use languages [solved] - El Forum - 06-07-2012

[eluser]pyweb1[/eluser]
ok i got it, needed that and to change the right config info
thx a lot for your help