Translate PHP class

Опубликовано: 23 Октябрь 2024
на канале: Easy to Download
17
0

https://www.easy2download.com/
Description
Translate is an easy but flexible PHP class to help you to create multilangual websites. It consist only of one class.php file and as many language files as you want. The simple structure makes it easy to add additional languages. Translate can automatically detect the browser language, supports placeholder in your predefined texts and allowes to define a fallback language. Give it a try and you will see how easy it is to create multilanguage websites.
Installation
The integration or better the necessary preparation of “Translate” to use multiple languages is very simple. Only 3 lines of code are enough: require_once (‘Translate/Translate_class.php’); $translate = new translate(); $translate-setBrowserLanguage();