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

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.9, 3.0.4
    • 3.0, 2.9
    • Google Translator
    • 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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

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