This simplifies the code, since we can avoid having to specify the locale for every translation. The test was added since I originally developed another approach, but that caused exceptions on invalid locales. |
||
---|---|---|
.. | ||
abilities | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
validators | ||
views |