YUI Calendar resources on 23 languages

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

YUI Calendar resources on 23 languages

Nikola Radic
Hello,

In the attached ZIP file you can find minimal and original versions of
the YUI calendar resources, in 23 languages.

The 3 existing ones, have been moved from xforms.js to the new JS file.
The xforms.js file should be modified a bit, in order to read languages
from another JS.

Locate ORBEON.widgets.YUICalendar = function() { var RESOURCES = {
........ and replace with var RESOURCES = CALENDAR_RESOURCES;

CALENDAR_RESOURCES variable is read from attached JS, which have to be
included in your theme xsl before xforms.js.

Since YUI calendar is "attached" to HTML lang attribute (e.g. <html
lang="en" ..), ensure that html tag has this attribute and language you
need.

Be sure also that your browser uses the latest version of the JS files
(CTRL+R/F5 should help).

rgds

nikola

--

*P/ Please consider the environment before deciding to print this e-mail/*



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

calendar-23langs.zip (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: YUI Calendar resources on 23 languages

Erik Bruchez
Administrator
Nicola,

Thanks for this patch. We have added it to our list. Hopefully we can  
process this soon (even though historically we have been rather bad at  
it!).

-Erik

On Feb 17, 2009, at 8:31 AM, Nikola Radic wrote:

> Hello,
>
> In the attached ZIP file you can find minimal and original versions  
> of the YUI calendar resources, in 23 languages.
>
> The 3 existing ones, have been moved from xforms.js to the new JS  
> file.
> The xforms.js file should be modified a bit, in order to read  
> languages from another JS.
>
> Locate ORBEON.widgets.YUICalendar = function() { var RESOURCES =  
> { ........ and replace with var RESOURCES = CALENDAR_RESOURCES;
>
> CALENDAR_RESOURCES variable is read from attached JS, which have to  
> be included in your theme xsl before xforms.js.
>
> Since YUI calendar is "attached" to HTML lang attribute (e.g. <html  
> lang="en" ..), ensure that html tag has this attribute and language  
> you need.
>
> Be sure also that your browser uses the latest version of the JS  
> files (CTRL+R/F5 should help).
>
> rgds
>
> nikola
>
> --
>
> *P/ Please consider the environment before deciding to print this e-
> mail/*
>
> <calendar-23langs.zip>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws