Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Datepicker in the status form is hardcoded

12 years 1 month ago
Licenses:
JomSocial Expired

Hi,

months, days etc... are hardcoded in ui.core.js, is there a way to get it translatable ?

Regards

12 years 1 month ago
  • Chris's Avatar
  • Chris
  • Visitor
  • Thank you received: 0
Licenses:

hi Olivier.

It was already added to our main language file, please look for "; Profile page" around line 2736

12 years 1 month ago
Licenses:
JomSocial Expired

HI,

I have translated theses lines and there are not used by the datepicker IN THE STATUS FORM on the wall

regards

12 years 1 month ago
  • Chris's Avatar
  • Chris
  • Visitor
  • Thank you received: 0
Licenses:

hi Olivier.

Could you update your first post and add an ftp access so we could take a look?

12 years 1 month ago
Licenses:
JomSocial Expired

Hi,

I confirme that jquery-ui-1.9.2.custom.js and ui.core.js are hardcoded and do not use the language file.

You can see below that the page are translate except the datepicker.
Regards



Attachments:
12 years 1 month ago
  • Chris's Avatar
  • Chris
  • Visitor
  • Thank you received: 0
Licenses:

hi Olivier.

Well in thread's name you mentioned datepicker from postbox, which like I said is already translated in strings around 2736, however the second calendar from "create event" page, seems not to be added into language file. I'll ask our developers about it.

12 years 1 month ago
Licenses:
JomSocial Expired

Hi,

as I also already said, I translated the lines around 2736. And If you're looking well in the EN file, there is nowhere the translations for the short words : Sun, Mon, Tue, etc.....

So ask your developers also for the postbox

12 years 1 month ago
  • Chris's Avatar
  • Chris
  • Visitor
  • Thank you received: 0
Licenses:

hi Olivier.

The postbox is already translated like I said around line 2736, is you could add your ftp access to the site info box, then I could check if your language file is missing it. And about second calendar in create event page, it'll be re-designed anyway so translation will be added in JS 3.3

12 years 1 month ago
Licenses:
JomSocial Expired

Hi Chris,

attached you will see the lines around 2736.
You will be able to read Sunday, Monday etc..

Look well the datepicker in the postbox and you will see : Sun, Mon etc...

So the date picker in the postbox DON'T use the en-GB language file

regards


Attachments:
12 years 1 month ago
  • Chris's Avatar
  • Chris
  • Visitor
  • Thank you received: 0
Licenses:

hi Oliver.

I'm not sure how can I help you, you even showed me the exact strings to translate thosse phrases :) Please at least try to change them, and you'll notice that it works.

12 years 1 month ago
Licenses:
JomSocial Expired

Chris,

No : You didn't read me well. The eng language file ( mine in french is not working either ) use full name for the weekdays : Sunday, Monday, etc....

If you look the datepicker in the postbox, it uses shortnames : Sun, Mon, etc... theses shortnames ARE NOT in the eng language file.

And to finally make you understand that I'm right : It did 2 things :

1) I delete the en-GB.com_community.ini file : look now the attached picture ; you can see that all translations are lost EXCEPT in the date picker
2) I edited assets/pickadate/picker.combined.js ( YES it is hardcoded in this file ) and the proof is that you can see your first-name next to "May" in the same attached picture.

Please pass it to your developers.



Attachments:
12 years 1 month ago
  • Chris's Avatar
  • Chris
  • Visitor
  • Thank you received: 0
Licenses:

hi Olivier.

Can I've your ftp access so I could take a look? I just tried to translate the long name like "sunday" on my test site, and it was translated on posbox, so can I've your ftp access before passing it to our developers?

12 years 1 month ago
Licenses:
JomSocial Expired

Hi Chris,

my site is confidentiel so no I won't give you ftp access.

The long names are used in the postbox in the date fields. BUT THERE ARE NOT USED in the date picker, please see the picture above.
the date picker use SHORT NAME witch are hardcoded in the assets/pickadate/picker.combined.js file.

I tired of saying the same things again and again.


Conclusion : JS is for english user only --> just state it on your web site.

12 years 1 month ago
  • Paul's Avatar
  • Paul
  • Visitor
  • Thank you received: 0
Licenses:

Hi Olivier,

This date picker is going to be overhauled during 3.3 but let me see what can be done to fix it until then. i understand what you are referring to.

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW