LanguageSys 1.1.2 review

Download
by rbytes.net on

LanguageSys is meant to internationalize your applications

License: LGPL (GNU Lesser General Public License)
File size: 0K
Developer: Florian Breit
0 stars award from rbytes.net

LanguageSys is meant to internationalize your applications. It handles the access to language files, which are based on an INI style. It is possible to precompile the language files to increase the speed of processing.

This system is focused on being highly object-oriented, so it makes the language aliases aviable as member variables of the own class.

It contains a system to fetch a list of all the available languages by a given directory where the language files are located.

A distinction of languages is drawn as RFC1766 recommends. Examples, documentation, and a simple script to precompile your language files are included.

What's New in This Release:
Updated method LanguageSys():
Changed the order is used to set the default resource directory.
Updated method get_aviable_languages():
Now using LSYS_RTN_CODES as default if a wrong value is given.
Updated method _parse():
Added a error message for handling errors by confusion with the format of given codes between _parse() and _pparse().
Updated method _pparse():
Added a error message for handling errors by confusion with the format of given codes between _parse() and _pparse(). Changed something with the replaces of entities in strings.
Updated all methods:
Implemented more useful error messages. Done general code clean-ups.
Bugfix in method get_aviable_languages():
Files with any file name extension where listed before, now only files with the file name extensions *.ini or *.lng will be listed.
Bugfix in method _pparse():
It was allowed to define items starting with a double underscore, so there was the abitility to override internal variables. This is not longer possible.
Bugfix in method _pparse():
_pparse() has produced an error on string endings like ", this should not been longer the case.
Documentation updated:
Added a part about migration from LanguageSys 1.1.1 to 1.1.2 to the file migration.htm.

LanguageSys 1.1.2 search tags