Not possible to disable localization warnings
I have a project which does not contain any resource files. R# is still warning me that every single string in the project is localizable.
In the project properties, the "Localizable" option under "ReSharper" does not have an editor nor a drop-down list. I have tried typing in "No", but this does not make any difference.
How can I tell R# to stop warning me about strings which I don't need to localize?
VS2019 v16.3.6
R# 2019.2.3
Please sign in to leave a comment.
Hello Richard,
Setting Localizable option to Default or No should disable such types of warnings. Here's how it works in case you haven't seen yet - https://www.jetbrains.com/help/resharper/2019.2/LocalizableElement.html.
Is the same behavior reproduced in a newly created solution?
Thank you.
I can partially reproduce the problem in a new solution. It appears to be caused by a project without a resource file having a reference to a project with a resource file.
Eg:
The drop-down list for the project's "Localizable" property is missing from all projects.
However, manually typing "No" into this property removes the warnings in the new solution. This does not work in my existing solution.
Hello Richard,
Thank you for the provided info.
I've filed issue about a project without a resource file referencing project with a resource file - https://youtrack.jetbrains.com/issue/RSRP-476838.
Concerning the problem that you cannot avoid localization warnings even with Localizable option set to No, I've passed this info to our developer for further investigation.
I'll let you know once we have news.
Thank you.