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

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>26126</bug_id>
          
          <creation_ts>2011-08-19 15:36:02 +0400</creation_ts>
          <short_desc>Установка по умолчанию неизвестного языка ru-ru</short_desc>
          <delta_ts>2011-09-05 11:52:38 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>firefox-5.0</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Cherepanov">cas</reporter>
          <assigned_to name="Alexey Gladkov">legion</assigned_to>
          <cc>aen</cc>
    
    <cc>dd1email</cc>
    
    <cc>evg</cc>
    
    <cc>mike</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>124278</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2011-08-19 15:36:02 +0400</bug_when>
    <thetext>На новых пользователях (отсутствует профиль ~/.mozilla) по умолчанию на первом месте ставится язык [ru-ru]. Сайты его не распарсивают и выводят на английском.
Ниже ru-ru следует Русский, затем Английский. Если убрать ru-ru, всё работает должным образом.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124282</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2011-08-19 16:51:28 +0400</bug_when>
    <thetext>Пожалуйста подробнее.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124284</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2011-08-19 17:32:25 +0400</bug_when>
    <thetext>(В ответ на комментарий №1)
&gt; Пожалуйста подробнее.
1. Создаём нового пользователя
2. Запускаем Firefox 5.0.1
3. Заходим в Настройки-Содержимое-Языки. На первом месте стоит несуществующий язык [ru-ru].
4. При открытии в Firefox ahttpd (...:8080) показывается не русский язык, а английский.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124288</commentid>
    <comment_count>3</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2011-08-19 18:53:24 +0400</bug_when>
    <thetext>Возможно, это атавизм в firefox-ru с незапамятных времен.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124306</commentid>
    <comment_count>4</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2011-08-20 14:32:40 +0400</bug_when>
    <thetext>2rider@: Пока это проявляется только для альтератора, у которого есть выбор языка. Если это единственный такой пример, то не блокер. Есть другие?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124307</commentid>
    <comment_count>5</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2011-08-20 14:53:06 +0400</bug_when>
    <thetext>Блокер снял случайно, извиняюсь.
Но решение элементарное. В пакете firefox-ru внутри xpi в файле crhome/ru/locale/ru/global/intl.properties : 

intl.accept_languages = ru_ru, ru, en-us, en
надо убрать ru-ru

Это атавизм. См., например, firefox-uk</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124308</commentid>
    <comment_count>6</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2011-08-20 14:55:04 +0400</bug_when>
    <thetext>(В ответ на комментарий №5)
&gt; Блокер снял случайно, извиняюсь.
&gt; Но решение элементарное. В пакете firefox-ru внутри xpi в файле
&gt; crhome/ru/locale/ru/global/intl.properties : 
&gt; 
&gt; intl.accept_languages = ru_ru, ru, en-us, en

То есть ru-ru тут.

&gt; надо убрать ru-ru
&gt; 
&gt; Это атавизм. См., например, firefox-uk</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124309</commentid>
    <comment_count>7</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2011-08-20 15:03:14 +0400</bug_when>
    <thetext>А лучше, наверное:

ru, ru-ru, en-us, en</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124321</commentid>
    <comment_count>8</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2011-08-21 09:04:52 +0400</bug_when>
    <thetext>конечно. Любой сайт с автоматическим определением языка работать не будет или будет работать криво.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124330</commentid>
    <comment_count>9</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2011-08-21 15:45:54 +0400</bug_when>
    <thetext>(В ответ на комментарий №8)
&gt; конечно. Любой сайт с автоматическим определением языка работать не будет или
&gt; будет работать криво.

Да нет,  у меня все работают.
2legion: Ваше мнение?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124333</commentid>
    <comment_count>10</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2011-08-21 16:57:13 +0400</bug_when>
    <thetext>(В ответ на комментарий №8)
&gt; конечно. Любой сайт с автоматическим определением языка работать не будет или
&gt; будет работать криво.

Да нет. Если он не знает ru-ru, то должен откатиться на ru , а не на en. То есть это, скорее, бага сервера альтератора. Но ru-ru некузяво в любом случае.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124334</commentid>
    <comment_count>11</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2011-08-21 17:05:13 +0400</bug_when>
    <thetext>(В ответ на комментарий №8)
&gt; конечно. Любой сайт с автоматическим определением языка работать не будет или
&gt; будет работать криво.
Сейчас все сайты не по языкам, а по GeoIP работают.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124342</commentid>
    <comment_count>12</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2011-08-21 19:01:15 +0400</bug_when>
    <thetext>Прошу подтвердить с чем-либо, кроме ahttpd.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124344</commentid>
    <comment_count>13</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2011-08-21 23:20:50 +0400</bug_when>
    <thetext>Пока нет подтверждений, кроме ahttpd, -- не блокер. Но хорошо бы исправить asap.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124369</commentid>
    <comment_count>14</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2011-08-22 16:16:43 +0400</bug_when>
    <thetext>(В ответ на комментарий №13)
&gt; Пока нет подтверждений, кроме ahttpd, -- не блокер. Но хорошо бы исправить
&gt; asap.
Пока только в ahttpd. Меняю на enhancement потому как только проблема только в неверном языке.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124469</commentid>
    <comment_count>15</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2011-08-25 21:32:14 +0400</bug_when>
    <thetext>(В ответ на комментарий №12)
&gt; Прошу подтвердить с чем-либо, кроме ahttpd.
Не поверите, ещё одна жертва неизвестного языка: http://bugzilla.altlinux.org :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124477</commentid>
    <comment_count>16</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2011-08-25 23:42:21 +0400</bug_when>
    <thetext>ну вот, а вы говорите GeoIP ;)

вылезать будет - есть масса сайтов, которые ориентируются именно на эту настройку.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124479</commentid>
    <comment_count>17</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2011-08-25 23:59:45 +0400</bug_when>
    <thetext>Это вот:

https://bugzilla.mozilla.org/show_bug.cgi?id=55366

Про багзиллу:

http://forum.mozilla-russia.org/viewtopic.php?pid=310144#p310144
https://bugzilla.mozilla.org/show_bug.cgi?id=258246</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124762</commentid>
    <comment_count>18</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2011-09-01 11:33:56 +0400</bug_when>
    <thetext>firefox-ru-6.0-alt0.M60P.1 -&gt; p6:

* Tue Aug 30 2011 Andrey Cherepanov &lt;cas@altlinux&gt; 6.0-alt0.M60P.1
- Backport to p6 branch for Firefox 6.0
- Remove unknown language ru-ru (closes: #26126)

* Fri Aug 26 2011 Alexey Gladkov &lt;legion@altlinux&gt; 6.0-alt1
- New version (6.0)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124763</commentid>
    <comment_count>19</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2011-09-01 11:44:44 +0400</bug_when>
    <thetext>Фикс в бранче не есть фикс проблемы в Сизифе. Оценка этого бага -- за мейнтейнером Firefox, а не бранча p6.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124768</commentid>
    <comment_count>20</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2011-09-01 12:42:59 +0400</bug_when>
    <thetext>(В ответ на комментарий №19)
&gt; Фикс в бранче не есть фикс проблемы в Сизифе. Оценка этого бага -- за
&gt; мейнтейнером Firefox, а не бранча p6.
Да, закрылось случайно. Более того, проблему это не исправляет: несмотря на правильный порядок и указание Русский (ru), Firefox продолжает отправлять только en-US,en. Помогает только удаление русского языка и его добавление заново.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124815</commentid>
    <comment_count>21</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2011-09-03 12:24:23 +0400</bug_when>
    <thetext>firefox-ru-6.0-alt0.M60P.1 -&gt; t6:

* Tue Aug 30 2011 Andrey Cherepanov &lt;cas@altlinux&gt; 6.0-alt0.M60P.1
- Backport to p6 branch for Firefox 6.0
- Remove unknown language ru-ru (closes: #26126)

* Fri Aug 26 2011 Alexey Gladkov &lt;legion@altlinux&gt; 6.0-alt1
- New version (6.0)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124817</commentid>
    <comment_count>22</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2011-09-03 13:12:46 +0400</bug_when>
    <thetext>Хе-хе. Надо на робота багу вешать, чтобы он один раз багу закрывал, только по последней записи в Changelog.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124820</commentid>
    <comment_count>23</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2011-09-03 15:25:15 +0400</bug_when>
    <thetext>Не надо, так раньше и было: если промежуточную сборку не закидывали, то баги по записям между существующей и текущей не закрывались.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124822</commentid>
    <comment_count>24</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2011-09-03 15:28:01 +0400</bug_when>
    <thetext>(В ответ на комментарий №23)
&gt; Не надо, так раньше и было: если промежуточную сборку не закидывали, то баги по
&gt; записям между существующей и текущей не закрывались.

Ну а чего ж теперь: править историю задним числом или каждый раз менять FIXED на WONTFIX? :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124827</commentid>
    <comment_count>25</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2011-09-03 19:09:49 +0400</bug_when>
    <thetext>Разве что сделать проверку репозитория, на котором висит бага.
Проблема-то в этом.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124885</commentid>
    <comment_count>26</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2011-09-05 11:52:38 +0400</bug_when>
    <thetext>(В ответ на комментарий №25)
&gt; Разве что сделать проверку репозитория, на котором висит бага.
&gt; Проблема-то в этом.
Багу заведи, будь ласка! :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>