Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.markdown

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.

About

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

Resources

Contributors 4

  •  
  •  
  •  
  •  

Languages

You can’t perform that action at this time.