php-gettext_1.0.11-1_all.deb


Advertisement

Description

php-gettext - read gettext MO files directly, without requiring anything other than PHP

Distribution: Debian 7 (Wheezy)
Repository: Debian Main amd64
Package name: php-gettext
Package version: 1.0.11
Package release: 1
Package architecture: all
Package type: deb
Installed size: 104 B
Download size: 16.94 KB
Official Mirror: ftp.br.debian.org
The GNU gettext library is a widely used localization library, but in order to use it with the PHP language, the system has to support the desired locale, and library itself must be installed. Since this is not always the case, PHP-gettext has been developed to be able to read gettext MO files directly, without requiring anything other than PHP. Currently, it's usable if you develop most of the infrastructure for choosing language on your own, because it's possible to use both gettext() and ngettext() calls. In the near future, it should also be fully compatible drop-in replacement for all of gettext functionality written in PHP.

Alternatives

Requires

    Download

    Source package: php-gettext

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install php-gettext deb package:
      # sudo apt-get install php-gettext

    Files

    • /usr/share/doc/php-gettext/AUTHORS
    • /usr/share/doc/php-gettext/README.gz
    • /usr/share/doc/php-gettext/changelog.Debian.gz
    • /usr/share/doc/php-gettext/copyright
    • /usr/share/doc/php-gettext/examples/index.php
    • /usr/share/doc/php-gettext/examples/pigs_dropin.php
    • /usr/share/doc/php-gettext/examples/pigs_fallback.php
    • /usr/share/doc/php-gettext/examples/update
    • /usr/share/doc/php-gettext/examples/locale/de_CH/LC_MESSAGES/messages.mo
    • /usr/share/doc/php-gettext/examples/locale/de_CH/LC_MESSAGES/messages.po
    • /usr/share/doc/php-gettext/examples/locale/sr_CS/LC_MESSAGES/messages.mo
    • /usr/share/doc/php-gettext/examples/locale/sr_CS/LC_MESSAGES/messages.po
    • /usr/share/php/php-gettext/gettext.inc
    • /usr/share/php/php-gettext/gettext.php
    • /usr/share/php/php-gettext/streams.php

    Changelog

    2012-03-08 - Marcelo Jorge Vieira (metal) <metal@debian.org> php-gettext (1.0.11-1) unstable; urgency=low * New Upstream version + Using php-gettext in E_STRICT mode displays warning (Closes: #639352) * Fixed watch file * Minimizing rules file * phpunit FTBFS, so I'm ignoring it in Makefile + See #628349 and #607372 for details. * Updated Standards-Version to 3.9.3 + Machine-readable debian/copyright version 1.0

    2010-03-27 - Marcelo Jorge Vieira (metal) <metal@debian.org> php-gettext (1.0.10-1) unstable; urgency=low * New Upstream version - Reverted "Fixed deprecated eregi function" patch; - Added phpunit as Build-Depends; - Tests failed when I built php-gettext in a clean chroot; To fix it, I've unset the LC_ALL variable in LocalesTest.php file. * Switch to dpkg-source 3.0 (quilt) format

    2010-03-14 - Marcelo Jorge Vieira (metal) <metal@debian.org> php-gettext (1.0.9-2) unstable; urgency=low * Fixed deprecated eregi function; As of PHP 5.3.0, the regex extension is deprecated in favor of the PCRE extension. * Updated Standards-Version to 3.8.4 (no changes) * Changing my email for Debian address * Removed DM-Upload-Allowed field * Changed VCS fields to my new account in Alioth

    2009-12-30 - Marcelo Jorge Vieira (metal) <metal@alucinados.com> php-gettext (1.0.9-1) unstable; urgency=low * New Upstream version - Removed all patches, because was applied upstream * Updated Standards-Version to 3.8.3 * Updated watch file to new upstream host * Added AUTHORS in docs file * Updated year and copyright holders * Updated upstream-source field in copyright file * Updated Homepage field in control file

    2009-06-14 - Marcelo Jorge Vieira (metal) <metal@alucinados.com> php-gettext (1.0.7-8) unstable; urgency=low * Changed section from 'web' to 'php' * Updated Standards-Version to 3.8.1 * Fixes debian/rules debian/rules did not provide a build-arch or build-indep neither it built the same binary package by only running the binary target.

    2009-03-11 - Marcelo Jorge Vieira (metal) <metal@alucinados.com> php-gettext (1.0.7-7) unstable; urgency=low * Added VCS fields in control file * Removing cdbs references and bumping package to debhelper 7 * Fixed patches headers * Added quilt support * Added DM-Upload-Allowed control field * Added 'php5-cli or php5' as dependency * Moving examples from install debhelper file to examples debhelper file * Added patch to fix failures when E_STRICT is active (Closes: #518007); Thanks Arthur Taylor * Added patch to fix MakeFile (added clean target)

    2008-07-15 - Marcelo Jorge Vieira (metal) <metal@alucinados.com> php-gettext (1.0.7-6) unstable; urgency=low * Updated copyright * Fixed bashism in /bin/sh script (Closes: #489639) * Updated Standards-Version to 3.8.0

    2008-03-06 - Marcelo Jorge Vieira (metal) <metal@alucinados.com> php-gettext (1.0.7-5) unstable; urgency=low * Updated Standards-Version to 3.7.3 * Fixed copyright-without-copyright-notice

    2007-10-23 - Marcelo Jorge Vieira (metal) <metal@alucinados.com> php-gettext (1.0.7-4) unstable; urgency=low * Added watch file

    2007-09-13 - Marcelo Jorge Vieira (metal) <metal@alucinados.com> php-gettext (1.0.7-3) unstable; urgency=low * Removed php4 from control depends

    Advertisement
    Advertisement