Translations in the calendar item

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

Translations in the calendar item

avp
Hi

I have version 3.9.1 of Orbeon

I need the calendar item appears me in another language "Catalan", "ca". I've seen it should be done from the file CalendarResource.js.

In that project route I enter that file to display my calendar with my translations?

Thank you very much,
salutations
Reply | Threaded
Open this post in threaded view
|

Re: Translations in the calendar item

Erik Bruchez
Administrator
We have a page documenting this:

https://github.com/orbeon/orbeon-forms/wiki/Localizing-Orbeon-Forms

But I am not sure I understand your question "In that project route I enter that file to display my calendar with my translations?". Can you reformulate please?

-Erik
avp
Reply | Threaded
Open this post in threaded view
|

Re: Translations in the calendar item

avp
Hello,

Yes, what I want is the calendar date the form is displayed in English, Spanish and Catalan, depending on the language you use is, but I always appears in English.

I put the file in the path CalendarResources.js my project:
WEB-INF/resources/ops/javascript/orbeon/xforms/control/CalendarResources.js
this file I added him to catalan translations "ca" but I do not get the result.

What I can do?

thank you very much
regards
Reply | Threaded
Open this post in threaded view
|

Re: Translations in the calendar item

Erik Bruchez
Administrator
The calendar uses the language specific on html/@lang on the client. With Form Runner, that will be selected if your form's language is "ca". At least that should work.

-Erik