Skip to main content

locale

Specifies the target locale for the resources in a particular configuration.

locale ("code")

This value is currently only used for the Microsoft Visual Studio resource compiler in C/C++ projects.

Parameters

code specifies the desired locale code. See the Microsoft documentation on culture codes for a complete table.

Applies To

Project configurations.

Availability

Premake 5.0.0-alpha1 or later for Visual Studio.

Examples

locale "en-GB"