hello everybody
i have po and mo files that i translated.
but i don't know how to install and activate it
can someone show me that please :p
thank's
installation of the language file
To install the compiled message catalog (.mo file), you need to create the following sub-folder under the directory where PacsOne is installed:
where ${LOCALE} is the locale you've translated the message catalog for, e.g., es_AR for Argentina, zh-TW for Traditional Chinese, etc.
Once you've copied the compiled message catalog (.mo file) into the above sub-folder, you need to enable the gettext PHP extension in your PHP.INI file, by uncommenting the following line:
Then you can restart Apache, and access the PacsOne web pages from a browser in the locale you've translated, all the message texts should now be displayed in the translated languages contained in the compiled message catalog. If you run into any issues, please contact mailto:pacsone@pacsone.net for help on this subject.
Code: Select all
php/locale/${LOCALE}/LC_MESSAGES/
Once you've copied the compiled message catalog (.mo file) into the above sub-folder, you need to enable the gettext PHP extension in your PHP.INI file, by uncommenting the following line:
Code: Select all
extension=php_gettext.dll