This is a known limitation of i18n:extract, it only works on templates. Also, you need not call __() on form stuff, they are automatically done.
On Mon, Aug 9, 2010 at 19:49, Tristan <[email protected]> wrote: > 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
