|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2017-04-30 (3 months ago) || 68%||Total: 404 This week: 1||All time: 6,268 This week: 569|
This package can translate texts for Web sites from JSON files or a database using PDO, MySQL or MySQLi extensions.
There is a class that can detect the user language by either checking the HTTP Accept request header or looking up the country of the user based on the IP address and then looking up the official language of that country.
The user language can also be retrieved from a request parameter named lang.
Another class can read the application texts for the user language from JSON files.
An alternative version can retrieve the application texts from a MySQL database accessed using PDO.
logaty php library to create multilingual website
composer require phptricks/logaty
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.