The calendars month name is build by
Code: Select all
<b><a style="white-space: nowrap" href="{$plugin_calendar_head.uri_month}">{$plugin_calendar_head.month_date|formatTime:"%B '%y":false}</a></b>
in plugin_calendar.tpl in your template, bulletproof and/or default template.
This executes some internal functions, also checking timezone offset and finalizing in PHPs strftime function building the month name via the %B format parameter string, which means: full month name, based on the locale set on your server.
So having the serversides locale set to russian, and also having a russian @define('DATE_LOCALES', 'ru_RU, ru_RU.CP1251, rus_RUS.1251, and so on') in your lang file, it should execute as it should.
But I remember a thread saying PHP is not returning correct values in russian and some other languages. Please also read
http://board.s9y.org/viewtopic.php?f=11&t=17513&start=0 - maybe you can find an answer here too.
PS. A temporary workaround could be to code a replacement via replace or an own modifier. Something like this as an array {$plugin_calendar_head.month_date|formatTime:"%B '%y":false|replace:'October':'Oktobar'}
Use this script to check for available locales on your server
Code: Select all
<?php
system('locale -a'); // for all locales
//system('locale -a | grep ru'); // for russian locales
?>