In ResX Resource Manager created translations of all strings (Neutral, en, ru, ru-RU). Git showed that files were added. These files are also displayed in the explorer. There are no solutions in the browser.

Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("ru"); Thread.CurrentThread.CurrentUICulture = CultureInfo.CreateSpecificCulture("ru"); 

(From App.cs)

With such lines, localization should work, but no. Why the browser does not see the resource files? Why does localization not work?

enter image description hereenter image description here

UPDATE: Where the path of the Resources files are displayed. And where Properties\Resources not displayed

  • The files should be in the Solution Explorer and they should have a custom tool installed - "ResXFileCodeGenerator" - Monk
  • @Monk PublicResXFileCodeGenerator is (from Resources.resx) - Igor
  • Manually add a Russian file to the project and set similar properties to it. - Monk
  • @Monk For speed, I used ResX Resources Manager to get rid of such an addition (very expensive). Maybe in csproj there are no these files? (ru, en, ru-RU) - Igor

0