Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6956239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:50:35+00:00 2026-05-27T14:50:35+00:00

Delphi xe. For Tab Administrative – Unicode lang use GetSystemDefaultLangID For Tab Formats –

  • 0

enter image description here

Delphi xe.

For Tab Administrative – Unicode lang
use GetSystemDefaultLangID

For Tab Formats –
use GetUserDefaultLangID

But what do I use for For Tab Location?

For Tab “Keyboard and Language”
for Vista and above: Getlocaleinfo with key LOCALE_CUSTOM_UI_DEFAULT

Function GetLocaleInformation(flag: integer): string;
var
  pclca: array[0..20] of char;
begin
  if (GetLocaleInfo(
      //locale_system_default - Always identical values returns
      LOCALE_CUSTOM_UI_DEFAULT // work only Vista-Win7, not Xp **
      ,flag,pclca,19) <= 0 ) then begin
    pclca[0] := #0;
  end;
  Result := pclca;
end;
  1. How do I define Location in Xp+Win7 and Display Language in Xp?
  2. Can be a universal key for definition “Display Language” both for Xp and for Win7
  3. How to receive the list of the established languages of the interface?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T14:50:36+00:00Added an answer on May 27, 2026 at 2:50 pm

    1.1 – How to get selected geographical location (geographic ID) ?

    Use the GetUserGeoID function which returns the geographical location currently selected by user.


    1.2 – How to get selected display language for Multilingual User Interface (MUI) in Windows XP ?

    Use the GetUserDefaultUILanguage function which returns the language identifier currently selected by user.


    2 – Is there an universal way how to get the selected display language supported since Windows XP till Windows 7 ?

    Yes, it is. It’s just the previously mentioned GetUserDefaultUILanguage function. There’s a remark:

    If the user UI language is part of a Language Interface Pack (LIP) and
    corresponds to a supplemental locale, this function returns
    LOCALE_CUSTOM_UI_DEFAULT.

    It is supported since Windows 2000 and it should return selected display language even for Windows Vista above (LOCALE_CUSTOM_UI_DEFAULT).


    3 – How to get the list of available user interface languages ?

    Use the EnumUILanguages function. In Windows XP, it passes the language identifiers to the EnumUILanguagesProc callback function. Since Windows Vista you can even specify additional flags which supplies to pass the language names to that callback function or you can specify the filtering for licensed languages or for the languages allowed by the group policy.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Delphi 2009 has changed its string type to use 2 bytes to represent a
Delphi strings use single quotes, for example ' a valid string '. How does
The tab order on my form in Delphi (Embarcadero® Delphi® 2010 Version 14.0) is
Are there any tab controls available for Delphi where the tabs can be clicked
Delphi 2009 and above support unicode. I have few legacy pascal source files that
How can I move between cells of a string grid in Delphi by tab
When using Delphi's ReadLn to read values from a tab-delimited file into a series
I am writing an Outlook Addin using AddIn Express . I use Delphi, anyway
Delphi 2009 and above uses unicode strings for their default string type. To my
Delphi 1 16-bit (yeah it's old, but it works well) Some sample code: procedure

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.