Localization: ZBZ5 Simple Localizing Tool
Vidar Løvbrekke Sømme (contact me)
This class can be used to retrieve texts for internationalized applications.
The class can load texts from data files for different idioms. Then it can return the translation text for the selected idiom given the original string in English.
If there is a translation data file for the specified idiom, the class uses a fallback idiom file.
If the idiom file does not contain the translation of the given text for that idiom, the input text is returned.
The class also supports replacement of variables in the translated string, with same syntax as the PHP sprintf function.
Click here for detailed information about this class on phpclasses.org