Vote #67915
未完了Localized decimal numbers
0%
説明
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 にセット