Download the PHP package niirrty/niirrty.translation without Composer
On this page you can find all versions of the php package niirrty/niirrty.translation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package niirrty.translation
Niirrty.Translation
A small PHP file based translation library.
Installation
inside the composer.json
:
How to use
Translation sources
A translator must have 1 or more translation sources. Each source defines a directory, that must contain the translation source files, for all supported languages.
Translation files
- The file name (without extension) must be the locale name. (eg.
de
orde_AT
) - The file extension must be supported by the used
ISource
implementation. Currently known is.php
(PHPFileSource).json
(JSONFileSource) and.xml
(XMLFileSource)
Example directory structure
PHP file source
Format is:
JSON file source
Format is:
XML file source
Format is:
All versions of niirrty.translation with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
niirrty/niirrty.locale Version ^0.6
niirrty/niirrty.io.vfs Version ^0.6
psr/log Version ~1.0
ext-json Version *
ext-simplexml Version *
niirrty/niirrty.locale Version ^0.6
niirrty/niirrty.io.vfs Version ^0.6
psr/log Version ~1.0
ext-json Version *
ext-simplexml Version *
The package niirrty/niirrty.translation contains the following files
Loading the files please wait ....