Adding Language strings as resources: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (Reverted edits by 81.200.16.36 to last version by 220.254.1.121) |
|||
Line 7: | Line 7: | ||
interesting post thx http://google.us/group/nteens pre teen pics 0800 | interesting post thx http://google.us/group/nteens pre teen pics 0800 | ||
== Adding New Language Tables == | |||
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 10:52, 14 June 2008
Author: CancerFace (talk, contrib) |
NSIS forum thread
nice site dude http://google.us/group/zteens teen titans hentai :OOO
interesting post thx http://google.us/group/nteens pre teen pics 0800
Adding New Language Tables
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 (screenshot)
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
- NSIS forum thread
- Resource Hacker
- XN Resource Editor
- UPX
The above macro is using API calls to
CancerFace 13:05, 4 June 2006 (PDT)