2017 © Pedro Peláez
 

symfony-bundle translation-helper-bundle

Symfony Translation Helper Bundle

image

ibrows/translation-helper-bundle

Symfony Translation Helper Bundle

  • Friday, July 20, 2018
  • by ibrows
  • Repository
  • 14 Watchers
  • 1 Stars
  • 6,800 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 30 Versions
  • 3 % Grown

The README.md

IbrowsTranslationHelperBundle

Build Status, (*1)

Provide a TranslationWrapper which can create missing translations for you, (*2)

Enable/disbale creation over config., (*3)

Normalize translationkeys, (*4)

Decorate Missing Keys, (*5)

Use your own customized Creator, (*6)

Currently only YML Translation-Creator shipped in the Bundle, (*7)

Install & setup the bundle

  1. Add IbrowsTranslationHelperBundle in your composer.json:, (*8)

    {
        "require": {
            "ibrows/translation-helper-bundle": "~1.0",
        }
    }
    
  2. Now tell composer to download the bundle by running the command:, (*9)

    bash $ php composer.phar update ibrows/translation-helper-bundle, (*10)

    Composer will install the bundle to your project's ibrows/translation-helper-bundle directory. ( PSR-4 ), (*11)

  3. Add the bundle to your AppKernel class, (*12)

    php // app/AppKernerl.php public function registerBundles() { $bundles = array( // ... new \Ibrows\TranslationHelperBundle\IbrowsTranslationHelperBundle(), // ... ); // ... }, (*13)

  4. Sample Configuration, (*14)

    yml ibrows_translation_helper: translator: normalize: true create: true creator: ibrows_translation_helper.defaultcreator decorate: !!!%s ignoreDomains: [] deleteCache: false creator: format: yml path: %kernel.root_dir%/../src/Ibrows/SampleBundle/Resources/translations decorate: ___%s backup: false ucFirst: false, (*15)

Avoid unnecessary translations in choices

Use this in your form_div_default_layout.html.twig, (*16)

{% extends 'form_div_layout.html.twig' %}
{% use '@IbrowsTranslationHelper/form_div_layout_trans_fix.html.twig' %}

And use this for SonataAdmin, (*17)

``` yml sonata_doctrine_orm_admin: entity_manager: ~ templates: form: - 'IbrowsTranslationHelperBundle::form_admin_fields.html.twig', (*18)


``` yml sonata_admin: templates: filter: IbrowsTranslationHelperBundle::form_admin_fields.html.twig

The Versions

20/07 2018

dev-3.0.0-Symfony3.4

dev-3.0.0-Symfony3.4 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

29/06 2018

dev-master

9999999-dev http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

29/06 2018

3.0.4

3.0.4.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

28/08 2015

3.0.2

3.0.2.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

15/07 2015

3.0.1

3.0.1.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

07/07 2015

3.0.0

3.0.0.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

19/06 2015

dev-symfony27

dev-symfony27 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

05/03 2015

2.0.4

2.0.4.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

17/02 2015

2.0.3

2.0.3.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

17/02 2015

2.0.2

2.0.2.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

23/01 2015

2.0.1

2.0.1.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

23/01 2015

2.0.0

2.0.0.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

05/01 2015

1.4.9

1.4.9.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

12/12 2014

1.4.8

1.4.8.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

29/10 2014

1.4.7

1.4.7.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

08/10 2014

1.4.6

1.4.6.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

22/09 2014

1.4.5

1.4.5.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

17/09 2014

1.4.4

1.4.4.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

04/09 2014

1.4.3

1.4.3.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

29/08 2014

1.4.2

1.4.2.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

28/08 2014

1.4.1

1.4.1.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

28/08 2014

1.4.0

1.4.0.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

13/08 2014

1.3.1

1.3.1.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

13/08 2014

1.3.0

1.3.0.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

03/07 2014

1.2.0

1.2.0.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

03/07 2014

1.1.0

1.1.0.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

05/06 2014

1.0.3

1.0.3.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

05/06 2014

1.0.2

1.0.2.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

10/04 2014

1.0.1

1.0.1.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator

25/03 2014

1.0.0

1.0.0.0 http://www.ibrows.ch

Symfony Translation Helper Bundle

  Sources   Download

MIT

The Requires

 

helper generator wrapper translation creator