I used .Net project management software after the .resx files started to get out of hand. I used it as an extraction format like XLIFF (see Yves comment ). Our existing .resx files were exported / merged once into one .po file for each language, which then became our authoritative language file from which all resx files were automatically generated.
The projects I'm working on are not ASP, so I donβt know about the package mentioned by mcw0933, but the Mono resgen.exe implementation has some simple conversion option po <=> resx. However, in order to preserve existing comments and automatically add the source text as additional comments, I have expanded the mono conversion tool to such an extent that the one I use is basically rewritten.
I put the extended .po <=> .resx converter on github .
As for choosing a .po for managing translations of a C # project,. Po is simple and friendly, but there are some inconveniences to use it in a way that is slightly different from its original use in gettext, and I have no experience to say if it was the best a choice than xliff, but the ability to manage translations and automate tasks was much better than dealing with resx files like we were in the past.
The minor inconvenience of using the software is slightly different from its intentions:
- Since gettext uses msgid for double use as a field for storing the original untranslated string, I had to make a resgenEx archive of the original translation string into an attached comment instead of the field intended for this purpose.
- Some tools assume that msgid will contain the original English translation (and not just the ID string), which may mean that the automatic error checking option of this tool is not very useful, or it may mean something that forces you to choose another tool and so on. .d. Most tools make no assumptions.
- Some .po tools like \ n instead of \ r \ n
The project in which I originally wrote resgenEx had two .resx files and one .ISL file for each supported language, but soon I will need to manage all translations of the .Net project, which has several resx files for each class in the code. When this happens, I will decide if I should continue to use .po or use xliff or something else. If I continue to use .po, then I will clear resgenEx and maybe you need to add additional functions, for example, the ability to automatically add assembler names and class name prefixes in msgids.
Treer
source share