This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 166448 - I18n support for Ruby on Rails 2.2+
Summary: I18n support for Ruby on Rails 2.2+
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Rails (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-03 06:33 UTC by k776
Modified: 2011-01-28 20:13 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description k776 2009-06-03 06:33:14 UTC
With Rails 2.2 comes I18n support. Add support for highlighting text, hitting a key combo, it prompts for a key name
(separated by periods), and the type of input (inside a string, as html/erb or plain ruby). It then takes the input,
extracts it to a tmp locale file, and replaces the highlighted occurrence with the I18n.t()/t() call.

Similar functionality exists in the TextMate bundle available at
http://github.com/svenfuchs/rails-i18n/tree/master/tools/Rails%20I18n.tmbundle   and works perfectly!