Allow loading nested locales in engines by gmcgibbon · Pull Request #41872 · rai...
source link: https://github.com/rails/rails/pull/41872
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Hey @gmcgibbon!
Does it make sense to document that this is possible with the other Rails::Engine
docs?
The current phrasing implies something different, so it could be updated to something like:
# Then ensure that this file is loaded at the top of your <tt>config/application.rb</tt> # (or in your +Gemfile+) and it will automatically load models, controllers and helpers # inside +app+, load routes at <tt>config/routes.rb</tt>, load locales at # <tt>config/locales/**/*</tt>, and load tasks at <tt>lib/tasks/*</tt>.
It looks like that documentation should also be updated with respect to tasks and routes which can be nested as well!
Recommend
-
67
vue-i18n-service The translation team (not developers) wants a file with all the keys to translate. But I love to use translations in Single File Components .
-
5
Contributor the8472 commented
-
6
Since we last talked about MDN localization, a lot of progress has been made. In this post we’ll talk you through the unfreezing of Tier 1 locales, and the...
-
3
El inquilino tiene plena responsabilidad legal hacia el propietario, mientras que los subinquilinos son responsables ante los inquilinos originales. Por ejemplo, si un subarrendatario daña la propiedad, debe compensarlo con el inquilino origi...
-
7
El almacenamiento es el acto de almacenar bienes que se venderán o distribuirán más tarde. Mientras que una pequeña empresa Sevilla, espacio comercial, depósito, centro comercial, negocio, local en traspaso, parking, nave industrial desde el hog...
-
4
Rails 7 allows loading nested locales in the engine Jul 20, 2021 , by Keshav Biswa 1 minute read If we want to have multiple...
-
2
yanir manor Posted on Nov 15...
-
5
Copy link Member gmcgibbon commented...
-
1
NEW: Lazy loading & nested query predicates for AWS Amplify DataStore by Rene Brandel | on 18 NOV 2022 | in
-
9
It’s been almost 3 years 3 since we started working on the foundation layers to support pretranslation in Pontoon, and we’ve finally reached a poin...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK