How does jquery handle translations?

-Thadeus





On Sat, Dec 26, 2009 at 9:37 AM, Álvaro Justen [Turicas]
<alvarojus...@gmail.com> wrote:
> On Wed, Dec 23, 2009 at 11:29, Alexandre Andrade
> <alexandrema...@gmail.com> wrote:
>> While
>>
>> db.convenio.data_assinatura.requires =
>> IS_DATE(format=T('%d-%m-%Y'),error_message=T('deve ser no formato
>> DD-MM-AAAA!'))
>>
>> show me the date in correct locale, the calendar widget don't show the
>> correct date.
>>
>> How to locale it or  make it show the correct date?
>
> About calendar and other JS I think we need to have calendar_pt-BR.js,
> calendar_en-ES.js etc.
> I don't think T() is the best solution to translate static files. I
> think it should be static and user should download
> app/static/filename_LANG.js
> So, we'll need to mantain many versions of the same file, but I think
> it'll be nice for developers (calendar and other JS files being
> translated automatically based on user accept-language). What do you
> think?
>
>
>> --
>> Atenciosamente
>>
>> --
>> =========================
>> Alexandre Andrade
>> Hipercenter.com
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups
>> "web2py-users" group.
>> To post to this group, send email to web...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> web2py+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/web2py?hl=en.
>>
>
>
>
> --
> Álvaro Justen
>  Peta5 - Nós fazemos TV digital
>  http://www.peta5.com.br/
>  21. 3021-6001 / 9898-0141
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "web2py-users" group.
> To post to this group, send email to web...@googlegroups.com.
> To unsubscribe from this group, send email to 
> web2py+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/web2py?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to