Forum: CAT Tools Technical Help
Topic: PowerPoint - Translate only highlighted text
Poster: Philippe Locquet
Post title: Time consuming
[quote]John Fossey wrote:
I have a large PowerPoint file in which text to be translated has been highlighted yellow by the client. The rest of the text is normal and is not to be translated.
If it were a Word document I would use TransTools to hide all except the highlighted text, then import the file into my CAT tool (MemoQ or Trados). But this functionality doesn't seem to be available for PPTX files.
Any ideas how to solve this problem? [/quote]
This is very difficult to do. I would argue that you are probably better off doing this manually but there some nerdy ways to do this.
See this blog [url removed]
However, note that the current highlighting syntax in pptx seems to be different from what existed when this blog was created. The color name is now its value.
Another option I tried on Wordfast Pro is to unzip the pptx (like in blog above), go to filename/ppt/slides. Then create a new project with all the slides from this folder as source files and apply the FLAT OPC xml filter to each slide. Once the project is created, each slide will have its own xliff created.
Then you can pretranslate copying all sources and now use function "Chain files" which will put all segments from all slides together in the editor.
Once that's done, ctrl F will open the find/replace. Search for the word "highlight" Select find in source and highlight all. This will take you to all instances of the text to be translated but you will still see the code strings. This can be useful if there are several highligting colors as you do the search based on a specific color.
Once you're done get your translated files and replace those in filename/ppt/slides.
But again, I think simpler is better. Maybe the manual route is the best.
BTW yet another option would be to apply a custom REGEX filter, if someone knows how, I'd love to see it!
Topic: PowerPoint - Translate only highlighted text
Poster: Philippe Locquet
Post title: Time consuming
[quote]John Fossey wrote:
I have a large PowerPoint file in which text to be translated has been highlighted yellow by the client. The rest of the text is normal and is not to be translated.
If it were a Word document I would use TransTools to hide all except the highlighted text, then import the file into my CAT tool (MemoQ or Trados). But this functionality doesn't seem to be available for PPTX files.
Any ideas how to solve this problem? [/quote]
This is very difficult to do. I would argue that you are probably better off doing this manually but there some nerdy ways to do this.
See this blog [url removed]
However, note that the current highlighting syntax in pptx seems to be different from what existed when this blog was created. The color name is now its value.
Another option I tried on Wordfast Pro is to unzip the pptx (like in blog above), go to filename/ppt/slides. Then create a new project with all the slides from this folder as source files and apply the FLAT OPC xml filter to each slide. Once the project is created, each slide will have its own xliff created.
Then you can pretranslate copying all sources and now use function "Chain files" which will put all segments from all slides together in the editor.
Once that's done, ctrl F will open the find/replace. Search for the word "highlight" Select find in source and highlight all. This will take you to all instances of the text to be translated but you will still see the code strings. This can be useful if there are several highligting colors as you do the search based on a specific color.
Once you're done get your translated files and replace those in filename/ppt/slides.
But again, I think simpler is better. Maybe the manual route is the best.
BTW yet another option would be to apply a custom REGEX filter, if someone knows how, I'd love to see it!