Difference between revisions of "Translating Mindjet MindManager Files"

From Wordfast Wiki
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
* The MMAP file is a compressed archive. When I changed its extension to ZIP, I was able to Extract its contents. I copied ''Document.xml'' to translate it.
+
This article about how to translate XML files from a third-party program called '''MindManager''' was written by [[User:Yasmin|Yasmin Moslem]] in June 2012. At this time, we '''cannot guarantee''' it will work well with current MindManager versions but we think it could be useful if anyone wants to try.
  
* If you open ''Document.xml'' in a text editor, you will see that the translatable parts are identified in the attribute: PlainText.
+
==Save XML from MindManager==
  
* To translate ''Document.xml'' in Wordfast Pro, I just created a very simple two-line ''*.properties'' file ([https://docs.google.com/uc?id=0B6RiXvgKYZ46RXRlTVpFbUhSOHM click here to download it])
+
From the Mindjet MindManager application, choose '''''File > Save As…''''' and save your mindmap file in the MindManager Map (XML) format.
paragraphPrefix.0=PlainText="
 
paragraphSuffix.0="
 
  
* To open the XML file in [[Wordfast Professional|Wordfast Pro]], go to ''Edit menu'' > ''Preferences'' > ''Formats'' > ''New'' > ''Text-based Filter''.
+
If you open ''.xmmap'' file in a text editor, you will see that the translatable parts are identified in the attribute: '''PlainText'''.
  
* Click the ''[...]'' button to locate the (''*.properties'') file. Make sure the "Extension" textbox shows ''*.xml'' and save the settings (''OK'').
+
==Get the rules file ready==
 
 
* Now, you should be able to open the XML file in WFP (''File menu'' > ''Open file'').
 
 
 
* After translation, replace the original ''Document.xml'' with the translated one, zip the files again, and restore the MMAP extension.
 
 
 
* Now, you should be able to open the translated MMAP in Mindjet MindManager Professional.
 
 
 
Here is a [http://www.screencast.com/t/O4VeUK1Qfj0q quick demonstration showing the steps].
 
  
 +
To translate the ''.xmmap'' in Wordfast Pro, you first need to create a very simple extraction rules ''*.properties'' file ([https://docs.google.com/uc?id=0B6RiXvgKYZ46RXRlTVpFbUhSOHM click here to download it])
 +
paragraphPrefix.0=PlainText="
 +
paragraphSuffix.0="
  
I think it would be much easier if the Mindjet MindManager developers add a two-way option to the application itself for importing and exporting back the XML file.
+
Next, you’ll need to create a text-based filter that so Wordfast Pro will recognize the ''.xmmap'' extension and use the ''*.properties'' file rules to extract the proper content.
  
 +
==Open the XML file in Wordfast Pro ==
 +
To open the ''.xmmap'' file in [[Wordfast Pro]] (version 4 or newer):
 +
# Click on [[File:WFP Preferences icon.png|25px|WFP Preferences icon]] to open '''''Preferences''''' and go to ''New Project Preferences'' > '''''Filters'''''.<ref>If you want to add a ''.xmmap'' 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.
 +
# Choose the file format '''''Text-based filter''''' (''*xml'').
 +
# Give your filter a name (e.g. Mindjet).
 +
# Use UTF-8 for the source and target encoding.
 +
# Use the '''''Browse...''''' button next to "Extraction rules" to locate the extraction rules (''*.properties'') file.
 +
# Make sure the "Extension" field shows ''xmmap'' and save the settings by pressing '''''OK'''''.
 +
# Now, when creating a new project, you can add the Mindmap file and it will use this newly created filter. If you have more than one customized ''.xmmap'' filter, you will be able to choose which filter to use when adding the ''.xmmap'' file.
  
--[[User:Yasmin|Yasmin Moslem]] 05 June 2012
+
To open the ''.xmmap'' file in [[Wordfast Pro 3]]:
 +
# Go to '''''Edit menu'' > ''Preferences'' > ''Formats'' > ''New'' > ''Text-based Filter'''''.
 +
# Click the '''''[...]''''' button to locate the (''*.properties'') file. Make sure the "Extension" textbox shows ''*.xmmap'' and save the settings ('''''OK''''').
 +
# Open the ''.xmmap'' file in WFP3 ('''''File menu'' > ''Open file''''').
  
 +
==Save translated XML file==
 +
After translating and saving the file back to its native ''.xmmap'' format, open the translated ''.xmmap'' file in Mindjet MindManager.
  
Version: Wordfast Pro 5 5.7.0.RC2  Operating System: macOS
+
== References ==
 +
<references/>
  
Updated by [[User:Star|Star]] 03:30, 15 January 2019 (CEST)
+
[[Category: Wordfast Pro]]
[[Category: Wordfast Professional]]
 

Latest revision as of 20:00, 17 April 2021

This article about how to translate XML files from a third-party program called MindManager was written by Yasmin Moslem in June 2012. At this time, we cannot guarantee it will work well with current MindManager versions but we think it could be useful if anyone wants to try.

Save XML from MindManager

From the Mindjet MindManager application, choose File > Save As… and save your mindmap file in the MindManager Map (XML) format.

If you open .xmmap file in a text editor, you will see that the translatable parts are identified in the attribute: PlainText.

Get the rules file ready

To translate the .xmmap in Wordfast Pro, you first need to create a very simple extraction rules *.properties file (click here to download it)

paragraphPrefix.0=PlainText="
paragraphSuffix.0="

Next, you’ll need to create a text-based filter that so Wordfast Pro will recognize the .xmmap extension and use the *.properties file rules to extract the proper content.

Open the XML file in Wordfast Pro

To open the .xmmap file in Wordfast Pro (version 4 or newer):

  1. Click on WFP Preferences icon to open Preferences and go to New Project Preferences > Filters.[1]
  2. Click on the Add button.
  3. Choose the file format Text-based filter (*xml).
  4. Give your filter a name (e.g. Mindjet).
  5. Use UTF-8 for the source and target encoding.
  6. Use the Browse... button next to "Extraction rules" to locate the extraction rules (*.properties) file.
  7. Make sure the "Extension" field shows xmmap and save the settings by pressing OK.
  8. Now, when creating a new project, you can add the Mindmap file and it will use this newly created filter. If you have more than one customized .xmmap filter, you will be able to choose which filter to use when adding the .xmmap file.

To open the .xmmap file in Wordfast Pro 3:

  1. Go to Edit menu > Preferences > Formats > New > Text-based Filter.
  2. Click the [...] button to locate the (*.properties) file. Make sure the "Extension" textbox shows *.xmmap and save the settings (OK).
  3. Open the .xmmap file in WFP3 (File menu > Open file).

Save translated XML file

After translating and saving the file back to its native .xmmap format, open the translated .xmmap file in Mindjet MindManager.

References

  1. If you want to add a .xmmap file to an existing project, open the project first, then open Preferences > Current Project Preferences > Filters and go to step 3.