grosser / gettext_i18n_rails

Rails: FastGettext, I18n integration -- simple, threadsafe and fast!
MIT License
268 stars 91 forks source link

return a hash on model attributes #170

Closed neohunter closed 2 days ago

grosser commented 7 years ago

yeah ... the crazy panda guy might have told you that is ok, but he is wrong! :trollface:

... rails should not load this file ... will just lead to more trouble down the read and be unnecessary overhead ... it should not live under config/locales since they get autoloaded ... default location is locale/ ... so did you customize the location ?

rgraff commented 5 years ago

@grosser What do you think of appending the model attributes to the end of config/initializers/fast_gettext.rb?

grosser commented 5 years ago

could work