<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.wordfast.net/w/index.php?action=history&amp;feed=atom&amp;title=Translating_YAML_Files_in_Wordfast_Pro</id>
		<title>Translating YAML Files in Wordfast Pro - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.wordfast.net/w/index.php?action=history&amp;feed=atom&amp;title=Translating_YAML_Files_in_Wordfast_Pro"/>
		<link rel="alternate" type="text/html" href="https://www.wordfast.net/w/index.php?title=Translating_YAML_Files_in_Wordfast_Pro&amp;action=history"/>
		<updated>2026-04-05T22:38:29Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://www.wordfast.net/w/index.php?title=Translating_YAML_Files_in_Wordfast_Pro&amp;diff=5359&amp;oldid=prev</id>
		<title>Cheeseus at 18:03, 2 June 2021</title>
		<link rel="alternate" type="text/html" href="https://www.wordfast.net/w/index.php?title=Translating_YAML_Files_in_Wordfast_Pro&amp;diff=5359&amp;oldid=prev"/>
				<updated>2021-06-02T18:03:30Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 18:03, 2 June 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l31&quot; &gt;Line 31:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 31:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Remember to change the target file name back to ''.yml'' by removing the ''.xml'' extension.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Remember to change the target file name back to ''.yml'' by removing the ''.xml'' extension.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Note: &lt;/ins&gt;If you want to add the YAML filter to an existing project, open the project first, then follows the steps above – but you will now see '''''Current Project Preferences''''' in step #2.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you want to add the YAML filter to an existing project, open the project first, then follows the steps above – but you will now see '''''Current Project Preferences''''' in step #2.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Cheeseus</name></author>	</entry>

	<entry>
		<id>https://www.wordfast.net/w/index.php?title=Translating_YAML_Files_in_Wordfast_Pro&amp;diff=5358&amp;oldid=prev</id>
		<title>Cheeseus at 18:02, 2 June 2021</title>
		<link rel="alternate" type="text/html" href="https://www.wordfast.net/w/index.php?title=Translating_YAML_Files_in_Wordfast_Pro&amp;diff=5358&amp;oldid=prev"/>
				<updated>2021-06-02T18:02:36Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 18:02, 2 June 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Wordfast Pro does not have a filter for translating YAML files but you can follow the steps below to create one.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Wordfast Pro does not have a filter for translating YAML files but you can follow the steps below to create one.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;YAML files are plain-text files with the .yml or .yaml extension and have the following structure:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;YAML files are plain-text files with the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;.yml&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;or &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;.yaml&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;extension and have the following structure:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:YAML_file_example.png]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:YAML_file_example.png]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Cheeseus</name></author>	</entry>

	<entry>
		<id>https://www.wordfast.net/w/index.php?title=Translating_YAML_Files_in_Wordfast_Pro&amp;diff=5357&amp;oldid=prev</id>
		<title>Cheeseus: Created page with &quot;Wordfast Pro does not have a filter for translating YAML files but you can follow the steps below to create one.  YAML files are plain-text files with the .yml or .yaml extens...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.wordfast.net/w/index.php?title=Translating_YAML_Files_in_Wordfast_Pro&amp;diff=5357&amp;oldid=prev"/>
				<updated>2021-06-02T18:02:08Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Wordfast Pro does not have a filter for translating YAML files but you can follow the steps below to create one.  YAML files are plain-text files with the .yml or .yaml extens...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Wordfast Pro does not have a filter for translating YAML files but you can follow the steps below to create one.&lt;br /&gt;
&lt;br /&gt;
YAML files are plain-text files with the .yml or .yaml extension and have the following structure:&lt;br /&gt;
[[File:YAML_file_example.png]]&lt;br /&gt;
&lt;br /&gt;
The structure is pretty simple: the variable name, a colon, a space, the translatable text that may be wrapped in double quotes or not.&lt;br /&gt;
&lt;br /&gt;
In order to instruct Wordfast Pro how to segment YAML files, we need to create an extraction rules (*.properties) file. To do this, create a new empty file in your plain text editor. Paste the following in it:&lt;br /&gt;
&lt;br /&gt;
 paragraphPrefix.1=:&lt;br /&gt;
 paragraphSuffix.1=(?m)$&lt;br /&gt;
 paragraphFormat.1=html-included&lt;br /&gt;
 internalTag.1=%\\{[^{}]+\\}&lt;br /&gt;
 externalTag.1=&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Explanation: The first tag, called ''paragraphPrefix'', tells Wordfast Pro how the translatable content begins – it begins after a colon. The ''paragraphSuffix'' tag tells Wordfast Pro that the translatable content ends at the end of the line, signalled by the '''$''' special character. The '''(?m)''' part tells it that the content may be multi-line. We also add the ''paragraphFormat'' tag to indicate that the translatable content may include HTML tags. The ''internalTag'' tag tells Wordfast Pro that the translatable content may include non-translatable variables/placeholders like the '''%{email_link}''' one in the screenshot above. And the ''externalTag'' tag tells it to treat the double quotes at the start and end of translatable content as tags (they will be hidden).&lt;br /&gt;
&lt;br /&gt;
Save the file as '''YAML.properties'''. In your plain-text editor, click on '''''File''''' &amp;gt; '''''Save As''''', then choose '''''All Files (*.*)''''' for File type and type the file name.&lt;br /&gt;
&lt;br /&gt;
Now it's time to add the extraction rules file you've just created to Wordfast Pro. To do this:&lt;br /&gt;
# Click the '''''Preferences''''' button, then '''''Filters''''' (located under '''''New Project Preferences''''').&lt;br /&gt;
# In the '''''Filters''''' pane, click the '''''Add''''' button.&lt;br /&gt;
# Choose the '''''Text-based filter (*.xml)''''' format.&lt;br /&gt;
# Give your filter a name – type ''YAML Filter'' in the '''''Filter Name''''' box.&lt;br /&gt;
# For '''''Target Encoding''''', choose ''UTF-8''.&lt;br /&gt;
# Click '''''Browse''''' next to '''''Extraction Rules''''' and point to the '''YAML.properties''' file.&lt;br /&gt;
# Leave ''xml'' in the '''''Extension''''' field.&lt;br /&gt;
# Click '''''OK'''''.&lt;br /&gt;
# Create a new project in Wordfast Pro.&lt;br /&gt;
# Because the YAML format is not natively supported, you will not be able to add YAML files by clicking the Add File button in the '''''Project Creation''''' window. This is why you will have to first rename your YAML file by adding the ''.xml'' extension to its name, e.g. rename ''contact.yml'' to ''contact.yml.xml''. You will now be able to add your YAML file(s) to the project.&lt;br /&gt;
# Remember to change the target file name back to ''.yml'' by removing the ''.xml'' extension.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you want to add the YAML filter to an existing project, open the project first, then follows the steps above – but you will now see '''''Current Project Preferences''''' in step #2.&lt;/div&gt;</summary>
		<author><name>Cheeseus</name></author>	</entry>

	</feed>