Strange bug in Chinese to German project: keyboard not recognizes

Hello,

I am fighting with a very strange Trados bug (Trados 2021, Windows 10).

I have a big file to translate from Chinese to German.

When I reach certain strings in the file, Trados immediately does not recognise my keyboard any more. When I type, there is no reaction in Trados.

The strings are like the following:

Screenshot of Trados Studio interface showing Chinese to German translation segments with a highlighted string that includes a colon in the target text.

I think that it has something to do with the colon in the target.

Only shortcuts (eg. Ctrl+C) work.

My keyboard works normally on other files and even on other Trados files (eg. English to German).
When I wait for around 5 minutes, Trados sometimes crashes and I get an error message.

I will post it if this happens again.

Please help me to solve this issue soon, I have a deadline for this project.

Thanks



Generated Image Alt-Text
[edited by: Trados AI at 2:49 AM (GMT 0) on 29 Feb 2024]
emoji
Parents
  • Here is an error message:

    Error message in Trados Studio indicating an invalid XML document due to Token StartElement in Status EndRootElement. Suggestions to set ConformanceLevel to Fragment or Auto are provided.

    <?xml version="1.0"?>

    -<SDLErrorDetails time="04.06.2021 17:34:24">

    <ErrorMessage>Token StartElement im Status EndRootElement würde in einem ungültigen XML-Dokument resultieren. Wenn Sie ein XML-Fragment schreiben möchten, muss die ConformanceLevel-Einstellung auf ConformanceLevel.Fragment oder ConformanceLevel.Auto festgelegt werden. <cG><c>121</c><trG><tr type="origination">glossaryconverter</tr><dt>2016-09-11T12:02:21</dt></trG><trG><tr type="modification">user</tr><dt>2017-12-07T04:54:11</dt></trG><lG><l lang="DE" type="German"></l><dG id="28"><d type="Deutsch ausg.">direkter Vorgesetzten</d></dG><tG><t>DR</t><trG><tr type="origination">glossaryconverter</tr><dt>2016-09-11T12:02:21</dt></trG><trG><tr type="modification">glossaryconverter</tr><dt>2016-09-11T12:02:21</dt></trG></tG></lG><lG><l lang="EN" type="English"></l><</ErrorMessage>


    -<Exception>

    <Type>System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>

    <HelpLink/>

    <Source>Sdl.MultiTerm.Core.XmlProcessor</Source>

    <HResult>-2146233088</HResult>


    -<StackTrace>

    -<![CDATA[   bei Sdl.MultiTerm.Core.XmlProcessor.EntryXmlProcessor.Transform(String inputXml)
       bei Sdl.MultiTerm.Client.TerminologyProvider.TerminologyPrioviders.AbstractMultiTermTerminologyProvider.GetEntry(MultiTermTermbase termbase, Int32 id)
       bei Sdl.MultiTerm.Client.TerminologyProvider.MultiTermTermbase.GetEntry(Int32 id)
       bei Sdl.MultiTerm.Client.TerminologyProvider.TerminologyPrioviders.AbstractMultiTermTerminologyProvider.GetEntry(Int32 id)
       bei Sdl.MultiTerm.Client.TerminologySearch.TermRecognitionHit.get_Entry()
       bei Sdl.TranslationStudio.Editor.Terminology.TermBaseAutoSuggestProvider.GetSuggestionData(EditingContext context)
       bei Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.SuggestionDataProviders.GetSuggestionData(EditingContext context)
       bei Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.SuggestionWindow.ShowSuggestionWindow(Form parent, ISideBySideDocumentEditingView view, SideBySideEditor editor, ISuggestionDataProvider suggestionDataProvider, SuggestionSite site, Char firstChar, Int32 sourceStartPosition, SuggestionMode mode, ITranslatableDocumentEditorSettings settings, Boolean requireCaseResolving, Boolean incrementTextOffset, Int32 imeBehavior)
       bei Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.ShowSuggestionWindow(Form parent, ISideBySideDocumentEditingView view, SideBySideEditor editor, ISuggestionDataProvider suggestionDataProvider, SuggestionSite site, Char firstChar, Int32 sourceStartPosition, SuggestionMode mode, ITranslatableDocumentEditorSettings settings, Boolean requireCaseResolving, Boolean incrementTextOffset)
       bei Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.LaunchIntellisenseWindow(Boolean keyPressed, Char lastChar, Boolean afterImeCompositionUpdate)
       bei Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.ProcessDocumentContentChanged(List`1 operations, Boolean afterImeCompositionUpdate)
       bei Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.Document_ContentChanged(Object sender, FrameworkDocumentContentChangedEventArgs e)
       bei System.EventHandler`1.Invoke(Object sender, TEventArgs e)
       bei AbstractFrameworkDocument.raise_ContentChanged(Object value0, FrameworkDocumentContentChangedEventArgs value1)
       bei AbstractFrameworkDocument.OnContentChanged(Object sender, FrameworkDocumentContentChangedEventArgs args)
       bei FrameworkDocumentEventSource.RaiseContentChanged(FrameworkDocumentEventSource* )
       bei FrameworkDocumentEventSource.vv_AfterCompositeCommandCompleted(FrameworkDocumentEventSource* )
       bei Tree.DocumentControl.vl_WindowProc(DocumentControl* , HWND__* , UInt32 , UInt32 , Int32 )
       bei FrameworkDocumentControl.vl_WindowProc(FrameworkDocumentControl* , HWND__* h_wnd, UInt32 n_msg, UInt32 w_p, Int32 l_p)
       bei System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       bei System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
       bei System.Windows.Forms.Control.DefWndProc(Message& m)
       bei System.Windows.Forms.Control.WmKeyChar(Message& m)
       bei System.Windows.Forms.Control.WndProc(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)]]>
    </StackTrace>


    -<InnerException>

    <Type>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>

    <HelpLink/>

    <Source>System.Xml</Source>

    <HResult>-2146233079</HResult>


    -<StackTrace>

    -<![CDATA[   bei System.Xml.XmlWellFormedWriter.ThrowInvalidStateTransition(Token token, State currentState)
       bei System.Xml.XmlWellFormedWriter.AdvanceState(Token token)
       bei System.Xml.XmlWellFormedWriter.WriteStartElement(String prefix, String localName, String ns)
       bei System.Xml.XmlWriter.WriteStartElement(String localName)
       bei Sdl.MultiTerm.Core.XmlProcessor.EntryXmlProcessor.Transform(String inputXml)]]>
    </StackTrace>

    </InnerException>

    </Exception>


    -<Environment>

    <ProductName>SDL Trados Studio</ProductName>

    <ProductVersion>Studio16</ProductVersion>

    <EntryAssemblyFileVersion>16.1.4.4184</EntryAssemblyFileVersion>

    <OperatingSystem>Microsoft Windows 10 Home</OperatingSystem>

    <ServicePack>NULL</ServicePack>

    <OperatingSystemLanguage>1031</OperatingSystemLanguage>

    <CodePage>1252</CodePage>

    <LoggedOnUser>DESKTOP-DOAERJP\escho</LoggedOnUser>

    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>

    <ComputerName>DESKTOP-DOAERJP</ComputerName>

    <ConnectedToNetwork>True</ConnectedToNetwork>

    <PhysicalMemory>4180976 MB</PhysicalMemory>

    </Environment>

    </SDLErrorDetails>

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 2:49 AM (GMT 0) on 29 Feb 2024]
  • Hello ,

    Have you been able to resolve this?

    As you say this only happens with the one file and the error message is pointing to an error in the XML - missing elements, it appears the problem is with the actual file.

    I found this which might be helpful from Microsoft

    docs.microsoft.com/.../system.xml.xmlwritersettings.conformancelevel

    Lydia Simplicio | RWS Group

    _______
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

Reply Children