Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autoreply calendar localization #19

Open
aellert opened this issue Nov 6, 2013 · 5 comments
Open

Autoreply calendar localization #19

aellert opened this issue Nov 6, 2013 · 5 comments

Comments

@aellert
Copy link

aellert commented Nov 6, 2013

I can't find a way to translate the autoreply calendar. I'd like to have French translation for months, days and date format dd-mm-yy instead of yy-mm-dd.
A quick and dirty way would be to edit skins/classic/js/jquery.ui.datetime.min.js.
Is there a better way to do it ?

Thanks for your answser.

@ghost ghost assigned horfic Nov 6, 2013
@horfic
Copy link
Contributor

horfic commented Nov 6, 2013

hi,
well i would not change the format, as its currently used by ispconfig and the roundcube plugin itself.

so when you change it, you would need to change it in the plugin, but its an interessting enhancement and i will try to implement a way to set the date format.

@sebj54
Copy link

sebj54 commented Nov 7, 2013

Hi,

Why not adding lang variables for calendar display? jQuery UI datepicker is already doing this in Roundcube, so you just have to use jQuery UI configuration.

For time/date format, it is a bit more complicated. Adding an hidden input with current format could be a solution. Then, you could use a custom format in the text input.

Best regards

@horfic
Copy link
Contributor

horfic commented Nov 7, 2013

great idea, this is not the jqueryui datepicker, its a plugin called datetime picker. It adds also the time to it.

@sebj54
Copy link

sebj54 commented Nov 7, 2013

Yes, I knew that. I suggested you to use datepicker options with the datetime picker plugin. You can see an example of the lang file right there: https://code.google.com/p/jquery-ui/source/browse/branches/labs/datepicker2/ui/i18n/jquery.ui.datepicker-fr.js?r=3875

@gorankav
Copy link
Contributor

Hi,
I have the same issue.
Each plugin shall use the datetime formats defined by the roundcube user settings.

A comment on the autoreply module - would it be possible to popup the calendar above the field and not below - on a widescreen portable, I can't date after second week / after 18th Jan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants