Thank you!

2013/11/4 Paolo Caruccio <[email protected]>

> maybe here
>
> http://sourceforge.net/projects/jscalendar/
>
>
> Il giorno domenica 3 novembre 2013 23:30:19 UTC+1, mweissen ha scritto:
>>
>> Thank you - this will help!
>> By the way: is there any full description for this program?
>>
>>
>>
>> 2013/11/3 Paolo Caruccio <[email protected]>
>>
>>> In order to translate the text in the calendar you could adapt the
>>> attached calendar-en.js.As an example you will find here also attached
>>> calendar-it.js (italian translation)
>>> Put the translation file in application/static/js folder.
>>> In layout.html after (I would suggest just before </body> tag)
>>>
>>> {{include 'web2py_ajax.html'}}
>>>
>>> write
>>>
>>> <script src="{{=URL('static','js/calendar-it.js')}}"></script>
>>>
>>> of course you have to replace calendar-it.js with the name of your
>>> translation file.
>>>
>>> If you would like apply the translation file according to browser
>>> language you could write in layout.html :
>>>
>>> {{calang = T.accepted_language or 'en'
>>> response.files.append(URL('static','js/calendar-%s.js' % calang))
>>> }}
>>>
>>> just before
>>>
>>> {{include 'web2py_ajax.html'}}
>>>
>>> In this case if the translation file doesn't exist then will be applied
>>> the english translation.
>>> Anyway, calendar-en.js is not necessary because calendar.js contains
>>> already the english terms.
>>>
>>>
>>>
>>> Il giorno domenica 3 novembre 2013 20:02:39 UTC+1, mweissen ha scritto:
>>>
>>>> datetime uses the Dynarch date Time Picker version 1.0
>>>> But the website www.dynarch.com/projects/calendar is down - does
>>>> anybody know where to find the documenation for version 1.0?
>>>>
>>>> I want to translate the names of the months,...
>>>>
>>>> Regards Martin
>>>>
>>>  --
>>> 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 [email protected].
>>>
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>>
>>  --
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to