dev-master
9999999-dev http://eve.openovate.comLocalization Plugin for the Eve Framework
MIT
The Requires
- php >=5.4.1
- eden/registry 4.*
by Christian Blanquera
plugin eve
Localization Plugin for the Eve Framework
====, (*1)
composer install eve-php/eve-plugin-l10n
, (*3)
====, (*4)
//l10n ->add(Eve\Plugin\L10n\Setup::i()->import(array( //Default 'default' => array( 'name' => 'Website', 'locale' => '%', 'currency' => 'USD', 'i18n' => array('en_US'), ), //GLOBAL Domain 'example.com' => 'default', //Other Domains 'sub.example.com' => array( 'name' => 'Philippines Website', 'location' => 'Philippines', 'locale' => 'philippines', 'currency' => 'PHP', 'i18n' => array('tg_PH', 'en_US'), ) ))
Customize as needed., (*6)
Create both settings/i18n/en_US.php
and settings/i18n/tg_PH.php
., (*7)
Add this to both files, (*8)
<?php //--> return array( 'Cancel' => 'Cancel', 'Edit' => 'Edit', 'Loading...' => 'Loading...', 'Login' => 'Login', 'Logout' => 'Logout', 'Name must be entered.' => 'Name must be entered.', 'Remove' => 'Remove', 'Sign Up' => 'Sign Up', 'Update' => 'Update', 'User does not exist!' => 'User does not exist!', 'View Products' => 'View Products', ); ?>
Localization Plugin for the Eve Framework
MIT
plugin eve