class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
The class simply uses the function _() to translate text. At the end of the class, the function _() is defined if it doesn't already exist, and simply returns the text that it receives in input.
So you can define your own function _() that will translate the messages, and for instance just wrap your own translation functions with it.Reply
So you can define your own function _() that will translate the messages, and for instance just wrap your own translation functions with it.