プロジェクト

全般

プロフィール

Vote #67915

未完了

Localized decimal numbers

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

ステータス:
New
優先度:
高め
担当者:
-
カテゴリ:
I18n_37
開始日:
2010/08/20
期日:
進捗率:

0%

予定工数:
category_id:
37
version_id:
32
issue_org_id:
6182
author_id:
13730
assigned_to_id:
0
comments:
10
status_id:
1
tracker_id:
1
plus1:
5
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

Hi, how do I adjust the settings so I can enter localized decimal numbers to custom fields? I cannot find something to change decimal point to decimal comma. The "number.human.format.*" in the locals has effect only to show form (included in helpers - number_to_currency etc.). If you are adding a new numbers the english format is forced.

I have founded http://github.com/clemens/delocalize or http://gem-session.com/2010/03/how-to-use-the-comma-as-decimal-separator-in-rails-activerecord-columns-and-text-fields, but pulling a cat's tail seems to be better fun :-).

Thanks for a reply.
Regards

Petr


journals

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

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

--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
I need this, any known workaround?
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
I did it.
Workaround with Custom JS Plugin and example JS http://www.redmine.org/boards/4/topics/44418
--------------------------------------------------------------------------------


related_issues

relates,New,8079,Support localized digits

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

  • カテゴリI18n_37 にセット
  • 対象バージョンCandidate for next major release_32 にセット

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

いいね!0
いいね!0