|What is the best PHP multilanguage wi...
|Request new recommendation
by Gourav Khandelwal - 7 years ago (2016-03-15)
I need a multilanguage script to run without using a database. I am making a Web site which is being converted into a multilanguage site, so please suggest me packages to help me on this.
1. by Dave Smith - 7 years ago (2016-04-10) Reply
The downside is that you are stuck with their translations, which are not always accurate.
Translate texts extracted from code into INI files
This class can get application language texts from files.
It can get the current user preferred language from session, GET or POST variables.
The class loads a text file with application texts from a file which contains the text for each application text string in different languages.
The class returns a given application text in a given supported language.
Currently it supports English, Spanish and French languages.
The class can also add new application texts to the translations file.
Hello. This package can use multiple translation files. It uses XML files where you can put two levels of translation for complex cases. You can even implement comparisons for numeric translations.