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

Angular Translate is not working #1837

Open
kumar04anil opened this issue Apr 11, 2018 · 2 comments
Open

Angular Translate is not working #1837

kumar04anil opened this issue Apr 11, 2018 · 2 comments

Comments

@kumar04anil
Copy link

Subject of the issue

var $translate = $filter('translate');
$scope.titleDefault = $translate('EMPLOYEE_ADMIN_TAB_SEARCH');
on loading of application it's working fine but if i am Refreshing it,then it is showing the 'EMPLOYEE_ADMIN_TAB_SEARCH' as it is, i don't no why.
can any one please suggest me any solution for it.plz

Your environment

  • version of angular-translate
  • version of angular->1.4.7
  • which browser and its version ->Chrome latest

Steps to reproduce

Tell us how to reproduce this issue. Please provide a working demo, you can use this template as a base.

Expected behaviour

'EMPLOYEE_ADMIN_TAB_SEARCH' this is the key for json file from there it get the value like 'search tab' if we refresh the application also.

Actual behaviour

'EMPLOYEE_ADMIN_TAB_SEARCH' but if we refresh it is showing as it is simple text like 'EMPLOYEE_ADMIN_TAB_SEARCH' i dont no y.

@knalli
Copy link
Member

knalli commented Apr 11, 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.

@knalli knalli added the waiting label Apr 11, 2018
@kumar04anil
Copy link
Author

@knalli knalli removed the waiting label May 17, 2018
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

2 participants