Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

In some cases translation does not carry #1855

Open
GlauberF opened this issue Aug 20, 2018 · 2 comments
Open

In some cases translation does not carry #1855

GlauberF opened this issue Aug 20, 2018 · 2 comments

Comments

@GlauberF
Copy link

GlauberF commented Aug 20, 2018

In some cases translation does not carry

in some cases the translation does not load, only running if I do refresh the page.
I use angular-translate-loader-url.

It looks like it did not load the json file, what could I do in that case?

environment

  • version of my angularjs 1.7.2
  • angular-translate version 2.18.1
  • angular-translate-loader-partial version 2.18.1

example, when giving the error

captura de tela de 2018-08-20 18-16-59

after giving refresh on page, forcing reload translation:

captura de tela de 2018-08-20 18-18-19

@khmyznikov
Copy link

Confirm. In my case all JSON already cached but sometimes, only some elements are not translated. Refresh helps, but annoying. No errors in console. Usually broken {{ 'TITLE' | translate}} this kind of usage, but not all, just some.

@knalli
Copy link
Member

knalli commented Oct 3, 2018

Hello,

as we had already mentioned in the issue's template, we need a working and as minimal as possible demo covering your specific use case or issue.

Follow these steps:

  1. Please open this plnkr base.
  2. Fork it (at the top left).
  3. Ensure the version of AngularJS and angular-translate is correct.
  4. Ensure all angular-translate plugins are available; reduce and remove anything you can.
  5. Write a minimal as possible demo for your specific issue.
  6. Save and freeze. Provide us the final link to your demo.

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

No branches or pull requests

3 participants