I make an application on WPF. Made two .resx resource files.

  • Resources.resx
  • Resources.ru.resx

In ru localized strings in Russian, in just resources - English, respectively. In the <window> use the xmlns:cultural="clr-namespace:RemotionServer.Properties" and set the controls accordingly (for Content="{x:Static cultural:Resources.ScrollSpeedLabel}" , for example). When I work in a visual studio everything is fine, the whole program is in Russian, that is, the lines are taken from ru. As soon as I transfer the file to the desktop or to another computer, the whole program is in English. What could be the problem?

  • And you transfer resource files? If you do not transfer the exe-shnik somewhere, and just run it from the Release / Debug folder (not the studio), it works correctly? - Trymount
  • Yes, if I run from Rylies \ Debag, then everything is also normally localized - Jaktens Teed
  • Copy the entire release / debug folder. He does not see your resource files. Rather, not entirely, there most likely your files are Resources.resx, Resources.ru.resx - copy them together with the exe file. - Trymount pm
  • I just need one executable, and I’m doing resources as an “embedded resource” - Yaktens Teed
  • No, resources for different languages ​​should be in different files. “Just one executable” will not work. - VladD pm

0