Skip to content
starkos edited this page Feb 6, 2014 · 6 revisions

The locale function specifies the target locale for the resources in a particular configuration.

#!lua
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

Solutions, projects, and project configurations.

Availability

Premake 5.0.

Examples

#!lua
locale "en-GB"
Clone this wiki locally