How to Find Priority I18n Rails

I do not know the difference between config.i18n.load_path and I18n.load_path . https://stackoverflow.com/questions/32880561/config-i18n-load-path-and-i18n-load-path-difference

invents-i18n-views

I am using https://github.com/mcasimir/devise-i18n-views .

Catalog

enter image description here

My project has three I18n attributes for custom attributes.

  activerecord: attributes: user: 

in config/locales/models/*.yml , config/locales/devise*.yml , gems/devise-i18n-views-0.3.5/locales/*.yml .

Run

I consider it a priority.

  • config / locales / models / *. yml
  • config / locales / devise * .yml
  • gems / invent-i18n-opinions-0.3.5 / locales / *. Yml

How to find out priority

http://guides.rubyonrails.org/i18n.html does not say about priority for I18n.

+7
ruby-on-rails
source share
1 answer

I'm not sure that knowing priority will help you.

The fact is that if you change some of your locale files in design mode while your server is still running, the changed file will be rebooted and override the existing area activerecord.attributes.user .

So, I think the most reliable way would be to extract the activerecord region activerecord file.

0
source share

All Articles