diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-0BE71FC3-4759-50FC-A74F-C3DD42C9FCED.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-0BE71FC3-4759-50FC-A74F-C3DD42C9FCED.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,60 @@ + + + + + +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" +
  • +
+
+Language-Neutral +Files +Language +Dependent Files +
\ No newline at end of file