2017 © Pedro Peláez
 

library languagepack

A libraty to manipulate language package

image

helionogueir/languagepack

A libraty to manipulate language package

  • Friday, December 9, 2016
  • by helionogueir
  • Repository
  • 1 Watchers
  • 0 Stars
  • 401 Installations
  • PHP
  • 6 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Language Pack

A libraty to manipulate language package., (*1)

Installation

Composer (https://getcomposer.org/) and (https://packagist.org/), (*2)

composer require helionogueir/languagepack

Usage

helionogueir\languagepack\Lang

Define how to language package to be work, (*3)

use helionogueir\languagepack\Lang;
Lang::configuration("en-US");
Lang::addRoot("helionogueir/languagepack", "./languagepack/core");
echo Lang::get("languagepack:test:get", "helionogueir/languagepack", Array("method" => "Usage"));

smarty_modifier_languagepack_lang

Smarty Modifiers (http://www.smarty.net/docs/en/plugins.modifiers.tpl) and (http://www.smarty.net/)

Define how to smarty_modifier_languagepack_lang to be work, (*4)

/* Configuration Smarty */
use Smarty;
$smarty = new Smarty();
$smarty->addPluginsDir("./languagepack/core/modifier");

```php /* Template (.tpl) smarty_modifier_languagepack_lang Called */ , (*5)

{"languagepack:test:get"|languagepack_lang:"helionogueir/languagepack":["method" => "Usage"]}, (*6)

------
## TDD (Test Driven Development)

PHPUnit (https://phpunit.de/)
```sh
phpunit -c ./languagepack/tests/unit.xml

The Versions

09/12 2016

dev-master

9999999-dev https://github.com/helionogueir

A libraty to manipulate language package

  Sources   Download

MIT

The Requires

 

by Helio Nogueira

language library package tool lang locate transalation

09/12 2016

v1.1.0

1.1.0.0 https://github.com/helionogueir

A libraty to manipulate language package

  Sources   Download

MIT

The Requires

 

by Helio Nogueira

language library package tool lang locate transalation

07/12 2016

v1.0.0

1.0.0.0 https://github.com/helionogueir

LanguagePack - Library of control for language package

  Sources   Download

MIT

The Requires

 

by Helio Nogueira

language php package tool lang locate languagepack