This project is archived and is in readonly mode.

#4820 ✓invalid
Lawrence Pit

Config option to prevent i18n.reload! on each request

Reported by Lawrence Pit | June 10th, 2010 @ 02:03 PM | in 3.0.2

In development mode on each request I18n.reload! is called. If you use a custom backend that e.g. loads all translations from a database this will significantly slow down development.

Attached patches for 2-3-stable and rails 3 add the option config.i18n.reload_on_each_request, which is default set to +false+. In environment/development.rb it is set to +true+ by default.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages