I'm glad it worked! :)
You can set a different catalogue to use for a form in the form formatter class.
As far as the module code generation goes... hmm, you'd have to create your own
module generation theme.
Cheers, Daniel
On Dec 29, 2009, at 3:46 AM, diogobaeder wrote:
> Hi, Daniel,
>
> T
Hi, Daniel,
Thanks for the help, it really worked for the __() function calls! :-)
Despite, I noticed that fields generated by widgets don't include this
function call, so I would have to declare localized labels for them,
too... wouldn't it be a better idea if these plugins were already
prepared
For your example it's pretty clear that symfony can't find the translations.
And sure enough, you forgot to add the catalogue to the __() method call.
Plugin or not, it doesn't matter.
In the signinSuccess.php change this:
__('Forgot your password?')
to this:
__('Forgot your p
Daniel,
For example, in the signinSuccess.php template, at
sfDoctrineGuardPlugin, we have a "__('Forgot your password?')" call,
that should be translated if a translation is put in the
sf_admin.pt_BR.xml file. I've put a translation element there, but
it's not working. But for a translation for a
Could you elaborate on/rephrase your last message again, please?
I did not understand what stays where and does not get translated... :)
Daniel
On Dec 27, 2009, at 2:57 PM, diogobaeder wrote:
> Hi, Daniel,
>
> I've already named the file like you said, and part of the admin is
> translated. Bu
Hi, Daniel,
I've already named the file like you said, and part of the admin is
translated. But the part that stays in the plugins (sfDoctrineGuard
and sfMediaBrowser) is not translated. It seems like the translation
file I created only works with translation for the core components.
Any other id
You'll need to name the file sf_admin.pt_BR.xml
Cheers, Daniel
On Dec 27, 2009, at 3:30 AM, diogobaeder wrote:
> No solution for that? Anybody?
>
> On 22 dez, 18:04, Diogo Baeder wrote:
>> Hi there,
>>
>> I'm translating some strings that lacked in the original pt_BR XLIFF
>> file for Symfony
No solution for that? Anybody?
On 22 dez, 18:04, Diogo Baeder wrote:
> Hi there,
>
> I'm translating some strings that lacked in the original pt_BR XLIFF
> file for Symfony 1.4.2-DEV. Even though, my translation for
> sfDoctrineGuardPlugin is not working; None of them is being read.
>
> How can I