argent77 Posted July 13, 2010 Share Posted July 13, 2010 Is it possible in WeiDU to open localized readme files depending on the language you have selected? I tried the following version: // README ~CustomKits/readme.txt // displays only a static readme LANGUAGE ~English~ ~english~ ~CustomKits/english/setup.tra~ LANGUAGE ~Français~ ~french~ ~CustomKits/french/setup.tra~ LANGUAGE ~Deutsch~ ~german~ ~CustomKits/german/setup.tra~ // displaying localized readme (doesn’t work) ACTION_IF FILE_EXISTS ~CustomKits/readme.%LANGUAGE%.txt~ THEN BEGIN AT_INTERACTIVE_NOW ~VIEW CustomKits/readme.%LANGUAGE%.txt~ END ELSE BEGIN AT_INTERACTIVE_NOW ~VIEW CustomKits/readme.txt~ END BEGIN @3 // subcomponent SUBCOMPONENT @1 // maincomponent ... but it doesn’t even compile correctly. Is there a way to do it correctly? The readme should be opened right after the language selection. Link to comment
the bigg Posted July 13, 2010 Share Posted July 13, 2010 README ~CustomKits/readme.%LANGUAGE%.txt~ ~CustomKits/readme.txt~ Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.