# LOC class

Namespace: [Rhino.UI](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.ui.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public static class LOC
```

Used a placeholder which is used by LocalizationProcessor application to create contextId mapped localized strings.

## Methods

- [COMMANDNAME](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.loc/commandname.md): (static) Command names that need to be localized should call this function. The COMMANDNAME function doesn't actually do anything but return the original string. The LocalizationProcessor application walks through the source code of a project and looks for LOC.COMMANDNAME and builds a record for each command name for the translators that can be used by developers in a commands overridden Rhino.Commands.Command.LocalName which should call Rhino.UI.Localization.LocalizeCommandName(EnglishName)
- [CON](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.loc/con.md): (3 overloads, static) DO NOT use this function, it is a trap to determine where context IDs have been copied from other, already extracted, strings.
- [COV](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.loc/cov.md): (2 overloads, static) Command option name strings that need to be localized should call this function. The COV function doesn't actually do anything but return the original string. The LocalizationProcessor application walks through the source code of a project and looks for LOC.COV. The function is then replaced with a call to Localization.LocalizeCommandOptionValue using a unique context ID.
- [STR](https://developer.rhino3d.com/api/rhinocommon/type/rhino.ui.loc/str.md): (3 overloads, static) DO NOT use this function, it is a trap to determine where context IDs have been copied from other, already extracted, strings.
