|Ratings|| ||Unique User Downloads|| ||Download Rankings|
| 68%||Total: 435 ||All time: 6,203 This week: 304|
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.