Hello group,
I have an XAML file that I would like to translate in Studio (2014 SP2 11.2.4435.12). I can also use 2017, but I need to download a CU and I haven't done that yet. I thought I could add .xaml to the extension for AnyXML file type and things would work. Well, they did, but I am missing many hard returns in the target file and now have to go back and add them manually into about 100 places into each file, and I have 27 languages. I didn't make any changes to the parser for AnyXML (they are still on the default settings).
Source file beginning:
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:system="clr-namespace:System;assembly=mscorlib"
xmlns:customTag="clr-namespace:Languages"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="customTag">
<hard return>
<hard return>
<!-- Language cultures -->
<system:String x:Key="Language_ar">Arabic</system:String>
___
More strings for translation follow the Arabic line.
My target file has this at the beginning:
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:system="clr-namespace:System;assembly=mscorlib"
xmlns:customTag="clr-namespace:Languages"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="customTag"><!-- Language cultures --><system:String x:Key="Language_ar">Arabština</system:String>
___
My hard returns have been removed. I can add them back by hand, but I'm wondering if there is an easy way I can set these up in Studio and retranslate them to save me some time?
Any help would be greatly appreciated.
Best, Mindy