×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    10

    Unhappy bad language count

    I port my application from SERIES60_2 to SERIES60_3X. It works on emulator, but when I try to make sis package, I get the error:
    Processing ...pkg...
    No vendor names found.
    error: bad language count.
    What problem can be here?

    My pkg file is standard:
    ;Languages
    &EN
    ; UID is the app's UID
    #{"Appname-EN"},(0xe94235e0),1,0,0
    ;Localised Vendor name
    %{"Vendor-EN"}
    ;Unique Vendor name
    :"Vendor"

    It is not problem of SDK, because other apps work.

    _reg file:
    #include <appinfo.rh>

    UID2 KUidAppRegistrationResourceFile
    UID3 0xe94235e0 // application UID
    RESOURCE APP_REGISTRATION_INFO
    {
    app_file = "Appname";
    localisable_resource_file = "\\resource\\apps\\Appname_loc";

    _loc file:
    #include <appinfo.rh>
    #ifdef LANGUAGE_01
    #include <Appname.l01>
    #endif
    RESOURCE LOCALISABLE_APP_INFO
    {
    short_caption = STRING_r_short_caption;
    caption_and_icon =
    {
    CAPTION_AND_ICON_INFO
    {
    caption = STRING_r_caption;
    // Each icon must be a bitmap/mask pair
    number_of_icons = 2;
    // Points to an mbm/mif file
    icon_file = STRING_r_icon_file;
    }
    };
    }
    }

  2. #2
    Registered User
    Join Date
    May 2007
    Posts
    10

    Question Re: bad language count

    ; Languages
    &EN

    ; Header
    #{"Appname"},(0xe94235e0), 0, 1, 1

    ; Platform compatibility
    [0x101F7961], *, *, *, {"Series60ProductID"}

    ; vendor
    %{"Vendor Name"}
    :"Vendor Name"

    I changed PKG file a little and it worked!

Similar Threads

  1. J2ME Command Language
    By hooopoe in forum Mobile Java General
    Replies: 13
    Last Post: 2009-05-06, 14:49
  2. error:bad language count
    By vivek_dbaurman in forum Symbian
    Replies: 1
    Last Post: 2007-01-29, 05:05
  3. About Language code for localization
    By Poyo_shiu in forum Symbian
    Replies: 1
    Last Post: 2006-06-28, 11:35
  4. Count for new mails?
    By symnewbie in forum Symbian
    Replies: 0
    Last Post: 2005-06-14, 08:47
  5. 5140 3.10: Language in adding words to T9
    By olexa in forum General Development Questions
    Replies: 3
    Last Post: 2004-08-04, 19:29

Posting Permissions

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