Cartoweb internationalization without php gettext extension loaded

I18nGettextZend class was developped to avoid caching problems with gettext extension on linux. It was not possible to update .mo files without having to restart Apache. With I18nGettextZend new .mo files are used without the need to restart Apache. I18nGettextZend doesn't need the php gettext extension to be loaded. It uses Zend_Translate from the Zend Framework. I18nGettextZend implements cartoweb I18nInterface and uses singleton pattern. The installation procedure replaces cartoweb3/client/Internationalization.php with a modified version that includes I18nGettextZend. This version is intended for CartoWeb 3.4 . A version for CartoWeb 3.5 is being tested.

AttachmentSizeHitsLast download
I18nGettextZend.zip1.23 MB16738 sec ago

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code language="LANGUAGE">...</code> tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.