# Sandbox.LanguageResource

A compiled .lang resource containing translations keyed by token, then language code.

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.GameResource](/api/Sandbox.GameResource)
- Modifiers: sealed

## Constructors

- [`LanguageResource`](/api/Sandbox.LanguageResource/.ctor)

## Properties

- [`Prefix`](/api/Sandbox.LanguageResource/Prefix): Optional prefix shared by all tokens in this file, such as "weapon.flashlight".
- [`Tokens`](/api/Sandbox.LanguageResource/Tokens): Each token's translations and optional @context note for translators. These entries are stored directly at the root of the .lang file.
