Defect #52

bulgarian language issue

Added by Nikolay Solakov over 10 years ago. Updated about 9 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:0.7.3
Resolution: Affected version:

Description

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 (Техническа документация).

bg_r500.rar (9.18 KB) Nikolay Solakov, 2008-02-03 10:49

bg.gif (4.75 KB) Nikolay Solakov, 2008-02-03 10:49

History

#1 Updated by Jean-Philippe Lang over 10 years ago

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>

#2 Updated by Nikolay Solakov over 10 years ago

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
Default configuration data can't be loaded.

The databse is utf8, utf8_general_ci.

Thanks,
Nikolay

#3 Updated by Jean-Philippe Lang over 10 years ago

Point 1 fixed in rev 501.

#4 Updated by Jean-Philippe Lang over 10 years ago

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.

#5 Updated by Nikolay Solakov over 10 years ago

This is the whole translation. I hope it'll help.

Thanks,
Nikolay

#6 Updated by Jean-Philippe Lang over 10 years ago

Could you post your lang file so I can check this bug ?

#7 Updated by Jean-Philippe Lang over 10 years ago

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

#8 Updated by Nikolay Solakov over 10 years ago

I forgot to ask, where to send the files for bulgarian
translation?

#9 Updated by Kirill Bezrukov (RedmineUP) about 9 years ago

  • Status changed from Closed to Reopened
  • Target version set to 0.7.3

I have the same problem in Russian localization. But I'm using JumpBox redmine package

#10 Updated by Austin Godber about 9 years ago

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.

#11 Updated by Azamat Hackimov about 9 years ago

  • Status changed from Reopened to Closed

Closed per Austin. Kirill, show please database.yml if you have utf8 problems.

Also available in: Atom PDF