Skip to content

eux/PUGXI18nBundle

 
 

Repository files navigation

PUGXI18nBundle

PUGXI18nBundle is a simple way to manage the internationalization in Symfony2 as in symfony1 with a Entity (that implements TranslatableInterface) and EntityI18n (that implements TranslatingInterface) via one-to-many association.

In practice when you design the entity that implements TranslatableInterface, you can extend the class TranslatableWrapper or the class Translatable.

The Translatable's function is retrieve the translation for the current locale.

The TranslatableWrapper's function is to wrap the methods of the related entity (TranslatingInterface) using a "magic call". If you want "kill the magic", you have to extend Translatable and implement these wrappers by yourself.

The master branch is in sync with Symfony master branch The branch 1.0 is developed upon Symfony 2.1

Build Status

Documentation

Read the Documentation

Installation

All the installation instructions are located in documentation.

License

This bundle is under the MIT license. See the complete license in the bundle:

Resources/meta/LICENSE

About

PUGXI18nBundle is a PUGX initiative.

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker.

When reporting a bug, it may be a good idea to reproduce it in a basic project built using the Symfony Standard Edition with PUGXI18nBundle installed, to allow developers of the bundle to reproduce the issue by simply cloning it and following some steps.

About

The I18nBundle for Symfony2 and Doctrine2 by PUG Roma http://roma.grusp.org/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%