Skip to content
Rails i18n view helpers for things like crud actions, models and and attributes
Ruby HTML CSS JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
bin
config/locales
lib
spec
.gitignore
.travis.yml
CHANGELOG
Gemfile
Gemfile.lock
MIT-LICENSE
README.md
Rakefile
i18n_rails_helpers.gemspec

README.md

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.

Something went wrong with that request. Please try again.