Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why do I get 'Localizable string' in the Visual Studio editor?

I have the following if statement:

enter image description here

VS is telling me Localizable string: "Select a Unit"

I have looked through Globalizing and Localizing .NET Framework Applications but still not to clear on what localization actually is.

Could someone please explain what this means?

like image 578
AnonDCX Avatar asked Feb 12 '26 16:02

AnonDCX


1 Answers

It's most likely a Resharper plugin that gives you that message. It simply tells you that a string can be moved to a resource file. No need unless you want to support multiple languages in your application.

Update: It's Resharper itself: https://www.jetbrains.com/resharper/help/Localization_Inspection.html

like image 68
jgauffin Avatar answered Feb 14 '26 05:02

jgauffin