How to assign the correct file type in Trados Studio 2009 when creating a new project
Thread poster: Franz Bissinger

Franz Bissinger
Germany
Local time: 05:25
Dec 8, 2010

Hello colleagues,

I'm just starting with Trados Studio 2009 and have a problem to select or assign the right file type settings to a set of XML files added to the sample project (I'm using a real project originally done in Trados 2007).

As far as I see I successfully created a new sdlfiletype file by importing the relevant data from the original INI file (Trados DTD settings file), however, whenever trying to add the XML files to the new project the file type "XML - Any XML" is automatically being assigned to my XMLs. I searched for a good while how to change that assignement manually, but without success.

Beside that I tried to change the name of the base XML element in one of my XML files and was hoping either to get my new settings file automatically selected or to get a dialog asking for the right settings file (as in TagEditor 2007) - so far again without success.

I'm hoping somebody around here is able to give me a clue.

Thanks a lot in advance.

Best
Franz

[Bearbeitet am 2010-12-08 16:54 GMT]

[Bearbeitet am 2010-12-08 16:57 GMT]


 

Stanislav Pokorny  Identity Verified
Czech Republic
Local time: 05:25
English to Czech
+ ...
Very complex Dec 8, 2010

Hello Franz,
as you probably know, Studio uses the "SDLFILETYPE" files to process document structure information. You can try to use your old INI file to create a new filetype in Studio, but I would start with the XMLs from scratch.

The process is quite complex though and is worth a training (I've been lucky to have obtained one from the SDL Support team).

Basically, I proceed as follows:
1. I create the XPath parser rule //* and set this as untranslatable
2. Then I create the XPath parser rules for the individual translatable tags, e.g. //translatabletag and set them as paragraphs and as "always translatable".
3. For the file to be recognized correctly, it is necessary to set the root element in the File Detection: I use the "Any of the following root elements" field to specify the root element.

I hope this helps at least a little...

[Upraveno: 2010-12-08 17:29 GMT]


 

Mariusz Lasota
Local time: 05:25
English to Polish
How to assign type when creating a project in Studio 2009 Feb 24, 2011

I have a properly created file type definition and detection settings. The thing is it works fine when a single file is opened but not when several files are added to a project. Please help because this is driving me mad. In a project, the listed file type is always ANY XML (GenericXML.sdlfiletype) no matter what I do! Is there a way to force Studio to assign the proper file type to files (all 200 of them)?

 

SDL Community  Identity Verified
United Kingdom
Local time: 05:25
English
Project Templates Feb 24, 2011

Hi Mariusz,

The thing that springs to mind for me is that your default Project Template is different to the filetypes being used for the Open Document approach. Or perhaps you are setting your Project up based on a special template you created, or even referencing another project first.

You can check the default template by going to File – Setup – Project Templates. Then edit the default and check that your new filetype is in there.

Perhaps this will shed some light on your problem?

Regards

Paul


 

Mariusz Lasota
Local time: 05:25
English to Polish
A million thanks Feb 24, 2011


You can check the default template by going to File – Setup – Project Templates. Then edit the default and check that your new filetype is in there.

Perhaps this will shed some light on your problem?

Regards

Paul


Paul, a million thanks to you for your help. It worked! I could see that my file type definition was was mysteriously missing when creating a project although it was available in main Studio options. I didn't even realise that type definitions are stored in project templates. My guess is that it didn't get stored there because project template was created before file type was defined and available so it didn't get copied to the template. Now I understand and it feels good.

Even though it's -15°C and snowing over here the sun is shining for me and it is a great day. Thanks again.
Mariusz


 

Stanislav Pokorny  Identity Verified
Czech Republic
Local time: 05:25
English to Czech
+ ...
This has worked Feb 24, 2011

SDL Support wrote:
You can check the default template by going to File – Setup – Project Templates. Then edit the default and check that your new filetype is in there.
Paul


This advice of Paul's has worked beautifully for me.


 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

How to assign the correct file type in Trados Studio 2009 when creating a new project

Advanced search







BaccS – Business Accounting Software
Modern desktop project management for freelance translators

BaccS makes it easy for translators to manage their projects, schedule tasks, create invoices, and view highly customizable reports. User-friendly, ProZ.com integration, community-driven development – a few reasons BaccS is trusted by translators!

More info »
TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search