Defect #52
closed
Added by Nikolay Solakov over 17 years ago.
Updated almost 16 years ago.
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 (âõхýøчõÑÂúð ôþúуüõýтðцøÑÂ).
Files
I forgot to ask, where to send the files for bulgarian
translation?
Could you post your lang file so I can check this bug ?
This is the whole translation. I hope it'll help.
Thanks,
Nikolay
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.
Point 1 fixed in rev 501.
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
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>
- 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
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.
- Status changed from Reopened to Closed
Closed per Austin. Kirill, show please database.yml if you have utf8 problems.
Also available in: Atom
PDF