You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The original ruby gettext extractor also extracted fields and database names as translatable strings because they find their way into views quite often. Is it possible to add that to this extractor too?
The text was updated successfully, but these errors were encountered:
This generates a file local/model_attributes.rb which contains all model names and attributes. I like this method as I can regenerate this file whenever I know there are new attributes (and therefore it doesn't slow down the usual gettext:find rake tastk)
I don't like generating source code for a side effect, that is never going to be executed. But on the other side, I can also see why that way could be seen as cleaner.
At any rate I believe the real issue is that I solved a problem that was already solved because using gettext involves picking pieces from many different locations, finding out about those pieces and combining them carefully. I believe there should be a more ready-to-work gettext solution (and I wish to work on that, I just don't have the time, yet).
The original ruby gettext extractor also extracted fields and database names as translatable strings because they find their way into views quite often. Is it possible to add that to this extractor too?
The text was updated successfully, but these errors were encountered: