---
name: "SetThreadUILanguage"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/SetThreadUILanguage"
---

# SetThreadUILanguage(3w)

## NAME

**SetThreadUILanguage** (KERNEL32.@)

## SYNOPSIS

LANGID SetThreadUILanguage\
  (\
   LANGID *langid*\
  )

## DESCRIPTION

Set the current threads **UI** language.

## PARAMS

*langid* **\[In\]**  **LANGID** of the language to set, or **0** to use the available language which is best supported for console applications.

## RETURNS

**Success:** The return value is the same as the input value.

**Failure:** The return value differs from the input value. Use **[GetLastError(3w)](/GetLastError/3w.md)** to determine the cause.

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in **"dlls/kernel32/locale.c"**.

Debug channel **"nls"**.
