Yaron Posted October 4, 2008 Share Posted October 4, 2008 Im sorry If there's already an answer to that on the forums But how do I update the language file (I translated 3.20 and now I want to adjust my translation to 3.36) And I really don't feel like copying the strings manually or translating it all over again What should I do? Best Regards, --- Yaron, Hebrew translator Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted October 5, 2008 Share Posted October 5, 2008 You probably want an XML or RESX diff utility. I'm sure one exists, just go ask Google for it. You might even just use windiff. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
muntealb Posted October 6, 2008 Share Posted October 6, 2008 There are many Diff tools, some free, some shareware. You need one to spot the differences between two RESX english files, for two subsequent releases of Paint.NET. I use DiffMerge, which spots differences to the letter level and is free. http://sourcegear.com/diffmerge/index.html Other free tools are: http://sourceforge.net/projects/winmerge/ http://www.prestosoft.com/edp_examdiff.asp http://www.pspad.com/index_en.html (diff module is integrated in the app) And some shareware ones: http://www.grigsoft.com/ http://www.scootersoftware.com/ http://www.prestosoft.com/ Quote Link to comment Share on other sites More sharing options...
Yaron Posted October 6, 2008 Author Share Posted October 6, 2008 Thanks for the informative reply i'll sure keep in mind about these... at the meanwhile im trying to put my hands on the 3.36 english resx which I can't find (I thought about getting it from the sources but because of the license violation it might not be available that soon) Anyways, I hope there will be a new version of Hebrew anytime soon Best regards! Quote Link to comment Share on other sites More sharing options...
muntealb Posted October 7, 2008 Share Posted October 7, 2008 You are right, the source code is not available anymore. I didn't notice that. Actually just ask Rick for the 3.36 RESX file, it will surely send it to you. And if the source code is (temporarily) not available, the RESX file could be put somewhere in the download page for the new translators. Quote Link to comment Share on other sites More sharing options...
Yaron Posted October 7, 2008 Author Share Posted October 7, 2008 Rick, can you please post the English resx please? Quote Link to comment Share on other sites More sharing options...
StephanP Posted October 13, 2008 Share Posted October 13, 2008 Yaron, Search for resgen.exe. It's part of the MS .NET SDK, but if you Google for it you will find some separate downloads for it as well. Use resgen.exe to convert the current PaintDotNet.Strings.3.resources file into an XML PaintDotNet.Strings.3.resx file. Load the PaintDotNet.Strings.3.resx file together with your .3.IL.resx in a diff tool like WinMerge. This will help you to add the strings that have been introduced since 3.20, as well as to check your translations. Take special care of "empty" strings, as their handling has been changed, which will cause resgen to raise alarms. Use Rick's ResxCheck tool to check if your .resx file is alright. After all the merging and translating is done, use resgen.exe again to translate the 3.IL.resx into a .resources file and you're done. Note that you will need .NET 3.5 (SP1?) installed on your machine to use these two utilities. Good luck, Stephan Quote Link to comment Share on other sites More sharing options...
Yaron Posted November 3, 2008 Author Share Posted November 3, 2008 I already have the 3.5 .NET framework What I don't have is the appropriate resgen.exe, I just can't find it using the search terms you provided or any other search terms I have the older resgen.exe but it is not usefull because the file won't decompile with a weird error I would love if someone could please tell me what packaged should I install from the SDK so this tool will be installed or if someone could simply just send the file over to me... Best Regards to all helpers, Yaron Quote Link to comment Share on other sites More sharing options...
muntealb Posted November 4, 2008 Share Posted November 4, 2008 Come on, send a personal message to Rick, he will give you the source code of Paint.NET or only the items that you need (ResGen.exe and the Resx file). You just want to translate the software, there's nothing wrong with that. Quote Link to comment Share on other sites More sharing options...
StephanP Posted November 4, 2008 Share Posted November 4, 2008 muntealb, I've sent Yaron a PM with a direct link to resgen.exe and he's up and running now. Stephan Quote Link to comment Share on other sites More sharing options...
Yaron Posted November 6, 2008 Author Share Posted November 6, 2008 And I really appreciate you for this! But my next problem is how do I merge the translation of 3.20 into the translation of 3.36, the file structure have changed and all the XML diff tools work exactly like the normal diff tools on XML files... Any suggestions? Quote Link to comment Share on other sites More sharing options...
StephanP Posted November 6, 2008 Share Posted November 6, 2008 Yaron, I've only been involved in recent updates of the Dutch translation, so I don't know much about differences between 3.20 and 3.36. I did stumble upon some changes in the handling of empty strings, which caused resxgen to fire error messages, but once determined this was easily resolved. As far as I can tell, there would appear to be no easy way around the problem. It's either starting anew with your Hebrew translation based upon the latest English source file, or continue to adapt your existing translation guided by the the latest strings. "The only way out is through." I assume that proceeding with the 3.20 translation is still easier to do than starting anew. Regards, Stephan Quote Link to comment Share on other sites More sharing options...
gixmi Posted June 17, 2009 Share Posted June 17, 2009 yes i also would love if someone could please tell me what packaged should I install from the SDK so this tool will be installed or if someone could simply just send the file over to me. Quote Edit by Rick: Removed spam links from signature. Link to comment Share on other sites More sharing options...
gixmi Posted June 17, 2009 Share Posted June 17, 2009 yes i also would love if someone could please tell me what packaged should I install from the SDK so this tool will be installed or if someone could simply just send the file over to me. Quote Edit by Rick: Removed spam links from signature. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.