1. Toto
  2. General
  3. Tuesday, February 07 2017, 03:41 PM
Hi,

I am using the Social Network Plugin in a French translation.
I could find my way for most of it, but I am struggling to have the date picker for the event creation (pop up) in its french version. I noticed the french translation in the webroot folder, but I don't know how to set it up.

Could you please shed some light?

Thanks in advance,
Toto
admin Accepted Answer
Admin
Hi,
thanks for report this, to solve replace in file /plugins/jsn/socialnetwork/app/View/Events/create.ctp at line 2 this code:

echo $this->Html->script(array('pickadate/picker', 'pickadate/picker.date', 'pickadate/picker.time', 'pickadate/legacy', 'jquery.fineuploader'), array('inline' => false));

with this:

echo $this->Html->script(array('pickadate/picker', 'pickadate/picker.date', 'pickadate/picker.time', 'pickadate/legacy', 'jquery.fineuploader','pickadate/translations/'.Configure::read('Config.language')), array('inline' => false));
  1. more than a month ago
  2. General
  3. # 1
Toto Accepted Answer
Oaw!
That was fast and efficient!

It works like a charm...

Thanks a lot!
Enjoy the rest of your day and, if you find time, thanks for having a look at my other post.

Toto
  1. more than a month ago
  2. General
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.