winamp/Src/external_dependencies/openmpt-trunk/include/premake/website/docs/locale.md

26 lines
568 B
Markdown
Raw Normal View History

2024-09-24 12:54:57 +00:00
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](http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo%28v=vs.85%29.ASPX) for a complete table.
### Applies To ###
Project configurations.
### Availability ###
Premake 5.0 or later.
## Examples ##
```lua
locale "en-GB"
```