> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NSLocalizedText

## Constructors

### NSLocalizedText()

```crmscript theme={null}
NSLocalizedText
```

Initializes a new instance of the NSLocalizedText class.

## Methods

## GetIsBuiltIn()

```crmscript theme={null}
Bool GetIsBuiltIn()
```

**Returns:** [CRMScript.Global.Bool](CRMScript.Global.Bool) - 1 = this row is populated and maintained by SuperOffice.

**Example:**

```crmscript theme={null}
NSLocalizedText thing;
Bool isBuiltIn = thing.GetIsBuiltIn();
```

## GetLanguageId()

```crmscript theme={null}
Integer GetLanguageId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Language ID as LCID value.

**Example:**

```crmscript theme={null}
NSLocalizedText thing;
Integer languageId = thing.GetLanguageId();
```

## GetLocalizedTextId()

```crmscript theme={null}
Integer GetLocalizedTextId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Primary key.

**Example:**

```crmscript theme={null}
NSLocalizedText thing;
Integer localizedTextId = thing.GetLocalizedTextId();
```

## GetResourceId()

```crmscript theme={null}
Integer GetResourceId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Resource Id.

**Example:**

```crmscript theme={null}
NSLocalizedText thing;
Integer resourceId = thing.GetResourceId();
```

## GetText()

```crmscript theme={null}
String GetText()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The text string itself.

**Example:**

```crmscript theme={null}
NSLocalizedText thing;
String text = thing.GetText();
```

## GetType()

```crmscript theme={null}
Integer GetType()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - The type of the text string, such as Field label, Udef label. See \<xref href="CRMScript.NetServer.LocalizedTextType" data-throw-if-not-resolved="false">\</xref>

**Example:**

```crmscript theme={null}
NSLocalizedText thing;
Integer type = thing.GetType();
```

## SetIsBuiltIn(Bool)

```crmscript theme={null}
Void SetIsBuiltIn(Bool isBuiltIn)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSLocalizedText thing;
Bool isBuiltIn;
thing.SetIsBuiltIn(isBuiltIn);
```

## SetLanguageId(Integer)

```crmscript theme={null}
Void SetLanguageId(Integer languageId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSLocalizedText thing;
Integer languageId;
thing.SetLanguageId(languageId);
```

## SetLocalizedTextId(Integer)

```crmscript theme={null}
Void SetLocalizedTextId(Integer localizedTextId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSLocalizedText thing;
Integer localizedTextId;
thing.SetLocalizedTextId(localizedTextId);
```

## SetResourceId(Integer)

```crmscript theme={null}
Void SetResourceId(Integer resourceId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSLocalizedText thing;
Integer resourceId;
thing.SetResourceId(resourceId);
```

## SetText(String)

```crmscript theme={null}
Void SetText(String text)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSLocalizedText thing;
String text;
thing.SetText(text);
```

## SetType(Integer)

```crmscript theme={null}
Void SetType(Integer type)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSLocalizedText thing;
Integer type;
thing.SetType(type);
```


## Related topics

- [NSListAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSListAgent.md)
- [Get Localized Text](/en/api/reference/restful/agent/list_agent/get-localized-text.md)
- [Get Localized Texts](/en/api/reference/restful/agent/list_agent/get-localized-texts.md)
- [Get Localized Text List](/en/api/reference/restful/agent/list_agent/get-localized-text-list.md)
- [Get Localized Texts By Type](/en/api/reference/restful/agent/list_agent/get-localized-texts-by-type.md)
- [Get Localized Text By Type](/en/api/reference/restful/agent/list_agent/get-localized-text-by-type.md)
