none
Original definition of LCID? RRS feed

  • Question

  • Dear All,

    Does any one know the original definition of LCID? Any rule?

    There are many language tag with the same value 0x1000.

    In my application it is necessary to definite a unique LCID for each language tag, I would like to redefine the duplicate LCID 0x1000 for my application.

    Thanks and Best regards,

    E-John

    Monday, November 11, 2019 8:43 AM

All replies

  • Hi E-John ,

    LCIDs are identifiers used to specify localizable information. They are also known as culture identifiers in the Microsoft .NET Framework environment.

    An LCID is a 4-byte value. The value supplied in an LCID is a standard numeric substitution for the international [RFC5646] string.

    More details you can refer to these documents.

    [LCID Structure]

    In the directory on the left side of the document, you can get more information about LCID.

    Best Regards,

    Daniel Zhang


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, November 12, 2019 1:53 AM
  • Hi Daniel,

    Thanks for your reply.

    It seems no rule between LCID and RFC5646.

    After dump all LCIDs, there is no definition on the range 0x8000 and after.

    I collected all language with same LCID 0x1000 and redefined they starts from 0x8000 for my application used.

    Thanks and Best regards,

    E-John

    This is version 4.0.0.0 of mscorlib.
    ========================================
    0x0XXX LCID count = 316
    0x1XXX LCID count = 449
    0x2XXX LCID count = 22
    0x3XXX LCID count = 17
    0x4XXX LCID count = 8
    0x5XXX LCID count = 4
    0x6XXX LCID count = 3
    0x7XXX LCID count = 31
    0x8XXX LCID count = 0  (Will redefine those LCID value is 0x1000 starts from here)
    0x9XXX LCID count = 0
    0xAXXX LCID count = 0
    0xBXXX LCID count = 0
    0xCXXX LCID count = 0
    0xDXXX LCID count = 0
    0xEXXX LCID count = 0
    0xFXXX LCID count = 0
    ========================================



    • Edited by E-John Thursday, November 14, 2019 2:31 PM
    Thursday, November 14, 2019 9:29 AM