Hi Alex,
Thanks, that's exactly it.
Until now, we indicated the language by simply setting lang="fr" so that the date picker would be in the correct format and in the correct language.
Did adding "xml:" become mandatory with 2024? Or was that already the case before?
Thanks.
Julien
De : 'Alessandro Vernet' via Orbeon Forms <orb...@googlegroups.com>
Envoyé : vendredi 5 septembre 2025 03:21
À : orb...@googlegroups.com
Objet : Re: [orbeon] Placeholder in fr:date
EXTERNAL SENDER:
Do not click any links or open any attachments unless you trust the sender and know the content is safe. |
Hi Julien,
I suspect this is happening because the date component cannot determine the current language. Could you try adding `xml:lang="en"` to your root `<xh:html>` element, if you don't already have one?
-Alex
--
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
orbeon+un...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/orbeon/CANrzKkmgLZYZjvuB0RTiyg-DefzzfdtOU8JCjyRpuVppL%2BPE0w%40mail.gmail.com.
Le 5 sept. 2025 à 21:08, 'Alessandro Vernet' via Orbeon Forms <orb...@googlegroups.com> a écrit :
Hi Julien,
Perfect, I'm glad adding `xml:lang="en"` (or any language you need) worked. I don't think this has changed. The function `xxf:r()` is used by `date.xbl` to get the value of a resource. This is an extension function at the XForms level. Form Runner provides higher-level language features, such as a language picker for end users, and it sets `xml:lang="en"` so the current language is available at the XForms level. What do you mean by setting `lang="fr"`?
-Alex
--
You received this message because you are subscribed to a topic in the Google Groups "Orbeon Forms" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orbeon/QJnZrSL4em4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orbeon+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/orbeon/CANrzKkmCsxZ7tMoBLKOcH1NPXfe%3DFQ4CmojQvd8T0PM%3DadCCYw%40mail.gmail.com.