Skip to content

Commit

Permalink
Set RemoveSmartTags to false to avoid open errors for Word documents.
Browse files Browse the repository at this point in the history
Set version to 2.6.3.
  • Loading branch information
chriswendt1 committed Jul 19, 2020
1 parent afaa456 commit 2e43de6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ TranslationAssistant.DocumentTranslationInterface/bin/Release/FileTranslator.vsh
.vs/config/applicationhost.config
/TranslationAssistant.AutomationToolkit.BasePlugin/obj/Release
/TranslationAssistant.AutomationToolkit.TranslationPlugins/obj/Release
/.vs/Microsoft.DocumentTranslator/DesignTimeBuild
/OpenXmlPowerTools/bin/Debug
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<StartArguments>translatedocuments /Documents:"c:\testdocs\language ID.docx" /to:el</StartArguments>
<StartArguments>translatedocuments /Documents:"c:\testdocs\a.doc" /to:en</StartArguments>
<StartWorkingDirectory>
</StartWorkingDirectory>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ private static void ProcessWordDocument(
RemovePermissions = false,
RemoveProof = true,
RemoveRsidInfo = true,
RemoveSmartTags = true,
RemoveSmartTags = false, //setting this to false reduces translation quality, but if true some documents have XML format errors when opening
RemoveSoftHyphens = true,
RemoveWebHidden = true,
ReplaceTabsWithSpaces = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">

<?define ProductVersion="2.6.2" ?>
<?define ProductVersion="2.6.3" ?>
<!--<?define ProductInstallationDirVersion="1.0.0" ?>-->
<?define ProductInstallationDir="Microsoft Document Translator"?>
<?define UpgradeCode="{69CB62B3-53BB-4BF5-9E53-B5677940AB8E}"?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<StackPanel MinWidth="200">
<TextBlock Text="{x:Static p:Resources.DocumentTranslator_name}" Margin="0,0,0,8" TextWrapping="Wrap" Style="{StaticResource Heading1}" />
<TextBlock Text="" Margin="0,0,0,8" TextWrapping="Wrap" Style="{StaticResource Heading2}" />
<TextBlock Text="Version 2.6.2" Margin="0,0,0,8" TextWrapping="Wrap" Style="{StaticResource Heading2}" />
<TextBlock Text="Version 2.6.3" Margin="0,0,0,8" TextWrapping="Wrap" Style="{StaticResource Heading2}" />
<TextBlock Text="Microsoft Corporation" Style="{StaticResource Heading2}" />

<TextBlock Style="{StaticResource Heading2}" >
Expand Down

0 comments on commit 2e43de6

Please sign in to comment.