×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Mar 2004
    Posts
    73

    Multi-language SIS files

    Anybody ever created one of these? :-)) I have this in the .pkg file:

    Code:
    &EN,HU
    
    #{"Name_EN","Name_HU"},
    (0xnnnnnnnn), 1, 0, 0
    No matter what I do, makesis complains. Now it complains about a closing brace found in the third line instead of a comma. If I add a comma, it complains about a comma found instead of a closing brace. The syntax above is documented in the help file but even if a try to tweak it, different lines, same line, with comma, without comma, with space, without space, it always complains...

    Bye,
    Gabor

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Location
    UK
    Posts
    159
    Shouldn't lines 3 and 4 all be a single line?

  3. #3
    Regular Contributor
    Join Date
    Mar 2004
    Posts
    73
    The documentation clearly says: "A single PKG command line may be spread over multiple lines if desired, it does not all have to appear on a single line."

    But it doesn't make any difference, it doesn't work on a single line, either...

    Bye,
    Gabor

  4. #4
    Registered User
    Join Date
    Aug 2003
    Location
    Oulu, Finland
    Posts
    1,122
    Well, the syntax looks correct to me, too.

    Here's an example that works for me:

    Code:
    ; Language - standard language definitions
    &EN,FI
    
    ; standard SIS file header
    #{"appname_en", "appname_fi"},(0xhhhhhhhh),0,0,0
    
    ; Supports Series 60 v 0.9
    (0x101F6F88), 0, 0, 0, {"Series60ProductID", "Series60ProductID"}
    Lauri

  5. #5
    Regular Contributor
    Join Date
    Mar 2004
    Posts
    73
    Dear me, I only had one {Series60ProductID}, I didn't realize that had to be doubled as well.

    Thanks,
    Gabor

  6. #6
    Regular Contributor
    Join Date
    Mar 2004
    Posts
    73
    But now I have another problem. Although the SIS is created now, it's not OK. Not all language-dependent files go into their proper places inside the SIS. This seems to be influenced by the order as well, if I don't put the language-independent .app and .aif lines after the dependent ones, they aren't handled properly, either.
    Besides, when installed on the phone, it doesn't ask for the language at all. I paste the complete .pkg here, can you find any problems with it?

    Code:
    ; Language - standard language definitions
    &EN,HU
    
    ; standard SIS file header
    #{"AppName", "AppName"},(0x101FF8B6),0,0,0
    
    ; Supports Series 60 v 0.9
    (0x101F6F88), 0, 0, 0, {"Series60ProductID", "Series60ProductID"}
    
    ; Welcome text and license agreement
    {
    "Resource\License.t01"
    "Resource\License.t17"
    }-"", FILETEXT, TEXTEXIT
    
    ; Files to install
    {
    "AppName.r01"
    "AppName.r17"
    }-"!:\system\apps\AppName\AppName.rsc"
    
    {
    "AppName_caption.r01"
    "AppName_caption.r17"
    }-"!:\system\apps\AppName\AppName_caption.rsc"
    
    {
    "Help\AppName.h01"
    "Help\AppName.h17"
    }-"!:\system\help\AppName.hlp"
    
    "AppName.app"-"!:\system\apps\AppName\AppName.app"
    "AppName.aif"-"!:\system\apps\AppName\AppName.aif"
    Thanks,
    Gabor
    Last edited by djgtram; 2004-03-20 at 15:25.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×