Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-5036

Pretranslation crashes on specific language combinations

XMLWordPrintable

    • Critical
    • Resolved match analysis / pre-translation crashes for specific language combinations.

      problem

      If a batchable language resource in a sublanguage (for example en-US) is used by a task with a different sub language (en-GB) then the batch worker crashes. 

       2025-10-08 10:23:56 ERROR E9999 (# 21304) core → TypeError: editor_ModelInstances::language(): Argument #1 ($id) must be of type int, null given, called in /var/www/translate5/application/modules/editor/Services/Connector/Abstract.php on line 607 

      reason 

      Chaotic passing and converting of languages partly outside and partly inside of the language resource connectors. 

      solution

      Clean the language processing up, so that is clearer what is going on regarding (major|sub) language conversion on the context of languageresources and such problems won't occur anymore.
       
       
       

       

            tlauria Thomas Lauria
            tlauria Thomas Lauria
            Sanya Mikhliaiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: