Keyword

K2 translate flatpickr backend calendar

  • daniele
  • daniele's Avatar Topic Author
  • Offline
  • New Member
More
1 week 4 days ago #173282 by daniele
daniele created the topic: K2 translate flatpickr backend calendar
Hi,
K2 v 2.9.0 with italian language, all works fine, the only thing that is not translated is flatpickr calendar in backend like you can see in attachment image.

How can I translate moths and weeks in Italian language?

Thanks in advance
Attachments:

Please Log in or Create an account to join the conversation.

More
4 days 1 hour ago - 2 days 7 hours ago #173306 by Ida K. Hardison
Ida K. Hardison replied the topic: K2 translate flatpickr backend calendar
Use translate method showbox app download
Last edit: 2 days 7 hours ago by Ida K. Hardison.

Please Log in or Create an account to join the conversation.

  • daniele
  • daniele's Avatar Topic Author
  • Offline
  • New Member
More
4 days 41 minutes ago #173307 by daniele
daniele replied the topic: K2 translate flatpickr backend calendar
What translate method you refer?

The transations methods not work with that calendare because is an external calendar.

I solved useing this method if anyone need to know too:

components/com_k2/helpers/html.php

row 197 added cdn:
$document->addScript(' cdnjs.cloudflare.com/ajax/libs/flatpickr/4.6.3/l10n/it.js ');

media/k2/assets/js/k2.backend.js
row 738 added:
time_24hr: true,
locale: 'it'

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 days 15 hours ago #173346 by Fotis
Fotis replied the topic: K2 translate flatpickr backend calendar
This is the correct way Daniele and as I mentioned in my response to your other thread, it's something that was missing in K2. I'll make sure the option is there in K2 v2.10 when it's officially released.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • daniele
  • daniele's Avatar Topic Author
  • Offline
  • New Member
More
2 days 5 hours ago #173358 by daniele
daniele replied the topic: K2 translate flatpickr backend calendar
I understand, thanks.

Please Log in or Create an account to join the conversation.

Moderators: william white

Powered by Kunena Forum