This package is intended to be used to compile localization files stored in PO files resulting in MO files that can be used directly by GetText extension/librry in PHP

Installs: 21

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1


1.0.7 2015-07-10 15:57 UTC

This package is auto-updated.

Last update: 2023-11-19 19:19:34 UTC



recursive search PO files within a given folder and compile them into MO

For Windows OS, you may download GetText utilities (which includes the compiler) from: http://mlocati.github.io/gettext-iconv-windows/ where versions for both 32bit and 64bit are available

(07.12.2014 - tried https://github.com/phpmo/php.mo on Windows and does not work w. PHP 5.6 nts w. FCGId) (07.12.2014 - tried https://github.com/trachalakis/Msgfmt.git on Windows and does not work w. PHP 5.6 nts w. FCGId)


  1. run "composer install" to get the dependent packages added
  2. open the file "compileLocalization.class.inc" in a text editor and adjust the compiler and folders desired to be scanned for PO files
  3. run a PHP instance referring to this folder + index.php file OR open a browser and refer to this package and index.php file (after you have placed this package under a visible folder in your web server, of course)