Re: [symfony-users] Using country code for i18n Doctrine translations

2010-10-27 Thread Tom Haskins-Vaughan
Thank you! Works perfectly. I noticed the size of the lang field and even thought of changing it manually but I hoped that symfony/Doctrine would have a solution. And they do! -- The Harvest Cloud Who says buying local food can't be easy? Find out more @ harvestcloud.com behaviors:i18n > The de

Re: [symfony-users] Using country code for i18n Doctrine translations

2010-10-27 Thread Pierre-Yves LEBECQ
http://www.doctrine-project.org/projects/orm/1.2/docs/manual/behaviors/en#core-behaviors:i18n The default length for the lang column generated by Doctrine is 2, I think that's the reason of your problem. So, you can just use the language in symfony if you don't need to provide different translati

[symfony-users] Using country code for i18n Doctrine translations

2010-10-26 Thread Tom Haskins-Vaughan
Hi all, I apologise if this has been dealt with in the past. In the Gentle Introduction to symfony it says: "Keeping both the language and the country in the culture is necessary because you may have a different French translation for users from France, Belgium, or Canada, and a different