You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue here is that what (lazy) loads translations is when we use the rails I18n#translate call. However, we're relying on config/locales/en.yml to push data to the copycopter_client's cache (to be later sync'ed) so that we can use them from the client side. Therefore there's nowhere in the app where we call I18n#t.
We should make the copycopter client load those translations automatically. Possibly make it configurable if there are any concerns with that.
Any other suggestions?
The text was updated successfully, but these errors were encountered:
We use I18n's lazy loading to avoid loading translations from Copycopter when running tasks (like rake db:migrate) that don't require any translations. We could add a method to manually load translations from locales and Copycopter.
The issue here is that what (lazy) loads translations is when we use the rails I18n#translate call. However, we're relying on config/locales/en.yml to push data to the copycopter_client's cache (to be later sync'ed) so that we can use them from the client side. Therefore there's nowhere in the app where we call I18n#t.
We should make the copycopter client load those translations automatically. Possibly make it configurable if there are any concerns with that.
Any other suggestions?
The text was updated successfully, but these errors were encountered: