YAWPI: Yet Another Windows Program Installer ============================================ Version 2.0 This file describes the mutlilingual features of Yawpi. The general instructions are in the file "YAWPI.TXT". The supported languages are defined by the "Language" keyword in INSTALL.CFG file. The value of this keyword is a list of text files that contain the string definitions. Please look at "English.txt" for an example. You may add your own language by copying "English.txt" to "mylang.txt" and translating all the keywords. Note that the user must be running a version of Windows that supports your language. The language file (e.g. "English.txt") contains the translation for each keyword. Some keywords are predefined and used by Yawpi. Other keywords are user defined and are used by indirect access (see section 3 below). 1. Predefined Keywords for Install __________________________________ Keywords in this section are used by Yawpi throughout the installation process. You may modify the translation. If a keyword is missing, the English term will be used. 1.1 Language Defines the name of this language. Example (English): Language=English Example (French): Language=Français 1.2 Destination Defines the caption bar for the dialog that prompts the user for the destination directory (where the program will be installed). Example (English): Destination=Destination Example (French): Destination=Destination 1.2 ConfirmDir Define the text for destination directory dialog: will be installed in Example (English): ConfirmDir=will be install in: Example (French): ConfirmDir=sera installé dans 1.3 Error Defines the caption bar of error dialog boxes. Example (English): Error=Error Example (French): Error=Erreur 1.4 DirExists, DirExistsQ Warning dialog informing the user that the destination directory already exists. "DirExists" defines the caption bar. "DirExistsQ" defines the message (%s stands for the directory name). Example (English): DirExists=Directory exists DirExistsQ=Directory %s already exists. Overwrite files? Example (French): DirExists=Le répertoire existe DirExistsQ=Le répertoire %s existe déjà. Superposer les fichiers? 1.5 CurDir Error message displayed when the user selects a destination directory that is the same as the source directory. Example (English): CurDir=Cannot install in current directory Example (French): CurDir=Ne peut être installé dans le répertoire actuel 1.6 DirNotFound, DirNotFoundQ Warning dialog informing the user that the destination directory was not found. "DirNotFound" defines the caption bar. "DirNotFoundQ" defines the message (%s stands for the directory name). Example (English): DirNotFoundQ=Directory %s not found. Continue anyway? DirNotFound=Directory not found Example (French): DirNotFoundQ=Répertoire %s non trouvé. Continuer quand même? DirNotFound=Répertoire non trouvé 1.7 NoDrive, InvPath Error dialog that is displayed when the user specifies a destination directory without the drive letter. "InvPath" defines the caption bar. "NoDrive" defines the message. Example (English): NoDrive=Drive must be specified InvPath=Invalid path Example (French): NoDrive=L'unité de disque doit être spécifiée InvPath=Chemin non valable 1.8 CantCreateDir Error message when destination directory cannot be created. Example (English): CantCreateDir=Directory "%s" cannot be created 1.9 ExitQ This message is displayed when the user presses the "Cancel" button. Example (English): ExitQ=Do you want to exit? Example (French): ExitQ=Voulez-vous sortir? 1.10 DlgFailed Error message if dialog procedure fails. Example (English): DlgFailed=Dialog Procedure Failed. Example (French): DlgFailed=Dialogue interrompu 1.11 ArcNotFound Error message displayed when an archive file is not found. Example (English): ArcNotFound=Archive %s not found. Continue installation? Example (French): ArcNotFound=Archives %s non trouvées. Continuer l'installation? 1.12 CantOpen, FileError Error message displayed when a file to be copied cannot be opened (either source or destination files). "FileError" defines the caption bar. "CantOpen" defines the message. Example (English): FileError=File Error CantOpen=Cannot open %s Example (French): CantOpen=Impossibilité d'ouvrir %s FileError=Erreur de fichier 1.13 CopyFailed Error message displayed when a file copy operation failed. Example (English): CopyFailed=Failed to copy %s Example (French): CopyFailed=%s n'a pas été copié 1.14 ProgGroup, AddIconsQ This dialog asks the user to confirm Yes/No before installing the icons. "ProgGroup" defines the caption bar. "AddIconsQ" defines the message. Example (English): ProgGroup=New Program Group AddIconsQ=Add icons for %s to your desktop? Example (French): ProgGroup=Nouveau groupe de programmes AddIconsQ=Ajouter des icones %s à l'ordinateur? 1.15 InstallAborted This message is displayed if the user pressed "Cancel". Example (English): IntallAborted=Installation Aborted. Example (French): IntallAborted=Installation abandonnée 1.16 InstallOK This message is displayed at the end of the installation process. Example (English): InstallOK=Installation has completed successfully. Example (French): InstallOK=Installation réussie 1.17 NextDisk, InsDisk This message prompts the user to insert the next floppy diskette. "NextDisk" defines the caption bar. "InsDisk" defines the message. %d stands for the disk number. Example (English): NextDisk=Next Disk InsDisk=Please insert disk %d Example (French): NextDisk=Disquette suivante InsDisk=Insérer la disquette %d 1.18 Unpacking Displayed in the dialog box while unpacking archives or copying files. Example (English): Unpacking=Unpacking: Example (French): Unpacking=Désagréger: 1.19 Archive Displayed near the name of the archive being unpacked. Example (English): Archive=Archive Example (French): Archive=Archives 1.20 File Displayed near the name of the file being unpacked. Example (English): File=File Example (French): File=Fichier 1.21 SpaceRequired, NoSpace This message is displayed if the the amount of free space on the destination drive is more than what is specified in the "SpaceRequired" directive in INSTALL.CFG. "NoSpace" defines the caption bar. "SpaceRequired" defines the message. %ld stands for number of bytes. %c stands for the drive letter. Example (English): SpaceRequired=This installation requires %ld K bytes.\ Drive %c: has only %ld K bytes of free space.\ Continue anyway? NoSpace=No space on drive Example (French): SpaceRequired=Cette installation exige %ld K-octets.\ Unité de disque %c: n'a que %ld K-octets d'espace libre.\ Continuer quand même? NoSpace=Pas d'espace sur l'unité de disque 2. Predefined Keywords for Uninstall ____________________________________ Keywords in this section are used only by Uninstall. 2.1 DelDir, DelDirQ This dialog asks the user to confirm before deleting the files. "DelDir" defines the caption bar. "DelDirQ" defines the message. Example (English): DelDir=Deleting Directory DelDirQ=All files in %s will be deleted.\ Continue? Example (French): DelDir=Effacer le répertoire DelDirQ=Tous les fichiers dans %s seront effacés.\ Continuer? 2.1 DelIcons, DelIconsQ This dialog asks the user to confirm before deleting the icons and groups. "DelIcons" defines the caption bar. "DelIconsQ" defines the message. Example (English): DelIcons=Deleting program group DelIconsQ=Delete icons for %s from your desktop? Example (French): DelIcons=Effacer le groupe de programmes DelIconsQ=Effacer de votre ordinateur les icônes de %s? 2.2 UninstallDone This message is displayed at the end of the uninstallation process. Example (English): UninstallDone=%s has been uninstalled. Example (French): UninstallDone=%s a été enlevé 3. User Defined Keywords ________________________ Any of the INSTALL.CFG keywords with string values can indirectly point to keywords in the language files, by adding a '@' character in front of the keyword. Example: in INSTALL.CFG: Title1=@ProgramName in English.txt: ProgramName=Magic Graphic Application in French.txt ProgramName=Magic Application Graphique