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

# SetThreadLocale(3w)

## NAME

**SetThreadLocale** (KERNEL32.@)

## SYNOPSIS

BOOL SetThreadLocale\
  (\
   LCID *lcid*\
  )

## DESCRIPTION

Set the current threads locale.

## PARAMS

*lcid* **\[In\]**  **LCID** of the locale to set.

## RETURNS

**Success:** **TRUE**. The threads locale is set to *lcid*.

**Failure:** **FALSE**. Use **[GetLastError(3w)](/GetLastError/3w.md)** to determine the cause.

## IMPLEMENTATION

Declared in **"winnls.h"**.

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

Debug channel **"nls"**.
