javascript – How Angularjs implements multilingualism

Question:

How does multilingualism affect SEO? What the URL should look like, example http://site.com/#/ru/home What tools do you use on your projects with angular to switch languages? I read a couple of articles similar to this one http://habrahabr.ru/post/237867/ http://fadeit.dk/blog/post/angularjs-seo-for-angular-translate But I never found an answer to the question.

Answer:

What tools do you use in your angular projects to switch languages?

Angular-translate module The project is quite active and experienced. The documentation is pretty good. It can be said to be the default choice for multilanguage in angularjs app.

How does multilingualism affect SEO?

Not worse than angular in my opinion. That is, it is angularjs rather than multilingualism that brings obstacles to SEO. There are two options:

  • Either the crawler interprets javascript, like a Google crawler since May 2014 , and then it is possible for it to index the page after rendering
  • Or the crawler does not interpret javascript. Then you need to somehow give the crawler the already processed version of the pages. See for example prerender.io for this.
Scroll to Top