Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-117493

lupdate's complaint about ts file's missing language attribute is unhelpful

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5
    • Tools: Linguist
    • None
    • All

    Description

      Using an lupdate on the attached folder outputs an error like this:

      C:\work\MCU_Training_Material\Training_Repos\CofeeMaker\imports\Helpers>C:\Qt\6.5.0\mingw_64\bin\lupdate.exe -recursive . -ts translations/translation.ja_JP.ts
      Scanning directory '.'...
      File C:/work/MCU_Training_Material/Training_Repos/CofeeMaker/imports/Helpers/translations/translation.ja_JP.ts won't be updated: it contains translation but the target language is not recognized 

      But for french and Germany, it worked fine.

      C:\work\MCU_Training_Material\Training_Repos\CofeeMaker\imports\Helpers>C:\Qt\6.5.0\mingw_64\bin\lupdate.exe -recursive . -ts translations/translation.fr_FR.ts
      Scanning directory '.'...
      Updating 'translations/translation.fr_FR.ts'...
          Found 16 source text(s) (6 new and 10 already existing)C:\work\MCU_Training_Material\Training_Repos\CofeeMaker\imports\Helpers>
      C:\work\MCU_Training_Material\Training_Repos\CofeeMaker\imports\Helpers>C:\Qt\6.5.0\mingw_64\bin\lupdate.exe -recursive . -ts translations/translation.de_DE.ts
      Scanning directory '.'...
      Updating 'translations/translation.de_DE.ts'...
          Found 16 source text(s) (6 new and 10 already existing) 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kkohne Kai Köhne
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes