Download the PHP package mberatsanli/multilangphp without Composer
On this page you can find all versions of the php package mberatsanli/multilangphp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mberatsanli/multilangphp
More information about mberatsanli/multilangphp
Files in mberatsanli/multilangphp
Download mberatsanli/multilangphp
More information about mberatsanli/multilangphp
Files in mberatsanli/multilangphp
Vendor mberatsanli
Package multilangphp
Short Description Multilang is a language translator library
License MIT
Homepage https://github.com/mberatsanli/multilangPHP
Package multilangphp
Short Description Multilang is a language translator library
License MIT
Homepage https://github.com/mberatsanli/multilangPHP
Please rate this library. Is it a good library?
Informations about the package multilangphp
multilangPHP v2.0.1
Import the library
Using
> How to starting
> Set Languages Directory
before mutlilang::setup();
> GET function
$return | what is does |
---|---|
1 | return |
0 | echo |
$request | what is does | output example |
---|---|---|
lang | Gives you the language selected by the user | en |
dir | Gives you the directory | ../demo/langs/ |
log | Gives the log of the library | array() |
log_last | Gives the last log the library | The current language is set tr |
dir&lang | Gives the language file directory selected by the user | ../demo/langs/tr.php |
> List the language in the defined direcory
$returnType | what is does | output |
---|---|---|
html | Gives languages in html format | div.multilang > [a href="?lang=tr" title="language tr"]tr[/a] |
array | Gives languages in array | array('tr' => 'tr.php') |
> How to create the language file
For example, the folder with the language files: ../demo/langs/
and we create a language folder in the directory. Create LANGUAGE.php
for example az.php
> How to get the text
$type is a CALLED NAME
Example Using
All versions of multilangphp with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
ext-tokenizer Version *
ext-tokenizer Version *
The package mberatsanli/multilangphp contains the following files
Loading the files please wait ....