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 

Shared resx file generation instead of resx file per xaml

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



Joined: 28 Apr 2009
Posts: 1

PostPosted: Tue Apr 28, 2009 2:36 pm    Post subject: Shared resx file generation instead of resx file per xaml Reply with quote

Hi

Is it possible to get the Globalizer tool to generate one resx file that can contain all the resources for multiple xaml files?

My project team does not wish to have a resx file for every xaml doc we have. We rather want to have one shared resx file that all our xaml docs use.

Thanks
Marc
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Tue Apr 28, 2009 11:11 pm    Post subject: Reply with quote

The ResxExtension supports placing resources in any resx file (so it is possible) however the Globalizer.NET converter (that converts existing XAML to use the ResxExtension) creates a separate Resx file for each window. This means that if you wanted to go this approach you would need to hand code or modify the converted code to put all the resources in one file.

Putting all the resources in one file has a few drawbacks:
  • It creates version control issues when there are multiple developers working on different windows
  • It makes it more difficult to know which resources are required for specific windows
  • It requires resource names to be unique for the whole application (instead of just the window)

The only issue with using separate resx files is managing them – however Globalizer.NET takes the pain out of that and means your translator only has to deal with one file.

Have you seen the article on Code Project about the Resx Extension? – this explains in more detail some of the design rationale.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Globalizer Support 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