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 

.resx generated althought not needed ?

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



Joined: 16 Nov 2010
Posts: 27

PostPosted: Fri Dec 03, 2010 11:16 am    Post subject: .resx generated althought not needed ? Reply with quote

Globalizer processed an XAML file with no translatable strings in and created a corresponding empty RESX file.

Why is that the case?

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



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon Dec 06, 2010 10:07 pm    Post subject: Reply with quote

Globalizer.NET does create a resx file for each potentially localizable XAML file. We will have a look at that for a future release to see whether we could/should change that. In the meantime you can exclude the target from the Globalizer.NET workspace and delete the resx file from the Visual Studio project if you don't want it.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Dierk Droth



Joined: 16 Nov 2010
Posts: 27

PostPosted: Tue Dec 07, 2010 7:02 am    Post subject: Reply with quote

Thanks for clarification.

Your suggested approach has the serious disadvantage that I needed to remember to include the file again as a new text string was added, e.g. by modifying the file in VS designer.

This is very prone to errors.
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Tue Dec 07, 2010 7:08 am    Post subject: Reply with quote

Yes I would only do this if you know that you will never be localizing that page/window. Otherwise the overhead of the extra empty resx file is negligible and you could just leave it.
_________________
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