Difference between revisions of "Translating XML Files in Wordfast Pro"

From Wordfast Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
# You first need to have/create an extraction rules (''*.properties'') file.<ref>This [http://www.wordfast.com/tips_and_tricks/xml_translation/index.html tutorial] illustrates how to prepare extraction rules (*.properties) file to handle XML files. For practice, you can [https://docs.google.com/uc?id=0B6RiXvgKYZ46N2dSRVE1Zzd2NUU download example files]. Finally, if you are struggling, you can also log in to your user account at [http://wordfast.net/ wordfast.net] and submit a hotline request for help creating extraction rules.</ref>
 
# You first need to have/create an extraction rules (''*.properties'') file.<ref>This [http://www.wordfast.com/tips_and_tricks/xml_translation/index.html tutorial] illustrates how to prepare extraction rules (*.properties) file to handle XML files. For practice, you can [https://docs.google.com/uc?id=0B6RiXvgKYZ46N2dSRVE1Zzd2NUU download example files]. Finally, if you are struggling, you can also log in to your user account at [http://wordfast.net/ wordfast.net] and submit a hotline request for help creating extraction rules.</ref>
# Go to the Wordfast Pro ''menu'' > ''Preferences'' > ''New Project Preferences'' > ''Filters''.<ref>If you want to add an XML file to an existing project, open the project first, then open ''Preferences'' > ''Current Project Preferences'' > ''Filters'' and go to step 3.</ref>  
+
# Go to the Wordfast Pro '''''menu'' > ''Preferences'' > ''New Project Preferences'' > ''Filters'''''.<ref>If you want to add an XML file to an existing project, open the project first, then open ''Preferences'' > ''Current Project Preferences'' > ''Filters'' and go to step 3.</ref>  
# Click on the ''Add'' button.  
+
# Click on the '''''Add''''' button.  
# Choose the file format ''Text-based filter (*xml)''.
+
# Choose the file format '''''Text-based filter''''' (''*xml'').
 
# Give your filter a name (e.g. the client's name).
 
# Give your filter a name (e.g. the client's name).
 
# Use UTF-8 for the encoding and target encoding unless the XML source file is in another encoding.
 
# Use UTF-8 for the encoding and target encoding unless the XML source file is in another encoding.
# Use the ''Browse...'' button next to 'Extraction rules' to locate the extraction rules (''*.properties'') file.  
+
# Use the '''''Browse...''''' button next to "Extraction rules" to locate the extraction rules (''*.properties'') file.  
# Make sure the "Extension" field shows ''*.xml'' and save the settings by pressing ''OK''.  
+
# Make sure the "Extension" field shows ''*.xml'' and save the settings by pressing '''''OK'''''.  
 
# Now, when creating a new project, you can add the XML file and it will use this newly created filter. If you have more than one customized XML filter, you will be able to choose which filter to use when adding the XML file.
 
# Now, when creating a new project, you can add the XML file and it will use this newly created filter. If you have more than one customized XML filter, you will be able to choose which filter to use when adding the XML file.
  
Version: Wordfast Pro 5 5.7.0.RC2    Operating System: macOS
+
Version: Wordfast Pro 5.7 <br> Operating System: macOS
  
  
Line 18: Line 18:
 
<references/>
 
<references/>
  
Updated by [[User:Star|Star]] 02:35, 15 January 2019 (CEST)
+
Updated by [[User:Star|Star]] 15 January 2019

Revision as of 00:21, 22 January 2019

XML files can be handled in Wordfast Pro 5 as follows:

  1. You first need to have/create an extraction rules (*.properties) file.[1]
  2. Go to the Wordfast Pro menu > Preferences > New Project Preferences > Filters.[2]
  3. Click on the Add button.
  4. Choose the file format Text-based filter (*xml).
  5. Give your filter a name (e.g. the client's name).
  6. Use UTF-8 for the encoding and target encoding unless the XML source file is in another encoding.
  7. Use the Browse... button next to "Extraction rules" to locate the extraction rules (*.properties) file.
  8. Make sure the "Extension" field shows *.xml and save the settings by pressing OK.
  9. Now, when creating a new project, you can add the XML file and it will use this newly created filter. If you have more than one customized XML filter, you will be able to choose which filter to use when adding the XML file.

Version: Wordfast Pro 5.7
Operating System: macOS


Notes

  1. This tutorial illustrates how to prepare extraction rules (*.properties) file to handle XML files. For practice, you can download example files. Finally, if you are struggling, you can also log in to your user account at wordfast.net and submit a hotline request for help creating extraction rules.
  2. If you want to add an XML file to an existing project, open the project first, then open Preferences > Current Project Preferences > Filters and go to step 3.

Updated by Star 15 January 2019