2017 © Pedro Peláez
 

symfony-bundle translation-bundle

Manage your symfony2 translations easily

image

kjda/translation-bundle

Manage your symfony2 translations easily

  • Monday, January 20, 2014
  • by kjda
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

TranslationBundle

A symfony2 translation bundle, (*1)

Goals

  • Translation management
  • Easier Testing

Warning

not complete! Early stage development, (*2)

What can it be used for?

right now you can use this bundle for easier testing. since it highjacks the default translator and always returns your translation keys. which means: if you update your translations, your tests will still pass., (*3)

What else can it do?

When enabled it will catch all your translation keys and store them in the database. so that you can translate them using a web interface, you can have a look at it: app_dev.php/kjda_translation/, (*4)

What is missing?

exporting translations to resource files.
importing resource files to the database.
a better domain management & domain detection while capturing keys., (*5)

Installation & Configuration

Add the following to your composer.json, (*6)

   "require": { 
         "kjda/translation-bundle": "dev-master" 
   }

then, (*7)

php composer.phar update kjda/translation-bundle

Register bundle in app/AppKernel.php:, (*8)

$bundles = array(
      .....,
      new Kjda\TranslationBundle\KjdaTranslationBundle(),
);

app/config_dev.yml:, (*9)

assetic:   
    bundles:        [ KjdaTranslationBundle, AcyouSomeOtherBundle ]  

app/routing.yml:, (*10)

kjda_translation:
    resource: "@KjdaTranslationBundle/Resources/config/routing.yml"

translation interface: /app_dev.php/kjda_translation, (*11)

The Versions

20/01 2014

dev-master

9999999-dev http://github.com/kjda/TranslationBundle

Manage your symfony2 translations easily

  Sources   Download

MIT

The Requires

 

symfony2 bundle translation