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

Allow lupdate to affect only specified contexts

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • None
    • Tools: Linguist
    • None

      I'm looking for a way to update only specific contexts of .ts files via lupdate.exe. 

      We have a large project with one context for each source file and running lupdate over the whole project takes some time. 
      If a translation key is added in a single file (single context) it would be great if lupdate was able to update only that context without parsing the whole project.

       

      Sugggestion

      Add a command line parameter to lupdate.exe that allows to restict the process to the specified context OR restrict the process to the context of the specified file.

      Alternative: Add a command line parameter to lupdate.exe that prevents the process from setting existing translations to "vanished".

       

      Current Issue

      If lupdate is called with a single file argument, all existing translations of other files (other contexts) in the target .ts file will be set to "vanished".

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

            kkohne Kai Köhne
            nlichtenberg Nils Lichtenberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes