0

enter image description hereI have deployed jhipster app on AWS . When I run it from production some of the fields are saying : translation-not-found[myApp.mymodel] But they just run fine on the development server . Can someone help me to debug the issue as I donot know much about Angular js . Thanks .

WannaBeGeek
  • 979
  • 14
  • 32

1 Answers1

0

As an example I misspelled an entry in the i18n/en/label.json of the sample app. When I navigate to the label page the translation is failing.enter image description here Then you open webtools and navigate to the Network panel and then you can filter only the json resources. In order to debug my missing label title I search in the label.json file for the jhipsterSampleApplicationApp.label.home.title but as you can see there is ajhipsterSampleApplicationApp.label.home.title-1 entry.enter image description here I you are using internalisation, then you will need to be sure that you are searching for the correct resource.

duderoot
  • 977
  • 1
  • 8
  • 23
  • Thanks for your answer @duderoot . I ran it on some other browser and it was working . So , turned out that after clearing cookies on my browser , it worked. – WannaBeGeek Sep 08 '17 at 06:06