-
Notifications
You must be signed in to change notification settings - Fork 39
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
Translation does not load from angular-translate #1
Comments
It randomly started working...closing issue |
Actually. It loads fine the first time, but any additional refresh loads the wrong text. |
Thanks for your feedback. It could be a great help to figure out the root cause, if you can provide more information about 'additional refresh'. |
So on first load of the page it works, but then if the page is refreshed the translation is lost. Cannot reproduce it on plnkr yet as I believe it's related to the async call to the external translation file which doesn't seem to work on plnkr, but I'll see if I can find an example where loading partials works on plnkr. |
it seems the translate issue appears in 0.1.3 again. |
Hi, had the same issue in the 0.4.2 release. Solution that worked for me is adding the following lines at the beginning of the computeStyle declaration:
Hope that helps you too. |
I believe this to be an issue of loading partial translation files. So the data isn't loaded when you grab it, but is loaded async later.
See http://i.imgur.com/F03133N.jpg for the problem.
Code used:
I've verified that it does not exist when the files are loaded locally: http://plnkr.co/edit/KoxNXyUnN4te54yjnwrH?p=preview
plnkr does not allow loading partial translation files or I'd provide a reproduction for that.
Please let me know if I can provide further details.
The text was updated successfully, but these errors were encountered: