Welcome Guest, Not a member yet? Register   Sign In
Translate Display_Errors from Upload's class
#1

[eluser]Unknown[/eluser]
Hello!

I need to translate the error messages from display_errors() of Upload's Class. I already tried our buddy Google to localize this answer, but without success.

To be more specific, when CI finds an error on image's upload, he returns me:
Quote:You did not select a file to upload.
But this message is invalid to my case. I have to change it... I have to translate it! Can you all understand me?

Thanks in advance.

See ya!
#2

[eluser]PhilTem[/eluser]
I guess you are not referring to translating it in language (i.e. changing to e.g. Spanish or German) but to some other way of translating?

Otherwise you should have found have something using Google or CI's user's guide regarding Internationalization
#3

[eluser]Unknown[/eluser]
Hello Phil. Thanks about your answer.

I want to show the upload response to user by AJAX. In the same way, I want to display the message in multilanguage (like Portuguese and Deutsch). The message is default by CodeIgniter and I can't translate it.

So I ask: how can I change the message or translate it?

Thanks in advance.

------
@edit

I already know the Internationalization's Library of CI, but its not my case. I need to translate a default CI's message.




Theme © iAndrew 2016 - Forum software by © MyBB