---
name: "FcConfigGetDefaultLangs"
section: "3"
platform: "linux"
package: "fontconfig"
version: "2:2.18.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/FcConfigGetDefaultLangs"
---

# FcConfigGetDefaultLangs(3)

Get the default languages list

## NAME

FcConfigGetDefaultLangs - Get the default languages list

## SYNOPSIS

**#include \<fontconfig/fontconfig.h\>**

**FcStrSet \* FcConfigGetDefaultLangs (FcConfig \****config***);**

## DESCRIPTION

Returns a string set of the default languages according to the environment variables on the system. This function looks for them in order of FC\_LANG, LC\_ALL, LC\_CTYPE and LANG then. If there are no valid values in those environment variables, "en" will be set as fallback.

## SINCE

version 2.17.0
