Giter Site home page Giter Site logo

wdes / php-i18n-l10n Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 4.0 258 KB

PHP library/api to provide Internationalisation and Localisation

License: Mozilla Public License 2.0

Shell 3.29% PHP 95.54% Twig 1.18%
mo-files internationalization localization library api twig-extension json internationalisation php-library localisation

php-i18n-l10n's People

Contributors

fossabot avatar williamdes avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

php-i18n-l10n's Issues

\Twig\Environment::createTemplate will return \Twig\TemplateWrapper, not \Twig_Template

As title, the Twig will change return instance in this \Twig\Environment::createTemplate method when Twig version is v2.11.0.

The failed Travis CI build log is available here.

The previous Travis CI build log is fine because the package used the Twig version is v2.6.0.

And it also effects the preg_match_all behavior inside MemoryCache::extractDoDisplayFromCache method.

References

Script to create initial po files

Searching into /home/jaspe/Documents/wdes/doctum/build/twigcache for *.php, output Doctum.pot into /home/jaspe/Documents/wdes/doctum/locale
PoDir: /home/jaspe/Documents/wdes/doctum/locale/
File: /home/jaspe/Documents/wdes/doctum/locale/fr.po
msgfmt: /home/jaspe/Documents/wdes/doctum/locale/fr.po: AVERTISSEMENT : l'en-tête du fichier .po est absent ou invalide
                                                        AVERTISSEMENT : la conversion d'encodage ne fonctionnera pas
msgfmt: 1 erreur fatale trouvée

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.