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
-
International SEO & Duplicate Content: ccTLD, hreflang, and relcanonical tags
Hi Everyone, I have a client that has two sites (example.com & example.co.uk) each have the same English content, but no hreflang or rel="canonical" tags in place. Would this be interpreted as duplicate content? They haven't changed the copy to speak to specific regions, but have tried targeting the UK with a ccTLD. I've taken a look at some other comparable question on MOZ like this post - > https://moz.com/community/q/international-hreflang-will-this-handle-duplicate-content where one of the answers says **"If no translation is happening within a geo-targeted site, HREFLANG is not necessary." **If hreflang tags are not necessary, then would I need rel="canonical" to avoid duplicate content? Thanks for taking the time to help a fellow SEO out.
International SEO | | ccox10 -
International Confusion between .com and .com/us
A question regarding International SEO: We are seeing cases for many sites that meet these criteria: -International sites that have www.example.com/ ip redirecting to country site based on ip redirect (ex. www.example.com/ 301 to www.example.com/us -There is a desktop + mobile site (www.example.com + m.example.com) The issue we see is Google shows www.example.com/ in US search results instead of www.example.com/us in search results. Since the .com/ redirects, there is no mobile version, and www.example.com/ also shows up in mobile SERPs instead of m.example.com/us. My questions are: 1. If www.example.com/ is redirecting users and Googlebot, why is Googlebot caching it with the content of www.example.com/us? 2. Why is www.example.com/ showing up in SERPs instead of www.example.com/us? 3. How can we help Google display www.example.com/us and m.example.com/us in SERPs instead of www.example.com/? Thanks!!
International SEO | | FranFerrara0 -
Local Address for International Business?
Our client's business www.shanore.com is based in Ireland but targets international markets, particularly the USA. A few months ago we made the switch to HTTPS and ever since our organic traffic has steadily declined in the USA, UK, Canada etc. by roughly 30 - 40%. In Ireland, over the same period of time it's increased by around 30%. An Irish address features in the Footer and the same address is also given on Google + / Google My Business. Webmaster Tools is set to target the USA & the site is hosted in the USA. Could the presence of the Irish address somehow be overriding the Webmaster Tools geo-targeting? Why would traffic fall everywhere else apart from Ireland? Keyword rankings are also now stronger in Ireland than in other countries.
International SEO | | Johnny_AppleSeed0 -
Question about international redirectss
if I have a site like google.com for United States and another International site, www.google.ca for a site in Canada. Should I create a 302 redirect if someone in Canada visits the google.com site and it automatically redirects them to the google.ca. Is a 302 the appropriate technical thing to do, or is there a better way?
International SEO | | seoflorida0 -
Country-specific SEO
Hi, my client offers courses that whilst based in Manchester, England are mainly attended by people in countries such as Georgia, Libya and Nigeria etc. The people that attend the courses are fluent in English. We're looking at performing country-specific SEO and I have a few queries. The plan so far: Obtain TLD's in each target country. These TLD's would be hosted on the same server as the core site based in England. Option 1: Each TLD would be a microsite with content specific to the country including geo-signals, in English. Option 2: Each TLD would 301 redirect to the core site, i.e. example.sa redirects to example.com/sa/ and this country-specific section would have relevant geo-signals. So I have 3 questions at this point: 1. Most-all of the tips I have seen about country-specific SEO assume that the content should be translated to the native tongue although in this case, the audience are fluent English speaks. Does this make a difference? Is it okay to use English and still be able to rank in country-specific search engines? 2. Between options 1 & option 2 - which would be the optimum setup? 3. Last question, if we obtain the TLD's I hear that it's not necessary to also host that TLD in the target country, is this right? Thanks.
International SEO | | lokito0 -
Does the location of my Domain Registrar affect SEO?
Does the location of my Domain Registrar affect SEO? For example, if my hosting company is in the U.S., but the domain registrar is overseas. Also, is it better to have both services be met by one company?
International SEO | | greenfoxone0 -
Is it a bad idea to use characters with accents or graves within URLs?
Is there an issue using within the URL for a page words with accents or graves, for example including "Estándares"? Thanks Stuart
International SEO | | mcvicar0 -
SEO in the UK
Will soon be starting to do SEO for a client in the UK and wondered if there was anything I should do differently for what I do in the United States?
International SEO | | hwade0