プロジェクト

全般

プロフィール

Vote #65806

未完了

Translation for field values

Admin Redmine さんが3ヶ月前に追加. 3ヶ月前に更新.

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

0%

予定工数:
category_id:
37
version_id:
0
issue_org_id:
3972
author_id:
8115
assigned_to_id:
0
comments:
39
status_id:
1
tracker_id:
2
plus1:
9
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

It would be very nice when the values of fields can be translated in different languages. For example:
1st user has choose language english -> So he see the ticket status "new" to choose
2nd user has choose language german -> So he see the ticket status "neu" to choose


journals

I am very interested by this ticket, because on our team we have beta tester who are Holland, Spain, German, French And english.....

Or could you explain us a way to translate this kind of values.
--------------------------------------------------------------------------------
Interestingly, the I18n catalogues contain the corresponding messages:

default_issue_status_new: Neu
default_issue_status_assigned: Zugewiesen
default_issue_status_resolved: Gelöst
default_issue_status_feedback: Feedback
default_issue_status_closed: Erledigt
default_issue_status_rejected: Abgewiesen

--------------------------------------------------------------------------------
Andreas Hartmann wrote:
> Interestingly, the I18n catalogues contain the corresponding messages:

I guess the problem is that it is hard to support generic (translated) and user-defined status names at the same time. The table would have to contain an extra column to determine if the status name is an i18n key, i.e. should be translated, or is a user-defined name.

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
This plugin makes the translation and works http://ociotec.com/redmine/projects/localizable
--------------------------------------------------------------------------------
Luis Serrano Aranda wrote:
> This plugin makes the translation and works http://ociotec.com/redmine/projects/localizable

Thank you for this info. It works perfect!
--------------------------------------------------------------------------------
Martin G wrote:
> Luis Serrano Aranda wrote:
> > This plugin makes the translation and works http://ociotec.com/redmine/projects/localizable
>
> Thank you for this info. It works perfect!

Not available for Redmine 2.*
--------------------------------------------------------------------------------
This one will work with 2.2.x
--------------------------------------------------------------------------------
I could not make it work on Redmine 2.3.1.stable :
* first, I got an error in app/views/settings/_localizable.html.erb, line 54:
{:name => "enumeration", :objects => Enumeration.find(:all, :conditions => "project_id IS NULL").sort{|a, b| a.type.downcase <=> b.type.downcase}
because it does not like to have "type" as a column name
* second, it could not find en.general_lang_name
* third, when I translated some strings, it put all my "localized" pages in error, and i the log, I found "ActionView::Template::Error (translation missing: en.date.formats.default):"

Anyway, I think Redmine should not need a plugin for providing a way to localize custom value names.
--------------------------------------------------------------------------------
I would be very happy to see this implemented.
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Update: I finally have gotten it to work with the files attached. We're now using Redmine 2.3.3-stable.
The first issues I faced were probably caused by another plugin (wrong translation file headers resulting in random errors).
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Please make this more important. There are many tickets out there that aim at the same problem all over Redmine, yet nothing seems to be considered. Why? This would enrich this great piece of software another great deal!

Tickets related to this issue:

#4668
#4844
#4886
#5523
#5990
#6040
#7113
#8058
#12295
#15575

and possibly many more. Yes, there are duplicates, but those only show that this is important to the users!
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
+1

A general method to support multilingual custom fields (as in #4886) would be very worthfull! (e.g. for PDF exports in the requiered language)
--------------------------------------------------------------------------------
+1
why is such important feature missing? :(
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1

Surprisingly this is an important issue for some users.

I have non english users who are completely lost with the interface due to non obvious english trackers and custom fields.

Any news on translatable tracker and custom fields?
--------------------------------------------------------------------------------
Has anyone tested the localizable project referenced on #8 (http://www.redmine.org/plugins/localizable) on 2.6.x version? I don't get it working.
--------------------------------------------------------------------------------
Sorry... I didn't installed properly... just my fault.

--------------------------------------------------------------------------------
And if someone wants to use it with Redmine 3.0 (-> Rails 4.2), here is a patch to apply (5 lines changed in one file).
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Redmine localization plugin is outdated, so this issue is important to me. Actually I can't upgrade because of that.

+1
--------------------------------------------------------------------------------
+1

This is very useful plugin. But this plugin can't translate list values of custom field. Do you know any plugin be able to translate list values of custom field?
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Our team now facing the same problem.
At least would be great to make an opportunity to translate next fields:
1. priority
2. statuses
3. actions
Now all fields in Russian, but we need to give access to our redmine for our US customer

UPD: It seems like http://www.redmine.org/plugins/localizable works great! I have redmine 3.3.

Steps:
# Download last version from https://redmine.ociotec.com/projects/localizable/files.
# Unzip on your Redmine folder /plugins.
# Rename the folder from localizable.x.y.z to localizable.
# No migration is needed.
# Restart you Redmine.
# Once installed, go to Administration, plugins and click on Configuration link on this plugin.
# Choose necessary languages and press apply, then put the translations in text fields.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Preferably this should be built-in feature..

+1

So both field-names, and field-values should be translatable...

In order to make it work with Redmine 4, (localizable 0.4.0) you must lock i18n gem to 0.7.0 instead
of 1.6 which got installed in my case...
--------------------------------------------------------------------------------
Wery nice!
+1

Don't work in Redmine 4.0.5. (Translate Russian to English)

--------------------------------------------------------------------------------
https://github.com/Luckyvb/redmine_localizable/tree/master
work on 4.1.1
--------------------------------------------------------------------------------
Lucky Boy wrote:
> https://github.com/Luckyvb/redmine_localizable/tree/master
> work on 4.1.1

It's not available right now :( Is there similar plugin or, maybe, supported fork?

--------------------------------------------------------------------------------
This one appears to work with Redmine 4.1 (and with the i18n 1.6 gem): https://github.com/southbridgeio/localizable

In my preliminary tests, having configured English as the primary language, it has allowed me to translate the names of trackers, issue statuses, custom fields, and roles.
--------------------------------------------------------------------------------
David Lesieur wrote:
> This one appears to work with Redmine 4.1 (and with the i18n 1.6 gem): https://github.com/southbridgeio/localizable
>
> In my preliminary tests, having configured English as the primary language, it has allowed me to translate the names of trackers, issue statuses, custom fields, and roles.

Fixed error with redmine 4.x
<pre>
ActionView::Template::Error (can't modify frozen String: ""):
93: <%- @settings["locales_to_translate"].each do |locale| -%>
94: <td align="left">
95: <input name="settings[locales][<%= element[:name] %>][<%= object.id %>][<%= locale.to_s.force_encoding("UTF-8") %>]"
96: value="<%= @settings["locales"][element[:name]][object.id.to_s][locale].to_s.force_encoding("UTF-8") %>" />
97: </td>
98: <%- end -%>
99: </tr>
</pre>

file: plugins/localizable/app/views/settings/_localizable.html.erb
<pre>
<code class="diff">
- value="<%= @settings["locales"][element[:name]][object.id.to_s][locale].to_s.force_encoding("UTF-8") %>" />
+ value="<%= @settings["locales"][element[:name]][object.id.to_s][locale].to_s.dup.force_encoding("UTF-8") %>" />
</code>
</pre>

--------------------------------------------------------------------------------
Thank you Sunding Wei! :-)
I tested your solution on Redmine 4.2.0.
And it works.
--------------------------------------------------------------------------------


related_issues

relates,Closed,4668,Localisation issue : trackers / status are not localisable
relates,New,4886,Name of custom fields should be multilingual
duplicates,Closed,6040,Translation custom fields, issue status, activities.....
duplicates,Closed,7113,Status, priority, tracker are not multilanguage
duplicates,Closed,15575,Multi language tracker name
duplicates,Closed,12295,Multilanguage support for custom fields
duplicates,Closed,11964,Translate-able custom captions
duplicates,Closed,16250,Multilanguage
duplicates,Closed,27234,I need put the custom fields lavel in multiple language

Admin Redmine さんが3ヶ月前に更新

  • カテゴリI18n_37 にセット

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

いいね!0
いいね!0