radical-doubting / anikultura-frontend

Farmer Dashboard PWA for Anikultura using Angular and Ionic.
MIT License
2 stars 0 forks source link

[Chore] Add translation in the farmer dashboard #20

Closed jay1-53 closed 2 years ago

jay1-53 commented 2 years ago

Farmer Languages

We support three kind of language in the farmer dashboard.

However, the language preference is still not persistent. The preference vanish on refresh or logout

jay1-53 commented 2 years ago

Error: Process completed with exit code 1 in line 46 can be fixed by running this on the command prompt:

npm install --legacy-peer-deps --save @ngx-translate/core npm install --legacy-peer-deps --save @ngx-translate/http-loader

This is an angular translation support that we have utilized to develop language preference.

jgarivera commented 2 years ago

Error: Process completed with exit code 1 in line 46 can be fixed by running this on the command prompt:

npm install --legacy-peer-deps --save @ngx-translate/core npm install --legacy-peer-deps --save @ngx-translate/http-loader

This is an angular translation support that we have utilized to develop language preference.

In this commit, this issue has been fixed by downgrading the versions of @ngx-translate/core and @ngx-translate/http-loader to versions that are compatible with our current Angular version (12.x).