Languages Supported

The languages statement lists the languages supported by the SIS file. It is a comma separated list of language identifiers preceded by an ampersand( & ) character.

Syntax

       
        
       
       &lang-code [(dialect-ID)], lang-code [(dialect-ID)], ...
      
  • lang-code - is a two character language abbreviation used to specify the supported language variants.

    It defines the order in which the localized vendor names, package-header, options-list, language-specific files and dependency components must be specified in a PKG file.

  • dialect-ID - is optionally added as a number, defined by the device creators, in parentheses after a lang-code .

Examples

  • In the following example, English, French, and Zulu are specified as the languages suppported by the SIS file. Accordingly, the localised vendor name, package header and install files are specified for each supported language.

             
              
             
             &EN,FR,ZU(1024)
    
    %{"Vendorname-EN", "Vendorname-FR, Vendorname-ZU"}
    
    #{"MyApp-EN", "MyApp-FR", "MyApp-ZU"}, (0x1000001F), 1, 2, 3, TYPE=SA
    
    {"text\englishfile.txt" "text\frenchfile.txt" "text\zulufile.txt"} - "C:\private\E800005A\file.txt"
            
  • The following example package file illustrates the usage of multiple languages and dialect codes. Two dialects are specified for each supported language.

             
              
             
             ; This package file shows the dialects feature
    
    &EN(1024),EN(2048),FR(1024),FR(2048),GE(1024),GE(2048)
    
    #{"English-1024","English-2048","French-1024","French-2048","German-1024","German-2048"}, (0x1000001F), 1, 2, 3, TYPE=SA
    
    %{"Vendor","Vendor","Vendeur","Vendeur","Verkaufer","Verkaufer"}
    :"Vendor"
    
    "dialect-3lang-2dial.txt"-"",FT,TC
    {"text\english-1024.txt" "text\english-2048.txt" "text\french-1024.txt" "text\french-2048.txt" "text\german-1024.txt" "text\german-2048.txt"}-"$:\private\10000020\import\dialect.txt"