Hi,

these are my steps:

- I have added this line to 'frontend/config/settings.yml'

all:
  settings:
    default_culture:        es_ES

- I have created a file called 'plugins/sfDoctrineGuardPlugin/i18n/sf_guard.es_ES.xml' with this content:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE xliff PUBLIC "-//XLIFF//DTD XLIFF//EN" "http://www.oasis-open.org/committees/xliff/documents/xliff.dtd"; >
<xliff version="1.0">
<file original="global" source-language="en" datatype="plaintext">
<header/>
<body>
<trans-unit>
<source>Username</source>
<target>Usuario</target>
</trans-unit>
<trans-unit>
<source>Password</source>
<target>Contraseña</target>
</trans-unit>
<trans-unit>
<source>Remember</source>
<target>Recordar</target>
</trans-unit>
<trans-unit>
<source>Signin</source>
<target>Conectar</target>
</trans-unit>
<trans-unit>
<source>Forgot your password?</source>
<target>¿Olvido su contraseña?</target>
</trans-unit>
<trans-unit>
<source>You don't have the required permission to access this page.</source>
<target>No tiene los permisos requeridos para acceder a esta página.</target>
</trans-unit>
</body>
</file>
</xliff>

With those two things I still get 'Forgot your password' instead of '¿Olvido su contraseña?'.

I have tried also with writing this:

<?php use_helper('I18N') ?>

<form action="<?php echo url_for('@sf_guard_signin') ?>" method="post">
<table>
<?php echo $form ?>
</table>

<input type="submit" value="<?php echo __('sign in') ?>" />
<a href="<?php echo url_for('@sf_guard_password') ?>"><?php echo __('Forgot your password?', array(), 'sf_guard') ?></a>
</form>


instead of this:

<a href="<?php echo url_for('@sf_guard_password') ?>"><?php echo __('Forgot your password?') ?></a>

I have also cleaned the cookies.

But it still doesnt work..

Any help?

Javi


--
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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com 
or reply to this email with the words "REMOVE ME" as the subject.

Reply via email to