Jump to content


Photo

Can I edit the language files in PDN by myself and how


  • Please log in to reply
5 replies to this topic

#1 Timwang

Timwang
  • Members
  • 18 posts
  • LocationShanghai,China
  • Reputation:0

Posted 19 November 2007 - 03:41 AM

I found there were lots of translation mistakes in Chinese edition.Can I correct them by myself?

#2 pyrochild

pyrochild

    Plugin Author of the Year 2012

  • Administrators
  • 11,273 posts
  • LocationColorado
  • Reputation:137

Posted 19 November 2007 - 03:52 AM

try this: viewtopic.php?f=14&t=601

and next time, Posted Image
sig8.png
[I write plugins and stuff]

If you like a post, upvote it!

#3 Timwang

Timwang
  • Members
  • 18 posts
  • LocationShanghai,China
  • Reputation:0

Posted 19 November 2007 - 05:04 AM

try this: viewtopic.php?f=14&t=601

and next time, Posted Image

Thank you for ur replay.
I read the guide and knew its meaning.
There is a question here:Actually there is no need to translate all the menu.What I want to correct are parts of them.If I have to translate all and use "ResGen" to build a new langugage pack.It takes too much.Any method better?

#4 Rick Brewster

Rick Brewster

    Paint.NET Author and Developer

  • Administrators
  • 12,609 posts
  • LocationKirkland, WA
  • Reputation:125

Posted 19 November 2007 - 06:27 AM

Moved to Localization
The Paint.NET Blog: http://blog.getpaint.net/
Donations are always appreciated! http://www.getpaint.net/donate.html

Posted Image

#5 Timwang

Timwang
  • Members
  • 18 posts
  • LocationShanghai,China
  • Reputation:0

Posted 20 November 2007 - 09:12 AM

Moved to Localization

you moved my thread and never told me how to do :cry: can I just translate parts of menu on the basis of existed file?

#6 Zagna

Zagna
  • Members
  • 244 posts
  • LocationRovaniemi, Finland
  • Reputation:0

Posted 20 November 2007 - 04:05 PM

You can use resgen.exe in the original translation pack to convert a .resources file into .resx file for modification.

ResGen.exe PaintDotNet.Strings.3.<lang>.resources Strings.<lang>.resx
To decompile, after which you can easily modify the .resx file with any text editor and,
ResGen.exe /compile Strings.<lang>.resx,PaintDotNet.Strings.3.<lang>.resources
To compile it again which you can then use to replace the original.
Posted Image