NSP widgets - name of months

Best WordPress theme for game news websites, game portals or whatever your preferred subject.
GK User
Fri Dec 14, 2012 7:02 pm
Hello,

In all NSP widgets, the name of months in the date appears in English. Obviously, I would like to change them according to my language.

I checked my language files (hu_HU), but did not find any reference to it.

How can I change it?

Thank you.
User avatar
Senior Boarder

GK User
Sat Dec 15, 2012 12:05 am
Hi,

Your problem is connected with fact that probably the Date class in PHP is working using the en_US language. Please try the following trick:

please add in file wp-config.php after line:

define('WPLANG', 'hu_HU');

this line:

setlocale(LC_ALL, 'hu_HU');

it should helps :)
User avatar
Administrator

GK User
Sat Dec 15, 2012 9:28 am
dziudek wrote:Hi,

Your problem is connected with fact that probably the Date class in PHP is working using the en_US language. Please try the following trick:

please add in file wp-config.php after line:

define('WPLANG', 'hu_HU');

this line:

setlocale(LC_ALL, 'hu_HU');

it should helps :)


Unfortunately, it does not work. :( Name of months still appear in English, however, in the category archive view, it is OK (it was ok even before the fix)! Only NSP widgets have English months. :S
User avatar
Senior Boarder

GK User
Sat Dec 15, 2012 11:29 am
OK, please apply this fix: https://github.com/GavickPro/Meet-Gaver ... 6c0162a771

I've checked it on my polish installation and it is working fine :)
User avatar
Administrator

GK User
Sat Dec 15, 2012 7:14 pm
Thanks, the fix solved the problem. Now it is perfect! :)

Thank you!
User avatar
Senior Boarder


cron