This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » symfony 1.3 and 1.4 » admin generator language
admin generator language [message #102674] Sat, 17 July 2010 20:44 Go to next message
guate2996  is currently offline guate2996
Messages: 1
Registered: July 2010
Location: Guatemala
Junior Member
Anyone know can i create or translate an admin generated module with doctrine to spanish? Thanks!
Re: admin generator language [message #102688 is a reply to message #102674 ] Sun, 18 July 2010 04:42 Go to previous message
sescandell  is currently offline sescandell
Messages: 65
Registered: December 2008
Location: France
Member
Hello Evil or Very Mad

Yes you can Very Happy !

First, activate the i18n options via the config/settings.yml:
.all:
  .settings:
    i18n:  on      # Enable interface translation. Set to off if your application should not be translated.
    default_culture:        es       # Default user culture


Then, in your apps folder, create the folder i18n and replace the sf_admin.xml file by the file lib/plugins/sfDoctrinePlugin/i18n/sf_admin.es.xml ... (the file in the apps I18n folder must be named sf_admin.xml)

[Updated on: Sun, 18 July 2010 04:43]

Previous Topic:forward404Unless() problem
Next Topic:Multiple Propel 1.5 aggregate_column behaviors in schema.yml - is it possible?
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software