Internationalization

See all posts See thread Reply

Re: Internationalization new!
by colin, 17 years, 3 months ago
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