Localization: I18N class
Alan H. Lake (contact me)
This package can be used to retrieve texts for internationalized applications.
The translation texts for each of the supported languages can be retrieved from different types of containers. Currently the supported container types that are: text files, SQL databases and DBM flat file databases.
It supports using variables in the localized texts, which may be processed during the translation.
The requests to retrieve translation texts are validated before attempting to fetch them.
| Utility
| Consistency
| Docs
| Examples
| Tests
| Videos
| Overall
| Rank
|
| Not sure (50.0%)
| Not sure (58.3%)
| Sufficient (75.0%)
| Not sure (58.3%)
| -
| -
| Not sure (44.2%)
| 1525 |
Click here for detailed information about this class on phpclasses.org
Data
Note regarding the author
Data
Notes changes from project from which this is derived.
Conf.
Container for database connection variables
Example
Test script for single translation file
Example
Example of usage with several files
Example
Example with usage of SQL data
Class
Core class - extracts I18N string given Identifier & Locale
Class
Code to maintain language data in SQL
Data
Sample single file translation data for example_1
Data
Sample single file translation data for example_1
Data
Sample single file translation data
Data
Test script for several file translation example
Data
Sample multiple files translation data
Data
Sample multiple files translation data
Data
Test script for several file translation example
Data
Test script for several file translation example
Data
Test script for several file translation example
Data
Test script for several file translation example
Appl.
Program to validate I18N code in programs and in Locale files/table
Appl.
Program to convert Locale data from one format to another
Appl.
Program to edit DBM data
Aux.
Functions specific to I18N used by other code