All Projects → PUGX → PUGXI18nBundle

PUGX / PUGXI18nBundle

Licence: other
The I18nBundle for Symfony and Doctrine by PUG Roma http://roma.grusp.org/

Programming Languages

PHP
23972 projects - #3 most used programming language

PUGXI18nBundle

PUGXI18nBundle is a simple way to manage the internationalization in Symfony 4+ 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

Build Status Total Downloads Latest Stable Version Latest Stable Version

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].