automatic language switching
I´ve tried to realize the automatic language switching in my portable app Tomahawk PDF+ Portable. To that extent I've created a folder named "Languages" with all language files inside of the folder DafaultData\settings. I also have created a file "custom.nsh" with the following code:
${SegmentFile} ${SegmentPrePrimary} ReadEnvStr $0 PAL:LanguageCustom CopyFiles /SILENT $EXEDIR\Data\Languages\TPdfPlus$0.lng $EXEDIR\App\TomahawkPDF+ Delete $EXEDIR\App\TomahawkPDF+\TPdfPlus.lng Rename $EXEDIR\App\TomahawkPDF+\TPdfPlus$0.lng $EXEDIR\App\TomahawkPDF+\TPdfPlus.lng
- Read more about automatic language switching
- 6 comments
- Log in or register to post comments