Dropdown Date in 3.9 : patch for localization in french

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

Dropdown Date in 3.9 : patch for localization in french

jean-francois.rizand

Hi,

 

The dropdown date control shows headers in English. According to wikiorbeon, it has been fixed in 4.2.

However,  we cannot move to 4.2, yet.

 

Is there a temporary patch we could apply to 3.9 to have the headers in French?

 

Thanks.

 

 

--- JF

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Dropdown Date in 3.9 : patch for localization in french

Alessandro  Vernet
Administrator
Hi Jean-François,

The changes were in the file dropdown-date.xbl. You can see the initial change done for 4.2 in:

https://github.com/orbeon/orbeon-forms/commit/46ca66cd908ed179c6e55844678f739ecf0b891e

Since then, resources in more languages have been added. You can see the latest version of dropdown-date.xbl on:

https://github.com/orbeon/orbeon-forms/blob/master/src/resources-packaged/xbl/orbeon/dropdown-date/dropdown-date.xbl

You could patch your version of dropdown-date.xbl along the same lines, but you won't be able to just take the latest version of dropdown-date.xbl and run it on 3.9, as xxf:r() wasn't available back then (you'll need to access the instance with the instance() function), as well as the xxbl:mode="lhha binding value".

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Dropdown Date in 3.9 : patch for localization in french

jean-francois.rizand
Many thanks, Alex!
We'll see what we can do.

-----Message d'origine-----
De : [hidden email] [mailto:[hidden email]] De la part de Alessandro Vernet
Envoyé : 13 juillet 2015 19:34
À : [hidden email]
Objet : [orbeon] Re: Dropdown Date in 3.9 : patch for localization in french

Hi Jean-François,

The changes were in the file dropdown-date.xbl. You can see the initial change done for 4.2 in:

https://github.com/orbeon/orbeon-forms/commit/46ca66cd908ed179c6e55844678f739ecf0b891e

Since then, resources in more languages have been added. You can see the latest version of dropdown-date.xbl on:

https://github.com/orbeon/orbeon-forms/blob/master/src/resources-packaged/xbl/orbeon/dropdown-date/dropdown-date.xbl

You could patch your version of dropdown-date.xbl along the same lines, but you won't be able to just take the latest version of dropdown-date.xbl and run it on 3.9, as xxf:r() wasn't available back then (you'll need to access the instance with the instance() function), as well as the xxbl:mode="lhha binding value".

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
View this message in context: http://discuss.orbeon.com/Dropdown-Date-in-3-9-patch-for-localization-in-french-tp4660236p4660240.html
Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].