qTranslate-X issue with WP post date month name in Ukrainian

409 Views Asked by At

I am using 3 languages: Ukrainian (default), English and Russian. The plug-in works perfectly, but the name of the month (in the date of comment or post) looks like �������. Everything else (including calendar in the widget) are translated correctly.

I have changed the text encoding in the browser to try to find out if it is the encoding issue and yes - the month's name is in KOI8-U - somehow.

Wordpress 4.9.4
qTranslate: 3.4.6.8

1

There are 1 best solutions below

0
Arsenii On BEST ANSWER

I found the answer which works for me:

See DaniilKZ's answer here

Here is a quote:

Add the code to the function.php:

remove_filter('get_the_time', 'qtranxf_timeFromPostForCurrentLanguage',0,3); remove_filter('get_the_date', 'qtranxf_dateFromPostForCurrentLanguage',0,3); remove_filter('get_the_modified_date', 'qtranxf_dateModifiedFromPostForCurrentLanguage',0,2);