R2API Language

v1.1.0·Updated 2025-11-26

API for modifying the language localisation of the game

About this mod Author’s original text

R2API.Language - Automatic loading of language files and Languate token overrides

About

R2API.Language is a submodule assembly for R2API that allows mod creators to add proper Language tokens to the game, or override text ingame.

Use Cases / Features

R2API.Language is mainly used for adding new Tokens to the game, the Token system allows you to specify how specific assets should be named depending on the language.

R2API.Language automatically loads files in your mods folder that end in the.language extension, these files will be automatically applied to the game.

Alongside this, R2API.Language allows you to override existing tokens with your own, this can be used for mods that modify behaviours of certain things ingame.

Related Pages

An example tutorial on how to use.language files to load tokens can be found here

Changelog

'1.1.0'

  • Fix LanguageAPI.AddOverlayPath not working.

'1.0.1'

  • Fix the NuGet package which had a dependency on a non-existent version of R2API.Core.

'1.0.0'

  • Split from the main R2API.dll into its own submodule.

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

bbepis-BepInExPackRiskofThunder-HookGenPatcherRiskofThunder-R2API_Core

File & checksum

Filename
R2API_Language-1.1.0.zip
File size
16.3 KiB