View previous topic :: View next topic |
Author |
Message |
kevinkuebler
Joined: 19 Jan 2015 Posts: 20 Location: United States
|
Posted: Tue Jun 14, 2016 2:55 pm Post subject: Handle replacement tokens in pseudo translations |
|
|
Hi,
It would be nice if the pseudo translation feature (I'm using the Pig Latin transform currently) understood string replacement tokens that it finds in the invariant values.
For example, say I have an invariant resource value like this:
A user with username '{0}' already exists.
When using the pseudo translation feature, we get this:
Aay useray ithway usernameay '{0ay}' alreadyay existsay.
So now if I'm doing a string.Format() on that value, or using a <Resx> element binding, the replacement doesn't work when running under the translated culture.
For now I'm just doing a Regex-based find/replace on the Globalizer workspace XML file using a text editor to fix those. But it would be nice if it understood those when doing the transform in the first place. Thanks! |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Jun 15, 2016 8:16 am Post subject: |
|
|
A good suggestion - thanks. We will take a look at that. _________________ Infralution Support |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Fri Jun 17, 2016 5:39 am Post subject: |
|
|
We have fixed this issue in the latest release of Globalizer (3.9.4) which is now available for download _________________ Infralution Support |
|
Back to top |
|
|
kevinkuebler
Joined: 19 Jan 2015 Posts: 20 Location: United States
|
Posted: Fri Jun 24, 2016 3:57 pm Post subject: |
|
|
Awesome, you guys rock! I've been on vacation this week, but will try it out when I'm back in the office on Monday. Thanks! |
|
Back to top |
|
|
|