How to set language for "date picker" form control
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
How to set language for "date picker" form control
Hi,
how can I set the language for "date picker" form control in a web application ? For instance, french.
Our document have set on the root and the user interface is also set to "french" but the date is write in english. I tried to set language in URL with lang=fr without success too. Maybe, this is something to be set on java level ? or when the webapp is starting ?
I have no problem with desktop version of these framework.
Our CSS looks like
Thanks !
how can I set the language for "date picker" form control in a web application ? For instance, french.
Our document have
Code: Select all
xml:lang="fr_FR"
I have no problem with desktop version of these framework.
Our CSS looks like
Code: Select all
content:
oxy_datePicker(
edit, '#text',
columns, 16, validateInput, 'true',
format, 'dd MMMMMMMM yyyy', fontInherit, 'true', color, 'darkblue');
visibility: -oxy-collapse-text;
}
Re: How to set language for "date picker" form control
Hello,
In order for the oxy_datePicker to display a specific date format, it is necessary to check the following aspects:
1. The way the date format is displayed depends on the default system locale settings.
On Windows, you can find this option in Control Panel: Click Start > Settings > Control Panel. Double-click Regional Settings (or Regional Options) and select your desired format. in order for it to take effect in Web Author, you need to close and reopen the browser.
2. The language in the browser also needs to be changed:
For example, in Google Chrome, follow this steps:
- At the top-right of the address bar, click the three dots, and click Settings.
- From the left side of Chrome, click Languages.
- Click Add languages: English (United Kingdom) for dd/mm/yyyy format. ...
- Click the three dots against the chosen language. ...
- Restart the Chrome browser for the changes to reflect.
Best Regards,
Cosmin
In order for the oxy_datePicker to display a specific date format, it is necessary to check the following aspects:
1. The way the date format is displayed depends on the default system locale settings.
On Windows, you can find this option in Control Panel: Click Start > Settings > Control Panel. Double-click Regional Settings (or Regional Options) and select your desired format. in order for it to take effect in Web Author, you need to close and reopen the browser.
2. The language in the browser also needs to be changed:
For example, in Google Chrome, follow this steps:
- At the top-right of the address bar, click the three dots, and click Settings.
- From the left side of Chrome, click Languages.
- Click Add languages: English (United Kingdom) for dd/mm/yyyy format. ...
- Click the three dots against the chosen language. ...
- Restart the Chrome browser for the changes to reflect.
Best Regards,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
www.oxygenxml.com
Re: How to set language for "date picker" form control
Hi Cosmin,
Thanks for answering. My locale is set to "French" on my system (MacOs) and in Firefox also. But the data picker still uses an english date (ex: "November" instead of "novembre").
Is there an other way to set this parameter ? Maybe it's something related to webauthor configuration on server ?
Thanks for answering. My locale is set to "French" on my system (MacOs) and in Firefox also. But the data picker still uses an english date (ex: "November" instead of "novembre").
Is there an other way to set this parameter ? Maybe it's something related to webauthor configuration on server ?
Re: How to set language for "date picker" form control
Hello,
Can you modify your format in CSS code, like this:
and see if with this change,it works.
Best,
Cosmin
Can you modify your format in CSS code, like this:
Code: Select all
format, 'dd MMMM yyyy'
Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
www.oxygenxml.com
Re: How to set language for "date picker" form control
Hello,
After you have made the changes discussed above, have you stopped and restarted the Web Author application?
Best,
Cosmin
After you have made the changes discussed above, have you stopped and restarted the Web Author application?
Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
www.oxygenxml.com
Re: How to set language for "date picker" form control
Hello,
We managed to reproduce the issue you reported, and we have recorded an issue (WA-6939) on this matter.
Normally, for the language change to take effect for datePicker, you just need to have xml:lang set (which you have already confirmed in your case), and the desired language should be selected from the Web Author application interface.
Once we have a solution in this regard, we will notify you here on the forum.
Best Regards,
Cosmin
We managed to reproduce the issue you reported, and we have recorded an issue (WA-6939) on this matter.
Normally, for the language change to take effect for datePicker, you just need to have xml:lang set (which you have already confirmed in your case), and the desired language should be selected from the Web Author application interface.
Once we have a solution in this regard, we will notify you here on the forum.
Best Regards,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
www.oxygenxml.com
Re: How to set language for "date picker" form control
Hello Cosmin,cosminef wrote: ↑Wed Dec 13, 2023 2:51 pm Hello,
We managed to reproduce the issue you reported, and we have recorded an issue (WA-6939) on this matter.
Normally, for the language change to take effect for datePicker, you just need to have xml:lang set (which you have already confirmed in your case), and the desired language should be selected from the Web Author application interface.
Once we have a solution in this regard, we will notify you here on the forum.
Best Regards,
Cosmin
do you have any update about this issue ?
Re: How to set language for "date picker" form control
Hello,
Unfortunately, there's no update on this matter; we've noted your return to it to prioritize accordingly.
We will definitely notify you when we have a response/solution in this regard.
Thank you for your understanding.
Best,
Cosmin
Unfortunately, there's no update on this matter; we've noted your return to it to prioritize accordingly.
We will definitely notify you when we have a response/solution in this regard.
Thank you for your understanding.
Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
www.oxygenxml.com
Re: How to set language for "date picker" form control
Hi Cosmin, do you have any update about this issue ? It's really annoying for our users, and it slow off the adoption of oxygen webauthor for them.
A fix or a workaround would be great.
Thanks!
Re: How to set language for "date picker" form control
Hello,
We sincerely apologize for the inconvenience this issue is causing for your users.
Unfortunately, we have to inform you that this issue hasn’t been scheduled for development yet. However, I’m actively pushing for it to be prioritized as soon as possible, and I’ll keep you updated on any progress.
Best,
Cosmin
We sincerely apologize for the inconvenience this issue is causing for your users.
Unfortunately, we have to inform you that this issue hasn’t been scheduled for development yet. However, I’m actively pushing for it to be prioritized as soon as possible, and I’ll keep you updated on any progress.
Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
www.oxygenxml.com
Re: How to set language for "date picker" form control
Hi Cosmin, thanks you. Yes, it would be nice if this could be fix as soon as possible.cosminef wrote: ↑Thu Oct 10, 2024 5:43 pm Hello,
We sincerely apologize for the inconvenience this issue is causing for your users.
Unfortunately, we have to inform you that this issue hasn’t been scheduled for development yet. However, I’m actively pushing for it to be prioritized as soon as possible, and I’ll keep you updated on any progress.
Best,
Cosmin
Have a nice day
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service