Difference between revisions of "Translating WordPress XLIFF files in Wordfast Pro"

From Wordfast Wiki
Jump to: navigation, search
m
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The following instructions are for those who want to translate '''Wordpress (WP) XLIFF''' files in [[Wordfast Pro 5|Wordfast Pro 5]].  
+
There are two steps to translate '''Wordpress (WP) XLIFF''' files in [[Wordfast Pro]].  
  
This process is required because WP XLIFF files differ from standard XLIFF files.
+
__TOC__
  
There are two steps to translate WP XLIFF files in [[Wordfast Pro 5|Wordfast Pro 5]]:
+
==Update the XLIFF filter settings==
# Create a conversion rules (*''.properties'') file in a text editor.
 
# Add a file format filter to [[Wordfast Pro 5|Wordfast Pro 5]].
 
  
==Create a conversion rules (*''.properties'') file in a text editor==
+
# Before creating your project, open preferences from the '''Project List''' view.
 +
# Scroll down to the section '''New Project Preferences''' > '''Filters'''.
 +
# Select the XLIFF (*.xliff) filter, then under '''Format Settings''' below, tick the box '''''Lock html tags and entities'''''.
 +
 
 +
[[File:Xliff.png]]
 +
 
 +
==Create your project==
 +
 
 +
# From the '''Project List''' view, click on '''''Create Project'''''.
 +
# Add the XLIFF file(s) and Wordfast should automatically detect the languages.
 +
# Choose the XLIFF filter (not the XLIFF 2.0).
 +
# Name your project, verify the location you will save it to, and your source and target languages.
 +
# Create or add TMs, glossaries, or blacklists as necessary.
 +
# Complete the project wizard as usual to finish.
 +
 
 +
<!--==Create a conversion rules (*''.properties'') file in a text editor==
  
 
# Open your preferred text editor (e.g., Notepad in Windows)
 
# Open your preferred text editor (e.g., Notepad in Windows)
Line 19: Line 32:
 
#: NOTE: If you don't see the ''.txt'' extension, go to [http://www.wikihow.com/Change-a-File-Extension this wikiHow tutorial] for more information, but ignore its Method 1.
 
#: NOTE: If you don't see the ''.txt'' extension, go to [http://www.wikihow.com/Change-a-File-Extension this wikiHow tutorial] for more information, but ignore its Method 1.
  
==Add a file format filter to [[Wordfast Pro 5|Wordfast Pro 5]]==
+
==Add a file format filter to Wordfast Pro==
  
# Open your WP XLIFF source file with your preferred text editor, note the encoding and language codes in the XML header, then close the file and return to [[Wordfast Pro 5|Wordfast Pro 5]].
+
# Open your WP XLIFF source file with your preferred text editor, note the encoding and language codes in the XML header, then close the file and return to Wordfast Pro.
 
# From the '''Project List view''', click on '''''Create Project'''''.
 
# From the '''Project List view''', click on '''''Create Project'''''.
 
# Name your project, verify the location you will save it to, and choose your source and target languages. Make sure your language codes match the codes in the XML header (step 1).
 
# Name your project, verify the location you will save it to, and choose your source and target languages. Make sure your language codes match the codes in the XML header (step 1).
Line 34: Line 47:
 
# Choose '''''Add File''''', locate the folder containing the WP XLIFF file(s), select the file(s), and click '''''Open'''''.
 
# Choose '''''Add File''''', locate the folder containing the WP XLIFF file(s), select the file(s), and click '''''Open'''''.
 
# Next to the file name under '''''Type''''', click the drop-down and select your new WP XLIFF filter's name.
 
# Next to the file name under '''''Type''''', click the drop-down and select your new WP XLIFF filter's name.
# Complete the project wizard as usual to finish.
+
# Complete the project wizard as usual to finish.-->
 
 
 
 
Version: Wordfast Pro 5.7 <br> Operating System: macOS
 
  
Updated by [[User:Star|Star]] 20 January 2019
+
[[Category:Wordfast Pro]]

Latest revision as of 10:33, 17 December 2022

There are two steps to translate Wordpress (WP) XLIFF files in Wordfast Pro.

Update the XLIFF filter settings

  1. Before creating your project, open preferences from the Project List view.
  2. Scroll down to the section New Project Preferences > Filters.
  3. Select the XLIFF (*.xliff) filter, then under Format Settings below, tick the box Lock html tags and entities.

Xliff.png

Create your project

  1. From the Project List view, click on Create Project.
  2. Add the XLIFF file(s) and Wordfast should automatically detect the languages.
  3. Choose the XLIFF filter (not the XLIFF 2.0).
  4. Name your project, verify the location you will save it to, and your source and target languages.
  5. Create or add TMs, glossaries, or blacklists as necessary.
  6. Complete the project wizard as usual to finish.