Jump to content

Recommended Posts

Posted
We would like to use GTM+5 (Ekaterinburg, DST) timezone in pbxnsip, but there is no such setting. Advice please: it's possible to add manually support of this timezone?

 

We have Moscow:

 

 <zone name="GMT+3">
 <description>Russia, Moscow</description>
 <gmt_offset>10800</gmt_offset>
 <dst_offset>3600</dst_offset>
 <dst_start_day_of_week>1</dst_start_day_of_week>
 <dst_start_month>3</dst_start_month>
 <dst_start_time>02:00</dst_start_time>
 <dst_start_week_of_month>Last</dst_start_week_of_month>
 <dst_stop_day_of_week>1</dst_stop_day_of_week>
 <dst_stop_month>10</dst_stop_month>
 <dst_stop_time>02:00</dst_stop_time>
 <dst_stop_week_of_month>Last</dst_stop_week_of_month>
</zone>

 

So the only thing we have to change would be the gmt_offset?

Posted
We have Moscow:

 

 <zone name="GMT+3">
 <description>Russia, Moscow</description>
 <gmt_offset>10800</gmt_offset>
 <dst_offset>3600</dst_offset>
 <dst_start_day_of_week>1</dst_start_day_of_week>
 <dst_start_month>3</dst_start_month>
 <dst_start_time>02:00</dst_start_time>
 <dst_start_week_of_month>Last</dst_start_week_of_month>
 <dst_stop_day_of_week>1</dst_stop_day_of_week>
 <dst_stop_month>10</dst_stop_month>
 <dst_stop_time>02:00</dst_stop_time>
 <dst_stop_week_of_month>Last</dst_stop_week_of_month>
</zone>

 

So the only thing we have to change would be the gmt_offset?

 

Correct! Offset value 18000, zone description "Russia, Ekaterinburg".

  • 1 month later...
Posted

Hello,

 

timezones.xml file already in /html directory. Code:

 

<?xml version="1.0" encoding="utf-8"?>

<timezones dict="timezones.xml">

<zone name="GMT+6">

<description>Russia, Yekaterinburg</description>

<gmt_offset>-32400</gmt_offset>

<dst_offset>3600</dst_offset>

<dst_start_day_of_week>1</dst_start_day_of_week>

<dst_start_month>4</dst_start_month>

<dst_start_time>02:00</dst_start_time>

<dst_start_week_of_month>1</dst_start_week_of_month>

<dst_stop_day_of_week>1</dst_stop_day_of_week>

<dst_stop_month>10</dst_stop_month>

<dst_stop_time>02:00</dst_stop_time>

<dst_stop_week_of_month>Last</dst_stop_week_of_month>

</zone>

</timezones>

 

After that added timezone item to lang_ru.xml at the same directory:

 

<file name="timezones.xml">

<item id="GMT+6">Russia, Yekaterinburg</item>

 

Restarted the service, found message that timezone found:

[7] 20090312122134: Found time zones GMT+6

 

But when I trying to set this timezone in web-interface - I see blank line instead of zone name and error message in the log:

5] 20090312122330: Dictionary: Item timezones.xml GMT+6 ru not found

 

What's wrong? Advice pease!

Posted
The translation is missing? Any change to try an upgrade? If so, what operating system?

 

Translation file on the same folder. Everything is ok.

OS: Windows XP

Tryed on 3.1 and on 3.2.0.314

 

<?xml version="1.0" encoding="utf-8"?>

<language name="ru">

<file>

<file name="timezones.xml">

<item id="GMT+6">Russia, Yekaterinburg</item>

</file>

</language>

Posted
If you like, please try http://pbxnsip.com/protect/pbxctrl-3.3.0.3160.exe. That might also contain additional fixes for RU.

 

It's still doesn't work as well. The same - instead of custom zone name from timezones.xml I see in the blank line.

 

About additional fixes for RU:

1. This version include few new timezones (Samara, Ekaterinburg, etc). Fisrt of all - this zones named in English. Strange to see it when whole interface translated to Russian.

2. Small mistake: change please Yakrutks to Yakutsk. It's typo.

Posted
It's still doesn't work as well. The same - instead of custom zone name from timezones.xml I see in the blank line.

 

About additional fixes for RU:

1. This version include few new timezones (Samara, Ekaterinburg, etc). Fisrt of all - this zones named in English. Strange to see it when whole interface translated to Russian.

2. Small mistake: change please Yakrutks to Yakutsk. It's typo.

 

If you are using the 3160 build, then just move the timezones.xml files out of the way.

 

We added the Russian translations for the time zones, should be looking better in the next build!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...