PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Translating months of a custom date field

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi, I have a custom field (type Date) that I have inserted in the table. I have selected"Calendar" in the meta tab of the table settings for this field. But in the frontend the months are always in English and I cannot translate them (in Italian). I have also used the language files but there is nothing to do.

This is my table:

 

Done!

Finally, after a long search and test, I found the solution.

In the file /classes/table-meta.php, row 373.

I replaced"date" with"wp_date"

From"return date(apply_filters('tableon_date_format', get_option('date_format')), $val);"

to"return wp_date(apply_filters('tableon_date_format', get_option('date_format')), $val);"

So the system keep the settings and language from your wordpress installation.

I hope this help someone who need.

Hello

Great!  Thank  you  for your cooperation!