Importing xliff from WPML

I exported 10 xliffs from a site to translate using WPML.

Unfortunately only 6/10 can be prepared by SDL, the others get the unhelpful message 'Object reference not set to an instance of an object'

I've looked at various posts here on the subject but haven't found anything conclusive.

Would appreciate a little guidance if possible, thanks.

Parents
  • It is unhelpful... but if you share the stack trace and not just the headline which is very generic, then there might be something in there to help find the problem:

    Error dialog box in Trados Studio with a message instructing to click on the disk symbol to save the XML to desktop and attach the XML to the forum post.

    Alternatively if you can share one of the files where this is reproducible then that might also help?

    Paul Filkin | 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

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 10:26 PM (GMT 0) on 28 Feb 2024]
  • Thanks Paul, thanks for coming back so speedily

    I solved the preparation problem, some files were FR > NL
    All the FR > EN files now 'prepare' but cannot be opened for translation, same message.

    My project is FR to EN(GB)

    Here is the stack trace for opening.

    If it helps, WPML exports XLIFF v1.2

    <SDLErrorDetails time="26/08/2020 10:27:26">
    <ErrorMessage>The detected target language does not match that expected by the project.</ErrorMessage>
    <Exception>
    <Type>Sdl.TranslationStudio.Api.TranslationStudioException, Sdl.TranslationStudio.Api, Version=15.0.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
    <HelpLink />
    <Source>Sdl.TranslationStudio.Editor</Source>
    <HResult>-2146233088</HResult>
    <StackTrace><![CDATA[ at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.ResolveLanguages(IMultiFileConverter converter)
    at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.Load(IJobExecutionContext context)
    at Sdl.Desktop.Platform.Services.JobRequest.Execute(IJobExecutionContext context)
    at Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__47_0()
    at Sdl.Desktop.Logger.Log.Resources(Object message, Action action)
    at Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
    at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]></StackTrace>
    </Exception>
    <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>15.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>15.2.7.2849</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>SCAN\markl</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>SCAN</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>16673756 MB</PhysicalMemory>
    </Environment>
    </SDLErrorDetails>

  • OK so problem solved.

    I recreated a project FR to EN-US and it all works.

    This despite WPML considering the EN to be EN-GB.

    Thanks for the karma, clearly something helped

Reply Children