Is using JavaScript to render translations safe for International SEO?
-
Hello World!
Background: I am evaluating a tool/service that a company wants to use for managing the translated versions of their international/multi-lingual websites: https://www.transifex.com/product/transifexlive/
Transifex is asking webmaster to "simply add a snippet of JavaScript" to their website(s); the approved translations are added by the business in the back-end; and the translated sites are made live with the click of a button (on/to the proper ccTLD, sub-domain, or sub-directory, which is specified).
CONCERN: Even though I know Google reads JavaScript for crawling and ranking,
I am concerned because I see the "English text" when I view the source-code on the "German site", and I wonder if this is really acceptable?QUESTION: Is a service like this (such as Transifex using JavaScript to render translations client-side) safe for indexing and ranking for my clients' international search engine visibility, especially via Google?
Thank you!
-
Hi Edward,
It's not recommended to rely on Google capacity "processing" scripts to show any key content on your site, in this case, additional language or country versions. If the information shown in the HTML code and the Google cache version of the pages is not the relevant one -and only one is shown the whole time for example- then it's not being correctly rendered. You can also verify this with the "Fetch as Googlebot" functionality from the Google Search Console.
If you want to make sure that each of your language/country versions are really accessible then the best is to make sure each piece of content is published as text in their own specific HTMLs whether in ccTLDs, subdirectories or subdomains for country versions or also, subdirectories or subdomains for language versions; making sure to use the relevant terms and topics for each language/country audiences (which might not necessarily be the literal translations among them, so a unique keyword research, content writing and optimization process by a native speaker is required)
Thanks!
-
No. Because HTML text will be same and altered with JS.
And bots using HTML text for indexing and ranking.
-
OKay, so if we properly use hreflang tags, and link sites each other, based on the hreflang tag protocol, then is this acceptable and safe to use JavaScript to render translations client-side, specifically for the Google search engine?
-
TL;DR - NO.
There are few ways for translation and they're described there:
https://support.google.com/webmasters/answer/182192?hl=enYou also must implement hreflang and link sites each other.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Internal Links Not Registering
Hey everybody. In Moz when I compare link profiles to my competitors my domain is showing up as only having 4 internal follow links, and 0 nofollow. I know for a fact this is not the case however it is disconcerting. Is there any reason why Moz wouldn't be able to pick up my internal links? Is there a difference when linking internally by "/page_a" vs actually spelling out the entire URL i.e. "https://www.mysite.com/page_a"
International SEO | | HashtagHustler0 -
Translated Videos for YouTube
We've translated product description videos, typically we upload the videos to YouTube once they are complete and then embed them on our website. Should I create a new YouTube channel targeted to the locations for which these videos have been translated?
International SEO | | Brando160 -
Using a top level domain name and directing it to a subfolder
Hi, we have a large international network. Our main website sits on .com domain and is used by the UK market. We have an international site in a subdirectory .com/dk/ for Denmark for example. We have also purchased the domain name www.ourcompany.dk/. Should we be forwarding the domain name (www.ourcompany.dk/) to point to the subdirectory www.ourcomany.com.dk/ so in the browser it shows up as www.ourcompany.dk or should we be displaying it as www.ourcompany.com/dk/? Are there any pros and cons to this method? Which one is best and are there any benefits in SEO. Ideally we want the .com domain name to have the best domain authority so would this impact it in any way? Any tips would be great.
International SEO | | Easigrass0 -
International SEO strategy for an ecommerce with 3 languages.
Hi all, I've an ecommerce which ships worldwide and we maintain 3 languages, spanish, english and french. My main business is in Spain, so spanish will be shown in the root domain: http://domain.com/. English will have the /en/ subdomain and french the /fr/ subdomain. After some research, I've concluded that the best strategy for my business is the following. 1º- Translate all the URL's to the correct language, since now are in spanish. 2º- Implement Hreflang tag (with self-reference): Note: Due to the "universality" of english, Does it make sense? Or should I use spanish as default since it's the most important one. 3º- Create the 3 sites in Search Console and only geo targetting french sobdomain to France. Since I really want to boost in France rankings. Do you consider this as a contradiction with ? I could also target country in the hreflang. 4º- Add language tag in each language version: <meta name="language" content="spanish">in http://domain.com/</meta name="language"> <code class="broncode"><meta name="language" content="english">in http://domain.com/en/</meta name="language"></code> <code class="broncode"><meta name="language" content="french">in http://domain.com/fr/</meta name="language"></code> <code class="broncode">5º- Use canonical tag together with hreflang.</code> ``` Any opinion will be very appreciated. Thanks a lot in advance! Best regards.
International SEO | | footd0 -
What is the current thinking about translated versions of pages? Is it necessary
My company is about to do a big push in China. We can get our homepage translated in Chinese at a very reasonable price. My questions are: Is it worth it? Do browsers to an adequately job of translating pages? If it is worth it: Can someone suggest a good post explaining what to do with the translation? What are the SEO implications? Thank you
International SEO | | appbackr
Sarah0 -
Backlinks to URLs with Language Parameters (for Chinese version of website) and SEO?
Hey all, We run a large eCommerce site in Australia and are preparing to launch to the Chinese market. Our site has been fully converted to Chinese and displays the version of the site detected as default in the user's browser unless they manually select otherwise. This is done by appending the parameter "?la=zh" onto the end of the URL, so for example the Chinese version would be: **www.example.com/australia?la=zh ** This then forces the product catalogue to display the relevant language version. My question is, for SEO purposes and back links in particular, since they aren't really a "true URL" (i.e: strictly speaking they aren't different "pages", just the same page being populated with different characters), would getting links from Chinese websites to the URL "www.example.com/australia?la=zh" really be viewed as any different from just "www.example.com/australia"? Do they pass the same amount of juice and is the difference detected by the engines (thinking mainly about Baidu in particular but of course Google as well)? Feedback from anyone with experience in SEO for multi-lingual sites would be much appreciated, thanks.
International SEO | | ExperienceOz0 -
Same domain with different google effect seo ?
I have a domain www.abc.com for US market. Now i want to sell same services in Australia. I am thinking to buy www.abc.com.au . Because i think i will get rank more faster for .au in Australia because of .au . What do you guys suggest ?
International SEO | | afycon0 -
SEO for different English spiking countries
Hi, I'm trying to target my SEO to several English spiking countries (Canada, UK, Australia, South Africa and so..) and I came across a big dilemma: should I tray to build a local version of my website for each country, or perhaps I should stay with my one .COM website and re-direct all the English-local-countries with 301 (if anyone will tray to go into the local domain)? The thing is that obviously the best practice to get high ranking is to be local, but what should I put in those sites and who can I avoid duplicate content and user confusion? On the other hand, do you think I can really get high ranking with one website for all those countries, and how? Thanks, Itay Drory.
International SEO | | RAN_SEO0