resx "
The quotes " in the text are exported to the RESX as ". The VisualStudio 2017 reads the resx file fine, but it replaces all " to ". It would be better to export the text as the VisualStudio does.
Consider the following scenario:
- Export resx from poeditor to Git repository.
- Do a small change in the resx by VisualStudio and save the file.
- resx has many changes compared to the version in Git caused by " converted to ".
-
Borm commented
We do have the same Problem. Did you make a decision on this matter?
-
Ondra Medek commented
You may use .NET core on the server to generate RESX files.
I have also fixed this by filtering the exported file by a code:XmlDocument xml = new XmlDocument();
xml.PreserveWhitespace = true;
xml.LoadXml(resxString);
xml.Save(filename);And this also fixes:
-
Because Microsoft's documentation is not one of the richest, we relied on the XML standard during the development process, and went for the safest variant. Which is to encode quotes.
We will analyze Visual Studio's behavior and will make a decision on this matter soon after.