Skip to content

Rails i18n view helpers for things like crud actions, models and and attributes

License

Notifications You must be signed in to change notification settings

casaper/i18n_rails_helpers

 
 

Repository files navigation

I18nRailsHelpers

Build Status

Rails i18n view helpers for things like crud actions, models and and attributes.

Install

In Rails simply add

gem 'i18n_rails_helpers'

Example

t_attr('first_name')          # 'Vorname' # when called in patients_controller views
t_model                       # 'Konto' # when called in patients_controller views
t_title('delete')             # 'Konto löschen' # when called in accounts_controller views
t_action('index')             # 'Liste'
t_confirm_delete(@account)    # 'Konto Kasse wirklich löschen'

License

Released under the MIT license.

About

Rails i18n view helpers for things like crud actions, models and and attributes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 85.5%
  • HTML 11.3%
  • CSS 1.9%
  • JavaScript 1.3%