installation of the language file

Trouble during PacsOne Server installations
Post Reply
j.montier
Posts:8
Joined:Tue Jun 12, 2007 10:32 am
installation of the language file

Post by j.montier » Tue Jun 12, 2007 10:37 am

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

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Tue Jun 12, 2007 3:28 pm

To install the compiled message catalog (.mo file), you need to create the following sub-folder under the directory where PacsOne is installed:

Code: Select all

php/locale/${LOCALE}/LC_MESSAGES/
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:

Code: Select all

extension=php_gettext.dll
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.

j.montier
Posts:8
Joined:Tue Jun 12, 2007 10:32 am

Post by j.montier » Thu Jun 14, 2007 2:31 pm

thank's
that work great

:)

Post Reply