Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/voda/php-translator
gettext translator for Nette templates
https://github.com/voda/php-translator
Last synced: 22 days ago
JSON representation
gettext translator for Nette templates
- Host: GitHub
- URL: https://github.com/voda/php-translator
- Owner: voda
- License: other
- Created: 2011-01-07T19:31:11.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2013-05-13T14:42:25.000Z (over 11 years ago)
- Last Synced: 2024-10-01T14:18:51.655Z (about 1 month ago)
- Language: PHP
- Homepage:
- Size: 109 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
php-translator
==============Gettext based translator for php with macros for [Nette Latte](http://nette.org/) templates.
Installation
------------
php-translator can be installed with composer. Just add `"voda/php-translator": "*"` to your require section of composer.json. This library depends on [php-gettext](https://launchpad.net/php-gettext), which unfortunately isn't a composer package. However you can add the following code to your composer.json file and the composer will install it for you.```json
{
"repositories": [
{
"type": "package",
"package": {
"name": "php-gettext/php-gettext",
"version": "1.0.11",
"dist": {
"type": "tar",
"url": "https://launchpad.net/php-gettext/trunk/1.0.11/+download/php-gettext-1.0.11.tar.gz"
},
"autoload": {
"classmap": [
"gettext.php",
"streams.php"
]
}
}
}
],
"require": {
"php-gettext/php-gettext" : "1.0.*"
}
}
```License
-------
php-translator is licensed under the New BSD License.Copyright
---------
* 2011 Antee, s.r.o.
* 2011 Ondřej Vodáček