I need to create Resources(resx-files) in my .NET Core based application. Until now I used to use ResxResourceWriter from System.Windows.Forms for that. Any suggestions how to handle this task in .NET Core?
Beside our existing software, which has it's own localization approach based on some binary file, the new software should benefit from existing expensive translations and even have some translation synchronization of terms, when they added to the binary file.
Of course, you can use XmlSerialization. The question is, whether there is a formal way to create/manage Resx-files in .NET Core.
Resources in . resx files. Unlike text files, which can only store string resources, XML resource (. resx) files can store strings, binary data such as images, icons, and audio clips, and programmatic objects.
Tada! https://www.nuget.org/packages/ResXResourceReader.NetStandard
I extracted ResXReourceWriter and ResXResourceReader from the Winforms github and packaged them for .NetStandard
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With