ngx-translate / core

The internationalization (i18n) library for Angular
MIT License
4.51k stars 577 forks source link

I need help in angular 7 page source for SEO and translation #1182

Open shafqatjan opened 4 years ago

shafqatjan commented 4 years ago

Im using two packages in Angular 7 import { LOCAL_STORAGE, WINDOW } from '@ng-toolkit/universal'; and import { TranslateService } from '@ngx-translate/core'; after configuration "buildseo": "ng build --configuration=seo", "cmd1": "npm run buildseo", "cmd2": "ng run customer:server:seo", "cmd3": "npm run compile:server", "cmd4": "node local.js" it is showing me json translation variable topMenu.mainMenu.home in source code. does it effect on seo search console?

krishRamalingam commented 4 years ago

I also come across with the same problem now. Looking for a solution. I got this link. but still it it not working. https://itnext.io/angular-universal-how-to-add-multi-language-support-68d83f6dfc4d

any ideas would be highly appreciated!

shafqatjan commented 4 years ago

I also come across with the same problem now. Looking for a solution. I got this link. but still it it not working. https://itnext.io/angular-universal-how-to-add-multi-language-support-68d83f6dfc4d

any ideas would be highly appreciated!

https://www.twilio.com/blog/create-search-engine-friendly-internationalized-web-apps-angular-universal-ngx-translate you can test this link