Download the PHP package romeoz/rock-i18n without Composer
On this page you can find all versions of the php package romeoz/rock-i18n. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download romeoz/rock-i18n
More information about romeoz/rock-i18n
Files in romeoz/rock-i18n
Download romeoz/rock-i18n
More information about romeoz/rock-i18n
Files in romeoz/rock-i18n
Please rate this library. Is it a good library?
Informations about the package rock-i18n
Internationalization library for PHP
Features
- Standalone module/component for Rock Framework
Installation
From the Command Line:
In your composer.json:
Quick Start
Documentation
addMulti(array $data)
Adds list i18-records as array.
addDicts(array $dicts)
Adds dicts as paths.
translate(string|array $keys, array $placeholders = [])
$keys
can be a string, composite string (months.nov
), or array (['months', 'nov']
).
static t(string|array$keys, array $placeholders = [], $category = null, $locale = null)
Translation via the static method.
locale(string $locale)
Select locale.
category($category)
Select category.
Requirements
- PHP 5.4+
License
Rock i18n library is open-sourced software licensed under the MIT license.
All versions of rock-i18n with dependencies
PHP Build Version
Package Version
The package romeoz/rock-i18n contains the following files
Loading the files please wait ....