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

Internal XLIFF generator blows up internal translation files creating out of memory errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • None
    • None
    • I10N

    Description

      problem

      In the ParseXliff class our internal translation stuff is done.

      The class opens several files and adds there missing translations.

      In the case of the notFound logging the whole logfile is opened, instead adding the missing xliff entries to the end.

      This can lead to out of memory errors.

      Therefore a lot of strings are collected which should be either translated, or the strings are translated although they should not be translated. Investigate the attached log to identify such translations.

      Missing Translations:

      44 <b>Quellsprache:</b> {sourceLanguageTranslated}<br />
      22 <b>Wortanzahl:</b> {wordCount}<br /></source><target><b>Aufgabe:</b> {task.taskName}<br />
      22 <b>Wortanzahl:</b> {wordCount}<br /></target></trans-unit>
      44 <b>Zielsprache:</b> {targetLanguageTranslated}<br />
      44 {relaisLanguageFragment}<b>Lieferdatum Lektoren:</b> {targetDeliveryDate}<br />
      1 </body>
      1 <body><trans-unit id='bm8gc3RhdHVzIHNldA=='><source>no status set</source><target>no status set</target></trans-unit>
      1 </file>
      1 <file original='php-sourcecode' source-language='ha' target-language='en' datatype='php' xml:space='preserve'>
      1 <!-- html-tags inside the target-string must not be encoded as they should regarding xliff but should be left as plain hmtl. At this stage ZfExtended does not support xliff inline tags -->
      1 <!-- the transunit-ID should contain the base64-encoded source-string als used in the php source-code. This ID is used for matching. -->
      1 </xliff><trans-unit id='JyV2YWx1ZSUnIGlzdCBrZWluZSBHVUlE'><source>'%value%' ist keine GUID</source><target>'%value%' ist keine GUID</target></trans-unit>
      1 <?xml version="1.0" ?>
      132 <br /></source><target>Die Aufgabe wurde nun automatisch für die folgenden Benutzer in der Rolle <i>{nextRole}</i> freigegeben:<br />
      132 <br /></target></trans-unit>
      2 <br/></source><target>
      2 <br/></target></trans-unit>
      4 <br/><b>Alle der Aufgabe zugeordneten Benutzer:</b>
      2 <trans-unit id='Cjxici8+PGI+QWxsZSBkZXIgQXVmZ2FiZSB6dWdlb3JkbmV0ZW4gQmVudXR6ZXI6PC9iPgo8YnIvPg=='><source>
      114 <trans-unit id='IC0gbWl0IEFlbmRlcnVuZ2VuIG5hY2h2ZXJmb2xnZW4uemlw'><source> - mit Aenderungen nachverfolgen.zip</source><target> - mit Aenderungen nachverfolgen.zip</target></trans-unit>
      263 <trans-unit id='JyV2YWx1ZSUnIGRvZXMgbm90IG1hdGNoIHRoZSBleHBlY3RlZCBzdHJ1Y3R1cmUgZm9yIGEgRE5TIGhvc3RuYW1l'><source>'%value%' does not match the expected structure for a DNS hostname</source><target>'%value%' does not match the expected structure for a DNS hostname</target></trans-unit>
      176537 <trans-unit id='JyV2YWx1ZSUnIGlzdCBrZWluZSBHVUlE'><source>'%value%' ist keine GUID</source><target>'%value%' ist keine GUID</target></trans-unit>
      22 <trans-unit id='PGI+QXVmZ2FiZTo8L2I+IHt0YXNrLnRhc2tOYW1lfTxiciAvPgogICAgPGI+UXVlbGxzcHJhY2hlOjwvYj4ge3NvdXJjZUxhbmd1YWdlVHJhbnNsYXRlZH08YnIgLz4KICAgIDxiPlppZWxzcHJhY2hlOjwvYj4ge3RhcmdldExhbmd1YWdlVHJhbnNsYXRlZH08YnIgLz4KICAgIHtyZWxhaXNMYW5ndWFnZUZyYWdtZW50fTxiPkxpZWZlcmRhdHVtIExla3RvcmVuOjwvYj4ge3RhcmdldERlbGl2ZXJ5RGF0ZX08YnIgLz4KICAgIDxiPldvcnRhbnphaGw6PC9iPiB7d29yZENvdW50fTxiciAvPg=='><source><b>Aufgabe:</b> {task.taskName}<br />
      5 <trans-unit id='PGI+UmVsYWlzc3ByYWNoZTo8L2I+IHtyZWxhaXNMYW5ndWFnZVRyYW5zbGF0ZWR9PGJyIC8+'><source><b>Relaissprache:</b> {relaisLanguageTranslated}<br /></source><target><b>Relaissprache:</b> {relaisLanguageTranslated}<br /></target></trans-unit>
      727 <trans-unit id='Q29tcGxldGVuZXNz'><source>Completeness</source><target>Completeness</target></trans-unit>
      727 <trans-unit id='QWNjdXJhY3k='><source>Accuracy</source><target>Accuracy</target></trans-unit>
      727 <trans-unit id='QWRkaXRpb24='><source>Addition</source><target>Addition</target></trans-unit>
      2812 <trans-unit id='QWRtaW4='><source>Admin</source><target>Admin</target></trans-unit>
      2812 <trans-unit id='QXJhYmlzY2g='><source>Arabisch</source><target>Arabisch</target></trans-unit>
      5690 <trans-unit id='QXV0b8O8YmVyc2V0enQ='><source>Autoübersetzt</source><target>Autoübersetzt</target></trans-unit>
      727 <trans-unit id='R3JhbW1hcg=='><source>Grammar</source><target>Grammar</target></trans-unit>
      1 <trans-unit id='RGVyIMO8YmVyZ2ViZW5lIFByb29mUmVhZEZvbGRlciAvd2Vicy93b3JsZHRyYW5zbGF0aW9uLnRyYW5zbGF0ZTUubmV0L2FwcGxpY2F0aW9uLy4uL2RhdGEvZWRpdG9ySW1wb3J0ZWRUYXNrcy8yN2NiMzc1NC04YjMyLTRjOGYtOTNiYi1iNjlhYmJlMzRhZjgvX3RlbXBJbXBvcnQvcHJvb2ZSZWFkIGV4aXN0aWVydCBuaWNodCBvZGVyIGlzdCBsZWVyLg=='><source>Der übergebene ProofReadFolder /webs/XXX.translate5.net/application/../data/editorImportedTasks/27cb3754-8b32-4c8f-93bb-b69abbe34af8/_tempImport/proofRead existiert nicht oder ist leer.</source><target>Der übergebene ProofReadFolder /webs/XXX.translate5.net/application/../data/editorImportedTasks/27cb3754-8b32-4c8f-93bb-b69abbe34af8/_tempImport/proofRead existiert nicht oder ist leer.</target></trans-unit>
      1 <trans-unit id='RGVyIMO8YmVyZ2ViZW5lIFByb29mUmVhZEZvbGRlciAvd2Vicy93b3JsZHRyYW5zbGF0aW9uLnRyYW5zbGF0ZTUubmV0L2FwcGxpY2F0aW9uLy4uL2RhdGEvZWRpdG9ySW1wb3J0ZWRUYXNrcy9iM2UwMDk3My1hZGFiLTRmNGQtYjAzNy00MzE1ODc4YzEwYTcvX3RlbXBJbXBvcnQvcHJvb2ZSZWFkIGV4aXN0aWVydCBuaWNodCBvZGVyIGlzdCBsZWVyLg=='><source>Der übergebene ProofReadFolder /webs/XXX.translate5.net/application/../data/editorImportedTasks/b3e00973-adab-4f4d-b037-4315878c10a7/_tempImport/proofRead existiert nicht oder ist leer.</source><target>Der übergebene ProofReadFolder /webs/XXX.translate5.net/application/../data/editorImportedTasks/b3e00973-adab-4f4d-b037-4315878c10a7/_tempImport/proofRead existiert nicht oder ist leer.</target></trans-unit>
      132 <trans-unit id='RGllIEF1ZmdhYmUgd3VyZGUgbnVuIGF1dG9tYXRpc2NoIGbDvHIgZGllIGZvbGdlbmRlbiBCZW51dHplciBpbiBkZXIgUm9sbGUgPGk+e25leHRSb2xlfTwvaT4gZnJlaWdlZ2ViZW46PGJyIC8+Cnt1c2VyTGlzdH08YnIgLz4KRGllIEJlbnV0emVyIHd1cmRlbiBwZXIgRS1NYWlsIGRhcsO8YmVyIGluZm9ybWllcnQuPGJyIC8+CjxiciAvPg=='><source>Die Aufgabe wurde nun automatisch für die folgenden Benutzer in der Rolle <i>{nextRole}</i> freigegeben:<br />
      2812 <trans-unit id='RWRpdG9y'><source>Editor</source><target>Editor</target></trans-unit>
      727 <trans-unit id='Rmx1ZW5jeQ=='><source>Fluency</source><target>Fluency</target></trans-unit>
      16 <trans-unit id='S2VpbmUgWnVncmlmZnNiZXJlY2h0aWd1bmch'><source>Keine Zugriffsberechtigung!</source><target>Keine Zugriffsberechtigung!</target></trans-unit>
      727 <trans-unit id='SW5jb25zaXN0ZW5jeQ=='><source>Inconsistency</source><target>Inconsistency</target></trans-unit>
      727 <trans-unit id='T21pc3Npb24='><source>Omission</source><target>Omission</target></trans-unit>
      727 <trans-unit id='TG9jYWxlIGFwcGxpY2FiaWxpdHk='><source>Locale applicability</source><target>Locale applicability</target></trans-unit>
      727 <trans-unit id='TG9jYWxlIHZpb2xhdGlvbg=='><source>Locale violation</source><target>Locale violation</target></trans-unit>
      727 <trans-unit id='TGVnYWwgcmVxdWlyZW1lbnRz'><source>Legal requirements</source><target>Legal requirements</target></trans-unit>
      727 <trans-unit id='TWlzdHJhbnNsYXRpb24='><source>Mistranslation</source><target>Mistranslation</target></trans-unit>
      727 <trans-unit id='U3BlbGxpbmc='><source>Spelling</source><target>Spelling</target></trans-unit>
      727 <trans-unit id='U3R5bGU='><source>Style</source><target>Style</target></trans-unit>
      2813 <trans-unit id='UE0gYXV0by1yZXZpZXdlZA=='><source>PM auto-reviewed</source><target>PM auto-reviewed</target></trans-unit>
      2813 <trans-unit id='UE0gYXV0by1yZXZpZXdlZCwgdW5jaGFuZ2Vk'><source>PM auto-reviewed, unchanged</source><target>PM auto-reviewed, unchanged</target></trans-unit>
      2813 <trans-unit id='UE0gcmV2aWV3ZWQ='><source>PM reviewed</source><target>PM reviewed</target></trans-unit>
      2813 <trans-unit id='UE0gcmV2aWV3ZWQsIHVuY2hhbmdlZA=='><source>PM reviewed, unchanged</source><target>PM reviewed, unchanged</target></trans-unit>
      727 <trans-unit id='UmVnaXN0ZXI='><source>Register</source><target>Register</target></trans-unit>
      727 <trans-unit id='VGVybWlub2xvZ3k='><source>Terminology</source><target>Terminology</target></trans-unit>
      727 <trans-unit id='VHlwb2dyYXBoeQ=='><source>Typography</source><target>Typography</target></trans-unit>
      727 <trans-unit id='VW50cmFuc2xhdGVk'><source>Untranslated</source><target>Untranslated</target></trans-unit>
      8 <trans-unit id='VW5iZWthbm50ZXIgVGVybSBTdGF0dXM='><source>Unbekannter Term Status</source><target>Unbekannter Term Status</target></trans-unit>
      727 <trans-unit id='VW5pbnRlbGxpZ2libGU='><source>Unintelligible</source><target>Unintelligible</target></trans-unit>
      2812 <trans-unit id='VXJkdQ=='><source>Urdu</source><target>Urdu</target></trans-unit>
      727 <trans-unit id='VmVyaXR5'><source>Verity</source><target>Verity</target></trans-unit>
      2813 <trans-unit id='Y2FsY3VsYXRpbmcuLi4='><source>calculating...</source><target>calculating...</target></trans-unit>
      2813 <trans-unit id='YXV0by1yZXZpZXdlZA=='><source>auto-reviewed</source><target>auto-reviewed</target></trans-unit>
      2813 <trans-unit id='YXV0by1yZXZpZXdlZCwgdW50b3VjaGVk'><source>auto-reviewed, untouched</source><target>auto-reviewed, untouched</target></trans-unit>
      12 <trans-unit id='b3Blbg=='><source>open</source><target>open</target></trans-unit>
      66 <trans-unit id='bGVjdG9y'><source>lector</source><target>lector</target></trans-unit>
      2812 <trans-unit id='bm8gc3RhdHVzIHNldA=='><source>no status set</source><target>no status set</target></trans-unit>
      2813 <trans-unit id='cmV2aWV3ZWQsIHVudG91Y2hlZA=='><source>reviewed, untouched</source><target>reviewed, untouched</target></trans-unit>
      2813 <trans-unit id='cmV2aWV3ZWQsIHVudG91Y2hlZCwgYXV0by1zZXQ='><source>reviewed, untouched, auto-set</source><target>reviewed, untouched, auto-set</target></trans-unit>
      2813 <trans-unit id='dHJhbnNsYXRlZA=='><source>translated</source><target>translated</target></trans-unit>
      2813 <trans-unit id='dHJhbnNsYXRvciBhdXRvcmV2aWV3ZWQ='><source>translator autoreviewed</source><target>translator autoreviewed</target></trans-unit>
      2813 <trans-unit id='dHJhbnNsYXRvciByZXZpZXdlZA=='><source>translator reviewed</source><target>translator reviewed</target></trans-unit>
      66 <trans-unit id='dHJhbnNsYXRvckNoZWNr'><source>translatorCheck</source><target>translatorCheck</target></trans-unit>
      2813 <trans-unit id='dW50cmFuc2xhdGVk'><source>untranslated</source><target>untranslated</target></trans-unit>
      1 <xliff version='1.1' xmlns='urn:oasis:names:tc:xliff:document:1.1'>
      264 Die Benutzer wurden per E-Mail darüber informiert.<br />
      264 {userList}<br />

      Attachments

        Activity

          People

            Ines-Paul Ines-Paul Baumann (Inactive)
            tlauria Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: