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

From Wordfast Wiki
Jump to: navigation, search
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
XML files can be handled in [[Wordfast Pro 5|Wordfast Pro 5]] as follows:  
+
Translation of '''XML''' (eXtensible Markup Language) files<ref>See the [https://en.wikipedia.org/wiki/XML Wikipedia article on XML] or search the web for information about XML.</ref> usually requires some localization experience or a localization engineer the translator can work with. The general workflow to handle XML files in [[Wordfast Pro]] is as follows:
  
# 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 [https://www.wordfast.net/wiki/Building_a_Rules_File_for_Tagged_Text_Translation_in_Wordfast_Pro 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
+
==References==
 
 
 
 
== Notes ==
 
  
 
<references/>
 
<references/>
  
Updated by [[User:Star|Star]] 02:35, 15 January 2019 (CEST)
+
[[Category:Wordfast Pro]]

Latest revision as of 18:42, 14 April 2021

Translation of XML (eXtensible Markup Language) files[1] usually requires some localization experience or a localization engineer the translator can work with. The general workflow to handle XML files in Wordfast Pro is as follows:

  1. You first need to have/create an extraction rules (*.properties) file.[2]
  2. Go to the Wordfast Pro menu > Preferences > New Project Preferences > Filters.[3]
  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.

References

  1. See the Wikipedia article on XML or search the web for information about XML.
  2. 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.
  3. 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.