2017 © Pedro Peláez
 

library translation

Symfony Translation loader for WHSuite. Note: This package will not work outside of the WHSuite framework.

image

whsuite/translation

Symfony Translation loader for WHSuite. Note: This package will not work outside of the WHSuite framework.

  • Tuesday, September 27, 2016
  • by turn24
  • Repository
  • 1 Watchers
  • 1 Stars
  • 103 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 3 % Grown

The README.md

Translations

The WHSuite translations package is designed to use Symfony/Translation to retrieve language phrases., (*1)

Note: This package will not work outside of the WHSuite system and framework as it requires several framework specific features., (*2)


Usage

To use the translation system it first has to be loaded into the system, like so:, (*3)

$trans = new \Whsuite\Translation\Translation();

$trans->init('en'); // Initiate the language system

Once it's loaded up, you can call a language phrase like so:, (*4)

echo $trans->get('<your-phrase-key>');

License

The code inside this package is released under The MIT License. As such you are free to do with it as you like, provided copyright notices remain in place., (*5)

Please note that this license applies only to the code within this directory, and its sub-directories. The core WHSuite product is not covered under this license., (*6)

The Versions

27/09 2016

dev-master

9999999-dev

Symfony Translation loader for WHSuite. Note: This package will not work outside of the WHSuite framework.

  Sources   Download

MIT

The Requires

 

by WHSuite

27/09 2016

1.1.0

1.1.0.0

Symfony Translation loader for WHSuite. Note: This package will not work outside of the WHSuite framework.

  Sources   Download

MIT

The Requires

 

by WHSuite