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
-
Question regarding international SEO
Hi there, I have a question regarding international SEO and the APAC region in particular. We currently have a website extension .com and offer our content in English. However, we notice that our website hardly ranks in Google in the APAC region, while one of the main languages in that region is also English. I figure one way would be to set up .com/sg/ (or .com/au/ or .com/nz/), but then the content would still be in English. So wouldn't that be counted as duplicate content? Does anyone have experience in improving website rankings for various English-speaking countries, without creating duplicate content? Thanks in advance for your help!
International SEO | | Billywig0 -
International SEO - UK & US
Hi! I'm currently working with a brand that is well established in the UK and is looking to expand it's reach in US. The UK site has a solid link profile and I think that creating a sub-folder for the US site is by far the best solution. My only concern is that the UK site uses a .co.uk domain. Would it therefore be counter-productive to use a subfolder that looks like this: www.example.co.uk/us In an ideal world I would advise the brand to acquire a location neutral domain (e.g. www.example.com) however the [brandname].com isn't available and options are otherwise very limited! Steps would be taken to ensure all other technical bases are covered (hreflang tags etc) but I'm struggling to find any further insight on this issue. Any feedback from the community would be greatly appreciated! Many thanks, Harrison
International SEO | | harrycox0 -
Redirected traffic and SEO problem
Hi all, I have a bit of a search engine predicament and I can't find the answer anywhere. It's a bit of a complicated one so please bear with me 🙂 ... I'm a Freelance Copywriter, I recently started the business, I've also recently moved to New Zealand. As such I'm looking for business back in the U.K. (As that's where my network is), but also locally, in NZ. I've purchased both the .co.uk and .co.nz domain names (http://www.inspirecontent.co.uk and http://www.inspirecontent.co.nz) The way that the domain provider / host has set these up is for one to redirect to another. Currently if someone visits www.inspirecontent.co.nz it redirects to the U.K. Site. That's less than ideal for me, because I dont want NZ traffic (i.e potential leads) to think I'm a U.K. Based business. my questions are as follows: 1. Will the redirect to the U.K. domain prevent me from appearing in NZ search (I.e if someone searches via google.co.nz) I'm really struggling to rank at the moment, I'm working on more content but if the redirect is a problem then I need to know about it so that I can find a work around. 2. Any suggestions on the best approach to the work around? It would be great if the URLs didn't change! So that you wind up from the U.K. on the U.K site, and if you're from NZ, you land on and stay on the NZ domain, but I'm not sure how to achieve that. One option, I think, would be to have two different websites, hosted separately, but I hear that duplicated content is bad for SEO? Thanks all in advance Kind regards
International SEO | | Andrea_howey0 -
International SEO question domain.com vs domain.com/us/ , domain.com/uk etc.
Hi Mozzers, I am expanding a website internationally. I own the .com for the domain. I need to accommodate multiple countries and I'm not sure if I should build a folder for /us/ for United States or just have the root domain .com OPTION 1:
International SEO | | jeremycabral
domain.com/page-url -- United States
domain.com/de/page-url -- Denmark
domain.com/jp/page-url -- Japan OPTION 2:
domain.com/us/page-url -- United States
domain.com/de/page-url -- Denmark
domain.com/jp/page-url -- Japan My concern with option 2 is there will be some dilution and we wouldn't get the full benefit of inbound links compared to Option 1 as we would have geo ip redirection in place to redirect users etc. to the relative sub-folder. Which option is better from an SEO perspective? Cheers, Jeremy0 -
Proper use of HREF-LANG tag and Geotargeting.
I am working with a global company that has different country sites (these are distinguished via country subdomains - country.site.com). Upon looking at the Google Analytics data, I noticed that even though the different country geotargeting settings aren't set up correctly, we are reaching the right target market for each site. My hunch is because even though there is no geotargeting, the language for each country site is making the content relavant (this in combination with the subdomain). I have read through various resources here on MOZ, and noticed that the primary purpose of the href-lang tag is important if you have similar/identical pages that are targeted towards different countries/languages. If the pages are translations however, how important or impactful is it to set the geotargeting and href-lang tags for the other sites altogether?
International SEO | | marshseo0 -
International SEO
Hi If you were developing a US version of an existing UK site then is this the correct format/instructions for on-page SEO. Ive taken quite a lot from Aleydas great post: http://moz.com/blog/the-international-seo-checklist but just want to confirm below is a good overall checklist to provide to clients developers ? Create US & UK country & language subfolders such as: domain.com/en-us/ and domain.com/en-gb/ Add 'rel=alternatehreflang' attribute according to google guidelines Add individual site map to each subfolder or will the hreflang attribute do or vice versa or both best? Don't redirect users via IP sniffing their location and serving up country/language version. Instead obviously link between language/country versions with a crawlable and very visible menu. Use the meta content language/country by adding the 'country-language' meta-tag in your html head Create individual profiles in GWT & GA for each country/language version and geotarget accordingly Localise content: spelling, currency, contacts etc Anything else re on-page/technical im missing ? Many Thanks
International SEO | | Dan-Lawrence
Dan [edited to fix formatting]0 -
Rel alternate use for multi regional website with english language and same content
I have a website targeting multi language and multi regional users. For example, my main site is www.abcd.com which is in English and targeting US. I have the same content in English which is targeting UK and India with www.uk.abcd.com and www.india.abcd.com. I want to avoid content duplication and help search engines to show the right pages on the country level searches. I have researched a bit and have come to conclusion of using re alternate tag. Can someone help me with how to place the codes for the same. Many thanks Mozers!
International SEO | | HiteshBharucha0 -
International (greek) characters in the URL
For one of our sites we are considering restructuring the urls. This is about a Greek site and we are toying between the following options: a) English URLS e.g. www.domain.com/cars b) Greek URLs e.g. www.domain.com/αυτοκίνητα c) "Greeklish" URLs (Greek words spelled with latin characters) www.domain.com/aftokinita Normally we would imagine option b is the best since it would reinforce the main and most relevant keyword that is already present within the page content. We see many people search in google using greeklish (e.g. they are lazy to switch the keyboard locale all the time). Since we would also like to capture this part of the SE traffic but cannot obviously write in "greeklish" within our main page content maybe option c is a good compromise?
International SEO | | achatzakis0