How to force Visual Studio 2008 to save vcproj files with the correct locale?

On my team, some develop using the Swedish language (albeit with English), while others use English-English. I prefer Swedish date / time / number / currency formatting.

There is an error in formatting the version field in the vcproj file, which means that it constantly changes from a semicolon to a point and vice versa, depending on who last edited the file.

The differences are as follows:

<?xml version="1.0" encoding="Windows-1252"?> <VisualStudioProject ProjectType="Visual C++" - Version="9.00" + Version="9,00" Name="TehProject" ProjectGUID="{BDFA4CC2-70CA-4B98-AC31-FC233434B56A3}" 

Any ideas how to solve this? This is pretty minor, but it starts to get nervous. :)

+6
source share
2 answers

I have the same problem. After the investigation, it seems to me that on Windows there is no standard way to install a language application. It can only be changed for the entire system.

The only solution that can be made with standard Windows tools is to use the runas command and run the VS IDE ( devenv.exe ) under different user accounts with the English locale (or some locale where the decimal separator is a period). This is an ugly solution that has several drawbacks (for example, you enter the password manually or use the insecure /savecred , changes in the profile of the primary user account must be manually replicated to the IDE account, maybe something else that I missed ) In my opinion, this is not worth its price.

0
source

I found the AppLocal utility that should run a specific language: http://www.microsoft.com/en-us/download/details.aspx?id=13209

Will be checked someday.

0
source

Source: https://habr.com/ru/post/891014/


All Articles