[symfony-users] Re: Trying to translate sfDoctrineGuardPlugin
Hi, Tom. In symfony 1.4.3, sfDoctrineGuardPlugin 4.0.1, cc, cookies, cache and active sessions deleted, it doesn't work. Login form is in english In xxx\apps\my_app\i18n folder I have sf_guard.es_ES.xml translation file From Debug: User details options: culture: null default_culture: es_ES attributeHolder: symfony/user/sfUser/attributes: { referer: 'xxx/ sf_guard_permission' } culture: es_ES Settings sf_app_i18n_dir: 'xxx\apps\my_app\i18n' sf_default_culture: es_ES sf_i18n: true sf_i18n_cache_dir: 'xxx\cache\my_app\dev\i18n' Salu2 Fernando On 30 mar, 09:03, Tom Ptacnik to...@tomor.cz wrote: Use the /apps/APPNAME/i18nfolder, use the sf_guard.es_ES.xml and in the settings.yml: all: .settings: i18n: true default_culture: es_ES On 29 bře, 15:42, Javier Garcia tirengar...@gmail.com wrote: On 03/29/2010 03:05 PM, Massimiliano Arione wrote: Just use standard messages.es.xml file in your app/APPNAME/i18n directory. Thanks Massimiliano, but it doesn't work.. 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, reply using remove me as the subject.
[symfony-users] Re: Trying to translate sfDoctrineGuardPlugin
Use the /apps/APPNAME/i18n folder, use the sf_guard.es_ES.xml and in the settings.yml: all: .settings: i18n: true default_culture:es_ES On 29 bře, 15:42, Javier Garcia tirengar...@gmail.com wrote: On 03/29/2010 03:05 PM, Massimiliano Arione wrote: Just use standard messages.es.xml file in your app/APPNAME/i18n directory. Thanks Massimiliano, but it doesn't work.. 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.
[symfony-users] Re: Trying to translate sfDoctrineGuardPlugin
Just use standard messages.es.xml file in your app/APPNAME/i18n directory. cheers Massimiliano On 29 Mar, 10:29, Javier Garcia tirengar...@gmail.com wrote: 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 sourceUsername/source targetUsuario/target /trans-unit trans-unit sourcePassword/source targetContrase a/target /trans-unit trans-unit sourceRemember/source targetRecordar/target /trans-unit trans-unit sourceSignin/source targetConectar/target /trans-unit trans-unit sourceForgot your password?/source target Olvido su contrase a?/target /trans-unit trans-unit sourceYou don't have the required permission to access this page./source targetNo 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.
Re: [symfony-users] Re: Trying to translate sfDoctrineGuardPlugin
On 03/29/2010 03:05 PM, Massimiliano Arione wrote: Just use standard messages.es.xml file in your app/APPNAME/i18n directory. Thanks Massimiliano, but it doesn't work.. 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.