By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,302 Members | 1,812 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,302 IT Pros & Developers. It's quick & easy.

Attribute for non-localizable strings

P: n/a
I just had a thought and wondered if I am missing something or it is a good

Looking at some code, I was sorting through strings that should be put into
a resource file for localization and seeing which ones are not localizable.

I'm used various tools to easily put the strings into a resource file, but
it is still a manual process of evaluating whether a string should be
localized or not.

Over the years it has been different syntax in the variable name to denote
it is not localizable, and I just wondered why there is not a
System.Text.NonLocalizableAttribute offered to denote strings that should be
left alone.

If there was a standard attribute for that purpose, then internal (or
external) tools would use that tool to aid in the process of automating the
process transferring strings from the code to a resource file.

Even if we created that attribute in house other 3.rd party tools wouldn't
know to ignore that type of tag. So the code would look better but there
would be limited benefit.

Dec 19 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.