-
Notifications
You must be signed in to change notification settings - Fork 350
Missing English Translation #242
Comments
I'd try precompiling the assets and re-deploying.
If that doesn't help try inspecting the Mine looks like this:
|
So, I ran As for the inspection method, I am not sure if I know how to do it, can you provide a guide on how to inspect the javascript object? Thank you for your patience. |
Sure, open up dev tools and switch to console tab. Then type in Just to be sure, did you git commit the changes before pushing to heroku? |
Owh, right, web inspector. Cool, now I understand. Yeah, Have not really touched javascript other than bootstrap. Yes, I have commit to git before pushing to heroku. Here is my output. I18n |
Hi, any advise or references that will help to resolve this? Thanks. |
No ida, but you can try my branch and see if that works for you: https://github.com/hakunin/fulcrum Try the master branch, or the |
Tried both, problem persists. Will check for other sources for help. |
I have the exact same issue as @chickensmitten. I will try to empty the cache as proposed in #226 and report back. |
Hi baschtl, did you manage to resolve this? |
@chickensmitten I cleared the cache and precompiled the assets again. But the issue remains. :-/ |
I think I somehow found the issue. https://github.com/fulcrum-agile/fulcrum/blob/master/app/assets/javascripts/locales.js.erb#L1 should load the translations into a Javascript object. However, this object is empty as we have seen. Hence, I looked into Could someone double check this? Why does this work for some people and not for us? Cheers |
BTW As a side note http://guides.rubyonrails.org/i18n.html mentions the following:
Is it possible that when this Javascript object |
Thats why I did this to make it work: Can you check out my branch to see if it helps? |
@hakunin I have not tried it, yet. However, this should do the trick as What I don't get is: why do you have to call it via |
I called it via send because it was private/protected. |
You could also call the public method |
Closed by #235 |
Hi, I am new to Ruby and Rails.
Manage to setup Fulcrum locally and in Heroku. While the local fulcrum has no issues, the one deployed to Heroku has issue with english translation for labels. i.e. [missing "en.velocity" translation]
Googled and only found one possible lead, #226
Followed it, but the problem persist.
Is there something I am missing?
The text was updated successfully, but these errors were encountered: