我正在寻找关于如何在symfony 2中设计数据库模式以支持多种语言的教程,并找到了this。不幸的是,这是为了symfony 1.3,它已被弃用。我想知道如何在symfony 2中支持多种语言? (尤其是如何设计数据库模式。)谢谢。在symfony 2中支持多种语言
0
A
回答
1
如果你想使用ORM这里有一些有趣的来源:
- DoctrineExtensions translatable。
- StofDoctrineExtensionsBundle将DoctrineExtensions整合到sf2中。
- TranslationFormBundle。
1
如果你要翻译,我建议使用PHPCR(http://phpcr.github.io/)
页主义创造了一个ODM它:https://github.com/doctrine/phpcr-odm
为PHPCR ODM翻译文档:https://doctrine-phpcr-odm.readthedocs.org/en/latest/reference/multilang.html
示例/教程/更多文档对于Symfony CMF:http://symfony.com/doc/current/cmf/bundles/simple_cms/multilang.html
相关问题
- 1. 支持多种语言
- 2. Angular 2 - 多语言支持
- 3. 支持多种印度语言
- 4. 做android支持多种语言吗?
- 5. 让Smarty支持多种语言
- 6. 支持多种语言的Elasticsearch
- 7. UIMA Ruta支持多少种语言?
- 8. 使用PHP支持多种语言
- 9. java程序支持多种语言
- 10. word2vec是否支持多种语言?
- 11. 允许系统支持多种语言
- 12. 多语言支持
- 13. 多语言支持
- 14. JSF 2 - 多语言支持问题
- 15. Struts 2如何支持多种语言的utf-8编码
- 16. Android多语言和少数语言支持语言不支持语言区域
- 17. 支持两种语言在travis.ci文件
- 18. Symfony - 获取支持的语言列表
- 19. 在Ajax文件上传中需要多种语言支持
- 20. 在自定义键盘扩展中支持多种语言
- 21. 如何在Swift中支持多种语言?
- 22. 如何在ASP.NET Web应用程序中支持多种语言?
- 23. 在Winforms应用程序中支持多种语言
- 24. 在Jupyter笔记本中支持多种人类语言
- 25. PHP在邮件中支持多种语言
- 26. 在pyrocms中实现多语言支持
- 27. Django的多语言支持
- 28. iphone多语言支持
- 29. 多语言支持iPhone?
- 30. Spring MVC:多语言支持
看看这个:https://github.com/l3pp4rd/DoctrineExtensions – seferov
为什么不使用[翻译组件](http://symfony.com/doc/current/book/translation.html )?它工作得很好 – ponciste
是的,我想试试看。但我想知道是否有任何教程。谢谢。 –