×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    42

    How can I determine the application language at run time

    Hi,

    I developed an application, which support Multilanguage in series 60 3rd edition.

    I will try to use CEikAppUi :: ApplicationLanguageL () function to get the current language used by application.

    But it always gives me ELangNone (0xFFFF) as a language
    code, It detect application is non localize.

    On Emulator it work fine. It gives me language code as expected.

    After installing everything works fine as expected.

    Can anybody please help me ?

    Thanks,

    Regards,
    Dipak Baviskar

  2. #2
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: How can I determine the application language at run time

    hi,

    TLanguage MyappLanguage = User::Language();


    Will get the current language of ur application.

    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

  3. #3
    Registered User
    Join Date
    Dec 2004
    Posts
    42

    Re: How can I determine the application language at run time

    Hi Marteen,

    Thank you very much for quick reply.

    I used what you suggest, but it always gives me ELangEnglish Language code,

    even though my application not support english currently.


    Best Regards
    Dipak Baviskar

  4. #4
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: How can I determine the application language at run time

    hi,

    on emulator the default language is English and it doesn't swithch to other languages on emulator except for writing ... so plz check the same on device -

    If ur application is in another language it will give u the language of the language which is running currently on ur applicaton.

    Regards,
    Mateen Maldar
    and hey my name is Mateen Maldar not Marteen ....
    "Whatever the mind can conceive and believe, the mind can achieve"

  5. #5
    Registered User
    Join Date
    Dec 2004
    Posts
    42

    Wink Re: How can I determine the application language at run time

    Hi Mateen,

    Sorry dude.

    I checked it on the device Nokia N73, N91 etc.

    I got the same result.

  6. #6
    Registered User
    Join Date
    Jul 2005
    Location
    Bengaluru, India
    Posts
    747

    Re: How can I determine the application language at run time

    check the SDK Help for more details about BaflUtils::NearestLanguageFile().

Similar Threads

  1. run J2ME application in the background on startup
    By schmida1980 in forum Mobile Java General
    Replies: 19
    Last Post: 2011-11-09, 13:25
  2. cannot see and run application on E60
    By chengluo in forum Symbian
    Replies: 9
    Last Post: 2006-12-06, 18:14
  3. problems to run simple java application
    By Kaysc in forum Mobile Java General
    Replies: 3
    Last Post: 2005-10-04, 01:39
  4. How to run my application in J-Sky emulator
    By bb_sathya in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2005-09-01, 08:12
  5. Replies: 0
    Last Post: 2003-06-11, 07:47

Posting Permissions

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