provideal / tabulatr

A tight DSL to build tables of ActiveRecord or Mongoid models with sorting, pagination, finding/filtering, selecting and batch actions. Tries to do for tables what formtastic and simple_form did for forms.
Other
160 stars 15 forks source link

Feature: i18n lookup for attribute names #13

Closed zealot128 closed 10 years ago

zealot128 commented 13 years ago

nice plugin. Unfortunately I have to add a:

t.column :published, :header => t("activerecord.attributes.post.published")  

ActiveRecord Lookup Path to each attribute to ensure a correctly translated attribute name. Is it possibile to look that by default, like formtastic/rails default forms automatically do that? This would play very nicely altogether with i18n.

Crunch09 commented 10 years ago

Hi @zealot128 , if you are still interested tabulatr2 got you covered, attribute names are automatically translated.