Developed with love by KnpLabs Hire us for your project!
34

PUGXI18nBundle

by PUGX

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

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

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.


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
pugx_i18n:
classes: []
  • Update index.md
    By garak, 3 years ago
  • Update index.md
    By garak, 3 years ago
  • minor CS fix
    By giorrrgio, 3 years ago
  • fix test
    By leopro, 3 years ago
  • Update composer.json
    By garak, 3 years ago
  • readme
    By leopro, 3 years ago
  • enforce branch instead of dev-master
    By garak, 3 years ago
  • update readme
    By leopro, 3 years ago
  • fix
    By leopro, 3 years ago
  • removed getThrowExceptionIfNotFound and added handleTranslationNotFound + acceptFirstTransaltionAsDefault and acceptDefaultLocaleTransaltionAsDefault
    By leopro, 3 years ago
  • exception on translation: removed the property and added a getter that is easier to override
    By leopro, 3 years ago
  • dependencies
    By leopro, 3 years ago
  • Merge branch '3.0'
    By leopro, 3 years ago
  • exception on translation not found is now optional
    By leopro, 3 years ago
  • Update index.md
    By giorrrgio, 4 years ago
  • add __get to TranslatableWrapper because with __call only entity form type does not work
    By leopro, 4 years ago
  • add __get to TranslatableWrapper because with __call only entity form type does not work
    By leopro, 4 years ago
  • dependencies
    By leopro, 4 years ago
  • symfony/yaml in require-dev
    By leopro, 4 years ago
  • added github token
    By leopro, 4 years ago
  • Update README.markdown
    By leopro, 4 years ago
  • Update LICENSE
    By leopro, 4 years ago
  • Merge branch 'master' of github.com:PUGX/PUGXI18nBundle
    By leopro, 5 years ago
  • doc updated
    By leopro, 5 years ago
  • Merge pull request #3 from eux/master
    By garak, 5 years ago
  • added a .gitignore
    By eux, 5 years ago
  • update readme
    By leopro, 5 years ago
  • composer.json fix
    By leopro, 5 years ago
  • Update readme
    By leopro, 5 years ago
  • fixed dependencies and test
    By leopro, 5 years ago