8. Internationalization

8.1. How can I fix a misspelling for a language?

8.2. How can I add a new language?

8.3. The compilation/make fails on the Perl module gettext

Sometimes there are problems with the compilation of the Perl module gettext. The most common problem is a loader problem where ld reports a non existing library intl (-lintl). The output look like follows:

The Perl module is only an interface to a C library from gettext. You must install the package gettext and the problem should be solved.

8.4. MySQL and SET NAMES errormessages

Sometimes you find errors releated to SET NAMES in the logs of your SQL server if you use MySQL before version 4.1. This happens because MySQL supports this part of SQL only since version 4.1. You can ignore these errormessages.

Databases and their tables are usually created for a specific language. OpenCA is able to support all available languages at all times since version 0.9.2. This requires the support for several different character encodings like UTF-8, ISO 8859-1, ISO 8859-2 and ISO 8859-15. Therefore OpenCA must set the used character encoding before it uses a database. If we don't do this then the database can abort actions because of failing transformations. SQL defines a syntax for such operation which include SET NAMES. MySQL implemented this only since 4.1 and therefore we run the SQL command in a way which don't abort transactions. Therefore you can ignore errormessages from your MySQL database if the version is smaller than 4.1.