stev/doctrine-translations-bundle
Composer 安装命令:
composer require stev/doctrine-translations-bundle
包简介
Symfony 2 Bundle providing form data mappers to handle translations using doctrine entities
README 文档
README
Symfony 2 Bundle providing form data mappers to handle translations using doctrine entities
Install
Run: composer require stev/doctrine-translations-bundle
Inspired from
https://github.com/Simettric/DoctrineTranslatableFormBundle
WARNING
This works only if the user current locale is the same as the default locale in your settings (stof_doctrine_extensions -> default_locale), otherwise, gedmo listener will override your translations. So if your app has a feature allowing the user to switch his language, this bundle won't work for you. This works for admin panels where admins work only in one language and whish to edit the content in multiple languages at the same time. And then the content is displayed on another application where users can switch languages.
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-09-30