---
name: "FcLangSetAdd"
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/FcLangSetAdd"
---

# FcLangSetAdd(3)

add a language to a langset

## NAME

FcLangSetAdd - add a language to a langset

## SYNOPSIS

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

**FcBool FcLangSetAdd (FcLangSet \****ls***, const FcChar8 \****lang***);**

## DESCRIPTION

*lang* is added to *ls*. *lang* should be of the form Ll-Tt where Ll is a two or three letter language from ISO 639 and Tt is a territory from ISO 3166.
