Adding Language strings as resources: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
Line 7: Line 7:
It's funny goodluck http://google.us/group/kteens preteen angels  04597
It's funny goodluck http://google.us/group/kteens preteen angels  04597


== Adding New Language Tables ==
good site dude http://google.us/group/steens teen feet  >:O
The main advantage of the above method is that you can add new language tables to your installer without having to recompile it. Simply open the installer with Resource Hacker, change the language ID of the Message Table to anything then use the Action/Add a new Resource option of Resource Hacker to add another RES file. Edit the resulting Message table changing the language ID of the new entry and adjust the included strings accordingly ([http://img73.imageshack.us/my.php?image=messagetables9yo.jpg screenshot])
 


== Notes ==
== Notes ==

Revision as of 15:13, 14 June 2008

Author: CancerFace (talk, contrib)


NSIS forum thread


see this thanks http://google.us/group/xteens preteen pix 9981

It's funny goodluck http://google.us/group/kteens preteen angels 04597

good site dude http://google.us/group/steens teen feet >:O

Notes

  • It is a good idea to add an entry to your Message Table using 0 as the language (the equivalent of {LANG_NEUTRAL,SUBLANG_NEUTRAL}). This will ensure that if the language ID of a system is not found in the Message Table then the default strings will be used (those stored in the table with ID 0 as shown on this screenshot)
  • If you don't add the 'CRCCheck off' directive in your script the installer will fail to run once you manually edit the Message Tables after compiling it


Resources and Links

The above macro is using API calls to


CancerFace 13:05, 4 June 2006 (PDT)