Moodle
  1. Moodle
  2. MDL-21670

Automatic translation for Moodle UI strings with Google Translation API

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.7
    • Fix Version/s: 2.0
    • Component/s: Language
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Rank:
      35638

      Description

      This patch allows user to use Google Translation API to automatically translate for Moodle UI strings. The feature is described here: http://abautu.blogspot.com/2010/02/automatic-translation-for-moodle-string.html

        Activity

        Hide
        Martin Dougiamas added a comment -

        This would be a cool addition to lang.moodle.org

        Show
        Martin Dougiamas added a comment - This would be a cool addition to lang.moodle.org
        Hide
        David Mudrak added a comment -

        Martin, we will need Google API key to incorporate their services at lang.moodle.org. To obtain an API key, one has to have google account (and the key is linked with this account) and has to agree their conditions. I guess you are the only one who get such API key for us (if we do not have it yet). For more info, please see http://code.google.com/intl/en/apis/ajaxsearch/signup.html

        For what I can see, the best would be to either use some current google account we already use for such things or create another general one (like 'moodle' or so) and then generate API key for lang.moodle.org

        Show
        David Mudrak added a comment - Martin, we will need Google API key to incorporate their services at lang.moodle.org. To obtain an API key, one has to have google account (and the key is linked with this account) and has to agree their conditions. I guess you are the only one who get such API key for us (if we do not have it yet). For more info, please see http://code.google.com/intl/en/apis/ajaxsearch/signup.html For what I can see, the best would be to either use some current google account we already use for such things or create another general one (like 'moodle' or so) and then generate API key for lang.moodle.org
        Hide
        David Mudrak added a comment -

        Increasing the priority of this issue as it might significantly increase the speed of Moodle 2.0 translation

        Show
        David Mudrak added a comment - Increasing the priority of this issue as it might significantly increase the speed of Moodle 2.0 translation
        Hide
        David Mudrak added a comment -

        Done. AMOS now integrates Google translator. "g" icon appears at the string if Google offers translation into the given language. If the icon does not appear, it should be checked that Google uses the same language code as we do. Please report any mapping needed, for example for Chinese we will need to add correct mapping from our lang codes to the Google one.

        Show
        David Mudrak added a comment - Done. AMOS now integrates Google translator. "g" icon appears at the string if Google offers translation into the given language. If the icon does not appear, it should be checked that Google uses the same language code as we do. Please report any mapping needed, for example for Chinese we will need to add correct mapping from our lang codes to the Google one.

          People

          • Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: