Customize - Traslate the pop-up calendar

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

Customize - Traslate the pop-up calendar

aa aa-2
Hello!
 

I would like to customize the pop-up calendar, because i need to use other languaje (spanish).
 
At the orbeon reference i read:
 
"The calendar is customizable by the application developer under: oxf:/config/theme/jscalendar The calendar is customizable by the application developer under: oxf:/config/theme/jscalendar "
 
But I don't know the way to do that. Can somebody help me?

Thanks in advance.


Prueba algunos de los nuevos servicios en línea que te ofrece Windows Live Ideas: tan nuevos que ni siquiera se han publicado oficialmente todavía. Pruébalo

--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Customize - Traslate the pop-up calendar

Alessandro Vernet
Administrator
On 6/28/07, aa aa <[hidden email]> wrote:
> I would like to customize the pop-up calendar, because i need to use other
> languaje (spanish).

Since most people won't need to touch those files, we moved them to
WEB-INF/lib/ops-resources-public.jar. You can uncompress that jar file
somewhere, and copy the ops/javascript/jscalendar directory under your
resources directory (following exactly the same directory structure).
You can then modify the files in the resources. Your modified files in
your resources will have precedence over the files in
ops-resources-public.jar.

I also fixed the issue in the documentation.

http://forge.objectweb.org/tracker/index.php?func=detail&aid=307232&group_id=168&atid=350207

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Customize - Traslate the pop-up calendar

aa aa-2
In reply to this post by aa aa-2
Hello!
 
Thank for your response, it help me a lot.
 
But I have a doub. At the jscalendar there is a folder "lang". Here there is a lot of js files of diferentes languagues.
At the calendar documentatión the autor says that you have to import the js files that you want.
 
But in your code, I think, you are always importing the english one. So I had to customize the calendar-en-min.js and change the texts.
By the way, this is the only file that the code are using. I tried to change the calendar-en.js but nothing changed.
 
However with this change works very good.
 
Thank you very much!!!!

> Date: Thu, 28 Jun 2007 17:17:29 -0700
> From: [hidden email]
> To: [hidden email]
> Subject: Re: [ops-users] Customize - Traslate the pop-up calendar
>
> On 6/28/07, aa aa <[hidden email]> wrote:
> > I would like to customize the pop-up calendar, because i need to use other
> > languaje (spanish).
>
> Since most people won't need to touch those files, we moved them to
> WEB-INF/lib/ops-resources-public.jar. You can uncompress that jar file
> somewhere, and copy the ops/javascript/jscalendar directory under your
> resources directory (following exactly the same directory structure).
> You can then modify the files in the resources. Your modified files in
> your resources will have precedence over the files in
> ops-resources-public.jar.
>
> I also fixed the issue in the documentation.
>
> http://forge.objectweb.org/tracker/index.php?func=detail&aid=307232&group_id=168&atid=350207
>
> Alex
> --
> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
> http://www.orbeon.com/
>



¡Ya está aquí Windows Live Spaces! Ahora podrás crear fácilmente tu propio sitio Web. Pruébalo

--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Customize - Traslate the pop-up calendar

Erik Bruchez
Administrator
Thanks for this information.

It would be ideal if the calendar could be localized by just setting a
language code on the control, but for now you have to go through this
trouble.

-Erik

aa aa wrote:

> Hello!
>  
> Thank for your response, it help me a lot.
>  
> But I have a doub. At the jscalendar there is a folder "lang". Here
> there is a lot of js files of diferentes languagues.
> At the calendar documentatión the autor says that you have to import the
> js files that you want.
>  
> But in your code, I think, you are always importing the english one. So
> I had to customize the calendar-en-min.js and change the texts.
> By the way, this is the only file that the code are using. I tried to
> change the calendar-en.js but nothing changed.
>  
> However with this change works very good.
>  
> Thank you very much!!!!
>
>  > Date: Thu, 28 Jun 2007 17:17:29 -0700
>  > From: [hidden email]
>  > To: [hidden email]
>  > Subject: Re: [ops-users] Customize - Traslate the pop-up calendar
>  >
>  > On 6/28/07, aa aa <[hidden email]> wrote:
>  > > I would like to customize the pop-up calendar, because i need to
> use other
>  > > languaje (spanish).
>  >
>  > Since most people won't need to touch those files, we moved them to
>  > WEB-INF/lib/ops-resources-public.jar. You can uncompress that jar file
>  > somewhere, and copy the ops/javascript/jscalendar directory under your
>  > resources directory (following exactly the same directory structure).
>  > You can then modify the files in the resources. Your modified files in
>  > your resources will have precedence over the files in
>  > ops-resources-public.jar.
>  >
>  > I also fixed the issue in the documentation.
>  >
>  >
> http://forge.objectweb.org/tracker/index.php?func=detail&aid=307232&group_id=168&atid=350207
>  >
>  > Alex
>  > --
>  > Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
>  > http://www.orbeon.com/
>  >
>
>
> ------------------------------------------------------------------------
> ¡Ya está aquí Windows Live Spaces! Ahora podrás crear fácilmente tu
> propio sitio Web. Pruébalo <http://spaces.live.com/signup.aspx>
>

--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Customize - Traslate the pop-up calendar

aa aa-2
In reply to this post by aa aa-2
Thank you all for your help!

> Date: Mon, 2 Jul 2007 21:52:38 +0200
> From: [hidden email]
> To: [hidden email]
> Subject: Re: [ops-users] Customize - Traslate the pop-up calendar
>
> Thanks for this information.
>
> It would be ideal if the calendar could be localized by just setting a
> language code on the control, but for now you have to go through this
> trouble.
>
> -Erik
>
> aa aa wrote:
> > Hello!
> >
> > Thank for your response, it help me a lot.
> >
> > But I have a doub. At the jscalendar there is a folder "lang". Here
> > there is a lot of js files of diferentes languagues.
> > At the calendar documentatión the autor says that you have to import the
> > js files that you want.
> >
> > But in your code, I think, you are always importing the english one. So
> > I had to customize the calendar-en-min.js and change the texts.
> > By the way, this is the only file that the code are using. I tried to
> > change the calendar-en.js but nothing changed.
> >
> > However with this change works very good.
> >
> > Thank you very much!!!!
> >
> > > Date: Thu, 28 Jun 2007 17:17:29 -0700
> > > From: [hidden email]
> > > To: [hidden email]
> > > Subject: Re: [ops-users] Customize - Traslate the pop-up calendar
> > >
> > > On 6/28/07, aa aa <[hidden email]> wrote:
> > > > I would like to customize the pop-up calendar, because i need to
> > use other
> > > > languaje (spanish).
> > >
> > > Since most people won't need to touch those files, we moved them to
> > > WEB-INF/lib/ops-resources-public.jar. You can uncompress that jar file
> > > somewhere, and copy the ops/javascript/jscalendar directory under your
> > > resources directory (following exactly the same directory structure).
> > > You can then modify the files in the resources. Your modified files in
> > > your resources will have precedence over the files in
> > > ops-resources-public.jar.
> > >
> > > I also fixed the issue in the documentation.
> > >
> > >
> > http://forge.objectweb.org/tracker/index.php?func=detail&aid=307232&group_id=168&atid=350207
> > >
> > > Alex
> > > --
> > > Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
> > > http://www.orbeon.com/
> > >
> >
> >
> > ------------------------------------------------------------------------
> > ¡Ya está aquí Windows Live Spaces! Ahora podrás crear fácilmente tu
> > propio sitio Web. Pruébalo <http://spaces.live.com/signup.aspx>
> >
>
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>


Prueba algunos de los nuevos servicios en línea que te ofrece Windows Live Ideas: tan nuevos que ni siquiera se han publicado oficialmente todavía. Pruébalo

--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws