Skip to content

Language

Get the preferred language of the user, set on their browser or device.

Authors and contributors to this community extension: TheGemDev.


Get the preferred language of the user, set on their browser or device.

Tip

Learn how to install new extensions by following a step-by-step guide.

Expressions

Expression Description
Language::Language() Returns a string representing the preferred language of the user.The format represents the language first, and usually the country where it's used. For example: "en" (English), "en-US" (English as used in the United States), "en-GB" (United Kingdom English), "es" (Spanish), "zh-CN" (Chinese as used in China), etc.

This page is an auto-generated reference page about the Language extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.