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 !macroend
In the file "TomahawkPDF+Portable.ini" I pasted the following code:
[Language] Base=%PAL:LanguageCustom%
But the automatic language switching don't work in the PortableApps.com Platform.
Has anyone an idea?