プロジェクト

全般

プロフィール

Vote #62050

完了

bulgarian language issue

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
-
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
0
version_id:
5
issue_org_id:
52
author_id:
34
assigned_to_id:
0
comments:
11
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Hi,
I'm very happy with redMine!
I translated it to Bulgarian and I saw these "bugs":

  • in Gantt, when I switch to bg lang, the titles of the weekdays are displayed with black rombs with "?" in it. Maybe it's kind of unicode issue, because I saw it with other languages;
  • when I try to rename the Enumeration of the Documents with bg characters, they are truncated to 15 chars and there is the same "?" after the 15th char. Maybe it's because a char tooks 2 bytes. I tried to put there the word "Tehni4eska dokumentacia" with bg characters (Техническа документация).

journals

For me, it works fine if "encoding: utf8" is set in
database.yml
Everything is correctly loaded and displayed.

D:\redmine\redmine>rake load_default_data
(in D:/redmine/redmine)

Select language: bg, de, en, es, fr, it, ja, pt, pt-br, zh [en]
bg
====================================
Loading default configuration data for language: bg

D:\redmine\redmine>
--------------------------------------------------------------------------------
Hi,
I think this is related to this issue, so I'm opening it again.

When I execute load_default_data for bg language (probably
any utf8 lang will act like this) I get this:
Loading default configuration data for language: bg
Error: Mysql::Error: #22001Data too long for column 'name'
at row 1: INSERT INTO enumerations (`name`, `opt`)
VALUES('Техническа документация', 'DCAT')
Default configuration data can't be loaded.

The databse is utf8, utf8_general_ci.

Thanks,
Nikolay
--------------------------------------------------------------------------------
Point 1 fixed in rev 501.
--------------------------------------------------------------------------------
Point 2:
- I created a mysql utf8_general_ci encoded database
- I added "encoding: utf8" in db parameters
(database.yml)
like this:

development:
adapter: mysql
database: redmine_bgtest
host: localhost
username: root
password:
encoding: utf8

And it works fine. See attached bg.gif screenshot.
--------------------------------------------------------------------------------
This is the whole translation. I hope it'll help.

Thanks,
Nikolay
--------------------------------------------------------------------------------
Could you post your lang file so I can check this bug ?
--------------------------------------------------------------------------------
Hi,
You can attach your translation files to this bug or create a
new entry here:
http://rubyforge.org/tracker/?atid=7162&group_id=1850&fun
c=browse
I'll have a look at this problem.

Thanks
--------------------------------------------------------------------------------
I forgot to ask, where to send the files for bulgarian
translation?
--------------------------------------------------------------------------------
I have the same problem in Russian localization. But I'm using JumpBox redmine package
--------------------------------------------------------------------------------
Kirill,
This is probably a JumpBox problem and not an issue with Redmine itself. I can confirm that the JumpBox does not have "encoding: utf8" set in databases.yml. I will file a JumpBox ticket to get it resolved.

This ticket should probably be reclosed.
--------------------------------------------------------------------------------
Closed per Austin. Kirill, show please database.yml if you have utf8 problems.
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • 対象バージョン0.7.3_5 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0