The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. International Issues
    4. Is using JavaScript to render translations safe for International SEO?

    Is using JavaScript to render translations safe for International SEO?

    International Issues
    5 3 818
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SixSpokeMedia64
      SixSpokeMedia64 last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • Mobilio
        Mobilio last edited by

        TL;DR - NO.

        There are few ways for translation and they're described there:
        https://support.google.com/webmasters/answer/182192?hl=en

        You also must implement hreflang and link sites each other.

        SixSpokeMedia64 1 Reply Last reply Reply Quote 0
        • SixSpokeMedia64
          SixSpokeMedia64 @Mobilio last edited by

          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?

          Mobilio 1 Reply Last reply Reply Quote 0
          • Mobilio
            Mobilio @SixSpokeMedia64 last edited by

            No. Because HTML text will be same and altered with JS.

            And bots using HTML text for indexing and ranking.

            1 Reply Last reply Reply Quote 0
            • Aleyda
              Aleyda last edited by

              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!

              1 Reply Last reply Reply Quote 2
              • 1 / 1
              • First post
                Last post
              • International SEO Mobile directory
                BasKierkels
                BasKierkels
                0
                6
                164

              • International SEO Proposal
                santicu
                santicu
                1
                4
                413

              • International SEO errors
                MickEdwards
                MickEdwards
                0
                3
                311

              • International SEO Query
                gfiorelli1
                gfiorelli1
                0
                3
                146

              • International SEO Question: Using hreflang tags across two different TLDs.
                gfiorelli1
                gfiorelli1
                0
                4
                1.5k

              • International SEO - Setting up reporting
                Gijsbert
                Gijsbert
                0
                3
                108

              • International SEO
                daracreative
                daracreative
                0
                3
                504

              • International SEO - 1 Question
                CPU
                CPU
                0
                4
                796

              Get started with Moz Pro!

              Unlock the power of advanced SEO tools and data-driven insights.

              Start my free trial
              Products
              • Moz Pro
              • Moz Local
              • Moz API
              • Moz Data
              • STAT
              • Product Updates
              Moz Solutions
              • SMB Solutions
              • Agency Solutions
              • Enterprise Solutions
              • Digital Marketers
              Free SEO Tools
              • Domain Authority Checker
              • Link Explorer
              • Keyword Explorer
              • Competitive Research
              • Brand Authority Checker
              • Local Citation Checker
              • MozBar Extension
              • MozCast
              Resources
              • Blog
              • SEO Learning Center
              • Help Hub
              • Beginner's Guide to SEO
              • How-to Guides
              • Moz Academy
              • API Docs
              About Moz
              • About
              • Team
              • Careers
              • Contact
              Why Moz
              • Case Studies
              • Testimonials
              Get Involved
              • Become an Affiliate
              • MozCon
              • Webinars
              • Practical Marketer Series
              • MozPod
              Connect with us

              Contact the Help team

              Join our newsletter
              Moz logo
              © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy