Questions tagged [lcid]

LCID's are locale ID's that represent a language and country in the form of a numeric ID.

29 questions
11
votes
6 answers

How to convert Microsoft Locale ID (LCID) into language code or Locale object in Java

I need to translate a Microsoft locale ID, such as 1033 (for US English), into either an ISO 639 language code or directly into a Java Locale instance. (Edit: or even simply into the "Language - Country/Region" in Microsoft's table.) Is this…
Jonik
  • 80,077
  • 70
  • 264
  • 372
10
votes
2 answers

What is LCID 127?

In asp.net what is the culture represented by LCID 127? <%Response.Write(System.Globalization.CultureInfo.InvariantCulture.LCID)%> Output = 127.
digiguru
  • 12,724
  • 20
  • 61
  • 87
9
votes
1 answer

Multiple LCID error with SQL Server Full-text Index

Changing one full-text index column Language (LCID) to Neutral when the others are English results in the following error: System.Data.SqlClient.SqlException (0x80131904): Full-text table or indexed view has more than one LCID among its full-text…
Petrus Theron
  • 27,855
  • 36
  • 153
  • 287
6
votes
2 answers

Is the Windows locale ID (LCID) the same as the USB language ID?

I am developing a tool in C# which allows the user to configure the USB string descriptors for a USB device. One of the string descriptor is the language ID. I want the UI to display the list of language names instead of the cryptic language IDs. I…
Palladin
  • 983
  • 1
  • 7
  • 10
4
votes
1 answer

CultureInfo for Latin language

I develop an app for working with multi-language resources. In database, when I need colomn with language identifier, I use language LCID. Now I need to add new language - Latin. It's LCID - 1142. But when I try to create new CultureInfo(1142) -…
regerus
  • 93
  • 1
  • 6
3
votes
3 answers

What is the best way to determine the correct Charset for a given LCID at runtime in VB6?

I am displaying Japanese characters in a VB6 application with the system locale set to Japan and the language for non Unicode programs as Japanese. A call to GetACP() correctly returns 932 for Japanese. When I insert the Japanese strings into my…
fran
  • 365
  • 1
  • 3
  • 19
3
votes
2 answers

C++ What is the correct use of LCID in COleDateTime for American Date

I need to parse an american date string to extract the date. COleDateTime dData; LCID lcid = 0x409; // 0x409 is the locale ID for English US CString strDate; dData.ParseDateTime("10/1/2014 9:43:00 AM", VAR_DATEVALUEONLY); strDate =…
AnR
  • 1,809
  • 3
  • 26
  • 45
3
votes
1 answer

How to Set CultureInfo to InvariantCulture Classic ASP (VBScript)

I am looking for a way to set a Classic ASP page's Culture Info to Invariant Culture so that the decimals have a dot and not a comma. This gives me allot of issues, On windows 8 doesn't work, get it to work on windows 8, then it doesn't work on…
Pierre
  • 8,397
  • 4
  • 64
  • 80
3
votes
1 answer

How to get the LCID from std::locale

In windows how to get the LCID from the std::locale locale l1(".OCP");//get the default system locale cout<
ahmedsafan86
  • 1,776
  • 1
  • 26
  • 49
2
votes
1 answer

get LCID from string

How to get LCID from string like "en-US"? I know about GetLocaleInfoEx function, but it doesn't work on windows XP. Can I get LCID from CRT locale? UPD: Can I convert between LCID and CRT locale (created by _create_locale function)? CRT locale may…
velimir
  • 129
  • 11
2
votes
0 answers

How do I get LCID of a culture from Short name in silverlight?

The CultureInfo class in Silverlight does not expose LCID property unlike its .NET counterpart. How do I get the LCID for a culture from its short name? e.g. getting 1033 as LCID by giving "en-US" as input without maintaining a Dictionary of my own?
Sanrag Sood
  • 515
  • 1
  • 6
  • 14
2
votes
1 answer

Get current system language from CultureInfo gives wrong results

I would like to get the current system language from Windows. I found thousands of answers like Get current language in CultureInfo with the suggestion to use System.Globalization and CultureInfo or Thread.CurrentThread... but the solutions don't…
Darkproduct
  • 1,062
  • 13
  • 28
2
votes
1 answer

System.Globalization.CultureInfo (de)serialization

I need to store a specific culture in a file. Is it enough to serialize the LCID integer or is that a lossy conversion? Is Name, NativeName or EnglishName to be preferred?
David Rutten
  • 4,716
  • 6
  • 43
  • 72
1
vote
1 answer

convert case of wide characters, given the LCID (Visual C++)

I have some existing Visual C++ code where I need to add the conversion of wide character strings to upper or lower case. I know there are pitfalls to this (such as the Turkish "I"), but most of these can be ironed-out if you know the language.…
appleton
  • 168
  • 1
  • 11
1
vote
1 answer

Chocolatey package creation: How to select a language for a silent installation

While creating a package for chocolatey, the installation fails because the installer asks for a language selection: Window asking for the user's language for installation. So I tried, as explained in this page to get the user's language…
A-d-r-i
  • 31
  • 2
  • 11
1
2