Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Had to create the locales folder manually #126

Open
eneifert opened this issue Sep 19, 2014 · 2 comments
Open

Had to create the locales folder manually #126

eneifert opened this issue Sep 19, 2014 · 2 comments

Comments

@eneifert
Copy link

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

@grosser
Copy link
Owner

grosser commented Sep 22, 2014

PR welcome especially for the missing folder error ...

not sure about the initializer, wouldn't that reload translations on every request ?

@eneifert
Copy link
Author

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)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants