Project

General

Profile

strange issue when remove some locales

Added by denny xu over 11 years ago

Hi Experts,

For some resson, I'd like to remove some non-used locales, e.g fr.yml,hr.yml.

So I just stopped my redmine applications and remove the files from config/locales.

Then restarted the application, as the result, there are some duplicated row in the languages_options.

the html source code like below, the screenshot as attached.

So could you please kindly give me some suggestion how to handle this issue? thanks a lot.

Br//Denny

<p><label for="user_language">语言</label><select id="user_language" name="user[language]"><option value="">(auto)</option>
<option value="bg">English</option>
<option value="cs">English</option>
<option value="de">English</option>
<option value="el">English</option>
<option value="en">English</option>
<option value="es">English</option>
<option value="fr">English</option>
<option value="it">English</option>
<option value="uk">English</option>
<option value="ko">English</option>
<option value="pl">English</option>
<option value="pt-BR">English</option>
<option value="ru">English</option>
<option value="tr">English</option>
<option value="ja">English</option>
<option value="zh" selected="selected">Simplified Chinese (简体中文)</option>
<option value="zh-TW">Simplified Chinese (简体中文)</option></select></p>

Environment:
Redmine version 2.2.0.stable
Ruby version 1.9.3 (x86_64-linux)
Rails version 3.2.9
Environment production
Database adapter Mysql2
Redmine plugins:
progressive_projects_list 0.1.0
redmine_knowledgebase 2.2.0