Difference between revisions of "Translating WordPress XLIFF files in Wordfast Pro"
m |
|||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | There are two steps to translate '''Wordpress (WP) XLIFF''' files in [[Wordfast Pro]]. | |
− | + | __TOC__ | |
− | |||
− | |||
− | ==Create a conversion rules (*''.properties'') file in a text editor== | + | ==Update the XLIFF filter settings== |
+ | |||
+ | # 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 17: | 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 | + | ==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 | + | # 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). | ||
# Create or add TMs, glossaries, or blacklists as necessary. | # Create or add TMs, glossaries, or blacklists as necessary. | ||
− | # Under the ''Source Files'' tab, click on ''Create Filter''. | + | # Under the '''''Source Files''''' tab, click on '''''Create Filter'''''. |
− | # From the ''Choose file format'' drop-down, select ''Text based filter (*.xml | + | # From the '''''Choose file format''''' drop-down, select '''''Text based filter''''' (''*.xml''). |
− | # Type an appropriate name for the new filter in the | + | # Type an appropriate name for the new filter in the "Filter Name" field. |
− | # From the ''Encoding'' drop-down, select the one that matches what you noted in step 1 of this section (likely UTF-8). | + | # From the '''''Encoding''''' drop-down, select the one that matches what you noted in step 1 of this section (likely UTF-8). |
# Set target encoding as the same. | # Set target encoding as the same. | ||
− | # Click the ''Browse'' button next to | + | # Click the '''''Browse''''' button next to "Extraction Rules", then locate and open your ''.properties'' file. |
− | # Type ''xliff'' in the "Extension" field and click ''OK''. | + | # Type ''xliff'' in the "Extension" field and click '''''OK'''''. |
− | # 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.--> |
− | + | [[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
- 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.
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.