Hello!

How to diagnose a translation problem?

Several have the same problem:

sfDoctrineGuardPlugin login form is displayed in English and I need it
in Spanish

What steps should I follow?

Hi,
I assume that you enabled i18n in settings, and set the culture accordingly (if not, please refer to http://www.symfony-project.org/jobeet/1_4/Doctrine/en/19, or ask for details).

The login is displayed from

plugins/sfDoctrineGuardPlugin/modules/sfGuardAuth/templates/signinSuccess.php

You should copy this module inside your app (in apps/frontend/modules, if your application name is frontend), and then customize the non form of it.

For the form part, you should create the conversion using

symfony i18n:extract frontend es

and then add manually the strings you want to customize, i.e.

      <trans-unit id="28">
        <source>sign in</source>
        <target>Entra</target>
      </trans-unit>

Please, ask if you are still having troubles (I just made the translation of a site in Italian).

Pietro

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to