Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-1499

Adding Google Translation to Development Docs

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Component/s: docs.moodle.org
    • Labels:
      None

      Description

      I know people poo-poo the quality of Google translations but I still think it would be a good idea to provide some way to easily generate a translation on-the-fly of all the English docs.

      Let's start with the Development docs at least, to try it out. There are no official translations anyway.

      All we need to do is insert this somewhere near the top:

      <div id="google_translate_element"></div>
      <script>
      	function googleTranslateElementInit() {
      	  new google.translate.TranslateElement({
      	    pageLanguage: 'en'
      	  }, 'google_translate_element');
      	}
      </script>
      <script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: