CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Other languages problems

by Ricardo Muñoz » 10 Mar 2016 21:48

Hi,

When you set JQDatePickerOptions.Regional to other languages than dporEnglishUK (dporSpanish and dporPortuguese in my case), all strings of the date changes to the correct language, but the strings of the time doesn't change. Then when you use DateTimePicker to set Date and time there are two different languages in the window to set date and time. English for the time and the other for the date.

Another problem is that DateTimePicker and DatePicker with Regional := dporPortuguese use three chars for each day (Dom, Seq, ...) instead of two chars used in other languages, then the calendar is out of the frame of the window.

TIA,
Ricardo
Ricardo Muñoz
 
Posts: 28
Joined: 25 Feb 2016 23:42

by Alexander Bulei » 11 Mar 2016 10:25

Hi Ricardo Muñoz,

When you set JQDatePickerOptions.Regional to other languages than dporEnglishUK (dporSpanish and dporPortuguese in my case), all strings of the date changes to the correct language, but the strings of the time doesn't change. Then when you use DateTimePicker to set Date and time there are two different languages in the window to set date and time. English for the time and the other for the date.


Please check JQTimeCustomLocal properties...

Another problem is that DateTimePicker and DatePicker with Regional := dporPortuguese use three chars for each day (Dom, Seq, ...) instead of two chars used in other languages, then the calendar is out of the frame of the window.


What do you mean?
Please post the screenshot..

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Ricardo Muñoz » 11 Mar 2016 15:42

Hi Alexander:

Hi Ricardo Muñoz,
When you set JQDatePickerOptions.Regional to other languages than dporEnglishUK (dporSpanish and dporPortuguese in my case), all strings of the date changes to the correct language, but the strings of the time doesn't change. Then when you use DateTimePicker to set Date and time there are two different languages in the window to set date and time. English for the time and the other for the date.


Please check JQTimeCustomLocal properties...


I know, with JQTimeCustomLocal I can avoid this problem. But there aren't JQTimeCustomLocal.Regional, and it's strange that the Date part is translated using Regional, but time part is not translated.


Another problem is that DateTimePicker and DatePicker with Regional := dporPortuguese use three chars for each day (Dom, Seq, ...) instead of two chars used in other languages, then the calendar is out of the frame of the window.


What do you mean?
Please post the screenshot..


Portuguese: https://www.dropbox.com/s/wzcw82xs97a2776/Portuguese.png?dl=0
Image

English: https://www.dropbox.com/s/3i3j1gkd5n4i56i/English.png?dl=0
Image

TIA,
Ricardo
Ricardo Muñoz
 
Posts: 28
Joined: 25 Feb 2016 23:42

by Alexander Bulei » 11 Mar 2016 15:45

Hi,

I know, with JQTimeCustomLocal I can avoid this problem. But there aren't JQTimeCustomLocal.Regional, and it's strange that the Date part is translated using Regional, but time part is not translated.


Sorry, nothing to do here...it's a jquery plugin...

About the second questio, now I see...Thanks.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Alexander Bulei » 11 Mar 2016 18:42

Hi Ricardo,

Can you reproduce your problem in simple testcase?
T.I.A

11-03-2016 17-40-14.jpg


Works fine here...

Best Regards.
You do not have the required permissions to view the files attached to this post.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Ricardo Muñoz » 12 Mar 2016 00:34

Hi Alexander,

It's seems that the problem occurs due a modified css (here some fonts are resized from 1em to 1.05em). In the attacment goes the modified ccs file. All modifications in the attachment are marked with "REM Falta".

Thanks,
Ricardo
You do not have the required permissions to view the files attached to this post.
Ricardo Muñoz
 
Posts: 28
Joined: 25 Feb 2016 23:42

by Alexander Bulei » 14 Mar 2016 10:21

Hi Ricardo Muñoz,

It's seems that the problem occurs due a modified css (here some fonts are resized from 1em to 1.05em).


I'm sorry, but we not responsible for the customer changes.
Please solve/cgeck by yourself or ask for premium support.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQDateTimePicker

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.