Hi,

It seems to search to __ calls only in template/partials.

You can add them manually in xliff file, as long as you keep IDs incremented.

Regards,
Benoit



-----Original Message-----
From: Tristan <[email protected]>
Sent: lundi 9 août 2010 19:49
To: symfony users <[email protected]>
Subject: [symfony-users] L18N helper not extracting strings in forms !

Hello,

i've followed an user advice with loading l18N helper this way :

class stPlayerCvForm extends BasestPlayerCvForm
{
        public function configure()
        {
                ProjectConfiguration::getActive()->loadHelpers( array( 'I18N' ) 
);

                $this->removeFields();

                $this->widgetSchema->setLabels(array(
                'category'    => __('Qui suis-je ?'),
                 'game_id'   => __('Jeu'),
                 'url_esl'   => __('URL profil détaillé'),
                 ............
     }
........
}


After a "php symfony i18n:extract --auto-save  frontend en" , no new
string found and i cannot find this strings in my /en/messages.xml

If anyone could help, it would be appreciated. Thanks

-- 
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

-- 
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