I would like to cry. Now it's translated, but I don't know why.

Il giorno lunedì 5 settembre 2016 18:08:52 UTC+2, Niphlod ha scritto:
>
> if your custom widget doesn't have T() it can't be translated. if your 
> custom widget GETS translated, it's browser's fault. if you have T() but 
> nothing in specific language file, how can web2py translate it ?
>
> On Saturday, September 3, 2016 at 11:07:06 AM UTC+2, Gael Princivalle 
> wrote:
>>
>> Hello.
>>
>> I've add in a custom form this field:
>> {{=form_event.custom.widget.cover_image}}
>>
>> Language still English.
>> 'Browse...' and 'No file selected.' don't appear in it.py.
>>
>>
>>
>> Probably I have to add the T() to both text in this widget. How can I do 
>> it?
>>
>> Thanks.
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to