Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Handle replacement tokens in pseudo translations

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Globalizer Feature Requests
View previous topic :: View next topic  
Author Message
kevinkuebler



Joined: 19 Jan 2015
Posts: 20
Location: United States

PostPosted: Tue Jun 14, 2016 2:55 pm    Post subject: Handle replacement tokens in pseudo translations Reply with quote

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. Smile Thanks!
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Jun 15, 2016 8:16 am    Post subject: Reply with quote

A good suggestion - thanks. We will take a look at that.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Fri Jun 17, 2016 5:39 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
kevinkuebler



Joined: 19 Jan 2015
Posts: 20
Location: United States

PostPosted: Fri Jun 24, 2016 3:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Globalizer Feature Requests All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group