klimesf / gettext-translator
Translator for Nette (PHP framework), fork of positivezero/gettext-translator for personal purposes.
This package's canonical repository appears to be gone and the package has been frozen as a result.
v2.3.1
2015-04-05 09:25 UTC
Requires
- php: >=5.3.0
- nette/nette: >=2.1-dev
This package is not auto-updated.
Last update: 2021-12-11 01:38:41 UTC
README
Gettext Translator based on Schmutzka gettexttranslator.
This tool that enables simple and user friendly translation of your texts via panel in debug bar. Works with the Nette 2.2. Do not use with 2.0!
No need to edit or operate with .po/.mo files.
This repository includes php strict standards patches and using convetional non BC tagging!
Installation and usage
translator: class: GettextTranslator\Gettext setup: - setDebugMode(%debugMode%) # sets debug mode - addFile(%appDir%/lang, translations) # adds lang directory with identifier "translations" - GettextTranslator\Panel::register # registers translation panel
Authors in alphabetic order
- Filip Klimeš (filip@filipklimes.cz)
- Josef Kufner (jk@frozen-doe.net)
- Miroslav Paulík (https://github.com/castamir)
- Roman Sklenář (http://romansklenar.cz)
- Miroslav Smetana
- Jan Smitka
- Patrik Votoček (patrik@votocek.cz)
- Tomáš Votruba (tomas.vot@gmail.com)
- Václav Vrbka (gmvasek@php-info.cz)
Under New BSD License