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
Just wanted to let you know that when I started with a new project today and tried to run rake gettext:add_language[XX] I got a FastGettext::Storage::NoTextDomainConfigured error. It took me a while to figure out why but eventually I copied the locales folder from your sample app to my app and that fixed the problem.
BONUS:
Also what do you think about adding the following line to your your sample initializers/fast_gettext?
FastGettext.reload!
If I understand this correctly without this line production translations would not reflect updates to existing keys so having this there seems like a reasonable solution.
Thanks again for your work!
Eric
The text was updated successfully, but these errors were encountered:
I am going to have to pass on the PR but as for the initializer, that not
reload translations on every request see this post: http://stackoverflow.com/a/8554213/587959
Thanks again best of luck,
Eric
On Mon, Sep 22, 2014 at 11:47 AM, Michael Grosser [email protected]
wrote:
PR welcome especially for the missing folder error ...
not sure about the initializer, wouldn't that reload translations on every
request ?
—
Reply to this email directly or view it on GitHub #126 (comment)
.
Hello and kudos to you sir for the great app!
Just wanted to let you know that when I started with a new project today and tried to run rake gettext:add_language[XX] I got a FastGettext::Storage::NoTextDomainConfigured error. It took me a while to figure out why but eventually I copied the locales folder from your sample app to my app and that fixed the problem.
BONUS:
Also what do you think about adding the following line to your your sample initializers/fast_gettext?
FastGettext.reload!
If I understand this correctly without this line production translations would not reflect updates to existing keys so having this there seems like a reasonable solution.
Thanks again for your work!
Eric
The text was updated successfully, but these errors were encountered: