---
name: "getTextRaw"
type: command
status: ok
groups: ["Config", "Localization"]
arma3_since: "2.02"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getTextRaw
revid: 347409
updated: 2023-09-18T13:18:49Z
---

# getTextRaw

*Command · Config, Localization · Arma 3 v2.02*

## Description

Returns raw text from config entry. If entry is subject to [localization](../commands/localize.md), the translation key is returned. To obtain the [localized](../commands/isLocalized.md) text, see [getText](../commands/getText.md).

## Syntax

```sqf
getTextRaw config
```

**Parameters:**

- `config`: [Config](../topics/Config.md)

**Returns:** [String](../topics/String.md) - raw text value

## Examples

### Example 1

```sqf
private _text = getText (configFile >> "CfgVehicles" >> "Thing" >> "displayName");            // "Get in %1 as Driver"
private _rawText = getTextRaw (configFile >> "CfgVehicles" >> "Thing" >> "displayName");    // "$STR_ACTION_GETIN_DRIVER"
private _localized = localize _text;                                                        // "Get in %1 as Driver"
_localized == _text; // true
```

## See also

Stringtable.xml · [localize](../commands/localize.md) · [isLocalized](../commands/isLocalized.md) · [diag_localized](../commands/diag_localized.md) · [BIS_fnc_localize](../functions/BIS_fnc_localize.md) · [getText](../commands/getText.md) · [getNumber](../commands/getNumber.md) · [getArray](../commands/getArray.md)

<sub>Source: [BI Community Wiki — getTextRaw](https://community.bistudio.com/wiki/getTextRaw) (revision 347409).</sub>
