2017 © Pedro Peláez
 

symfony-bundle locale-bundle

Symfony SKCMS Locale Bundle by SOLID-kiss

image

skcms/locale-bundle

Symfony SKCMS Locale Bundle by SOLID-kiss

  • Friday, November 17, 2017
  • by kokmok
  • Repository
  • 1 Watchers
  • 0 Stars
  • 144 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

SKCMS-Locale

This package is currently under development, more documentation and features will come soon., (*1)

The Locale bundle of SKCMS for Symfony2

Installation

Download dependecies via composer

use php composer.phar instead of composer on Windows, (*2)

composer require SKCMS/locale-bundle:dev-master

Install Languages, Currencies and countries.

you have to install countries last, (*3)

php app/console skcms:import:languages
php app/console skcms:import:currencies
php app/console skcms:import:countries

Usage

This bundle will halp you with translations and other locale things like countries, addresses, currencies.., (*4)

Translate entities

You just have to enable translatable in config.yml, (*5)

stof_doctrine_extensions:
    orm:
        default:
            translatable: true

have a parameter locale in parametrs.yml or in config.yml, (*6)

and in config.yml:, (*7)

framework:
    default_locale:  "%locale%"

Now all you have to do is modify a bit tyour tranlatable entities adn repositories (look how it's done in SKCMS\LocaleBundle\Country )., (*8)

Credits : datas come from : countries : https://github.com/mledoze/countries currencies : https://github.com/datasets/currency-codes languages : http://pastebin.com/raw.php?i=ppdMS687, (*9)

The Versions

17/11 2017

0.3.x-dev

0.3.9999999.9999999-dev

Symfony SKCMS Locale Bundle by SOLID-kiss

  Sources   Download

GPL-3.0+

The Requires

 

03/02 2016

0.2.x-dev

0.2.9999999.9999999-dev

Symfony SKCMS Locale Bundle by SOLID-kiss

  Sources   Download

GPL-3.0+

The Requires

 

03/02 2016

dev-master

9999999-dev

Symfony SKCMS Locale Bundle by SOLID-kiss

  Sources   Download

GPL-3.0+

The Requires

 

29/01 2016

v0.1

0.1.0.0

Symfony SKCMS Locale Bundle by SOLID-kiss

  Sources   Download

GPL-3.0+

The Requires