Uploaded image for project: 'Content Translation Extended (CTX)'
  1. Content Translation Extended (CTX)
  2. EXCONTRANS-318

Google translator sends language country codes which trigger errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0, 2.9
    • Fix Version/s: 2.9, 3.0.4
    • Component/s: Google Translator
    • Labels:
      None

      Description

      Google Cloud Translate recognises a given set of languages but does not distinguish between county-specific dialects (indicated by an ISO 3166 two letter code)

      See: https://cloud.google.com/translate/docs/languages

      Our implementation of the translator includes these country codes (when configured in i18n config) and receives 400 (bad request) errors from Google.

      We should ignore these country codes when submitting translations so we get a "German" response whether requesting Swiss German or German as spoken in Germany.

        Attachments

          Activity

            People

            Assignee:
            tmiyar Teresa Miyar
            Reporter:
            chris.jennings Chris Jennings
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 5h
                5h