somename
somename

Reputation: 998

How to enable translatation support after creating JHipster Application

I created JHipsterApplication - at the time of the prompt "Would you like to enable translation support with Angular Translate? (Y/n)" - I provided "n". Now application is created and I want to add translation support to my application. Is there anyway to add translation support after the application is created or enable something which is disabled at the time of creating the application?

I tried "bower install angular translate" but it still says Translation is disabled for this project. Language can not be added". Thank you for your help.

Upvotes: 5

Views: 1886

Answers (1)

Gaël Marziou
Gaël Marziou

Reputation: 16284

Edit the .yo-rc.json file in your project folder and re-generate your app using jhipster --with-entities, it will ask you for overwriting some files and maybe you'll have to merge some others.

Alternatively, after having edited the .yo-rc.json file, you could use also run the upgrade generator jhipster upgrade --force, it will handle your custom changes better.

Upvotes: 6

Related Questions