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

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

Under New BSD License