View previous topic :: View next topic |
Author |
Message |
bdwyer
Joined: 27 Aug 2012 Posts: 10
|
Posted: Mon Nov 12, 2012 4:30 pm Post subject: Conditional replacement |
|
|
Is there any way to do conditional extraction of attributes out into the ResX files?
An example would be below: I would like to translate the "value" attribute of a setter tag, but only if the "Property" attribute is "Text".
Code: | Setter Property="Foreground" Value="Gray"
Setter Property="TextAlignment" Value="Center"
Setter Property="VerticalAlignment" Value="Center"
Setter Property="Text" Value="Loading..."
|
(I have removed the <> characters arround these attributes because it didn't format correctly and ended up hiding all the XML attributes
There's enough Text setters in the application that I don't want to do it by hand, but they only account for about 10% of the setter elements, most of which can absolutely not be translated. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon Nov 12, 2012 9:29 pm Post subject: |
|
|
No there isn't any way to do that currently. It seems like it may be a useful feature so we will put it on the feature request list.
You can post XML to the forums by selecting the Disable HTML in this post option. _________________ Infralution Support |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
eceakturk
Joined: 30 Jan 2017 Posts: 3
|
Posted: Mon Jan 30, 2017 11:01 pm Post subject: Conditional Replacement in v3.9.7.0? |
|
|
My former colleague had posted this question in 2012 and I'm wondering if this functionality may have been added in subsequent releases?
I'm on v3.9.7.0 (the newest version that replaces Bing with Microsoft Azure translation).
We're running the same process now and it would be great if we didn't have to use a third party tool.
Thanks!
Ece |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Feb 01, 2017 7:16 am Post subject: |
|
|
No sorry that feature has not been implemented. I will look into it again - but I can't see releasing it within the time frame that you would probably wish for. _________________ Infralution Support |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|