Source-checkedPerformance

LocalizationCache

by MSchmoecker · for Valheim

A small mod that caches localization loading, which can help improve startup performance and reduce possible connection timeouts

92KDownloads
2 yr agoLast updated
BepInExLoaders
ThunderstoreSource

About LocalizationCache

From Thunderstore

A small mod that caches localization loading, which can help improve startup performance and reduce possible connection timeouts

LocalizationCache

About

This is small mod that caches localization loading, which can help improve startup performance and reduce possible connection timeouts.

With no other mods and the language set to English, only a small improvement is achieved. On my system, the load time is reduced by a few hundred milliseconds. If you have mods that call the localization multiple times, you can expect an improvement of a few seconds. Some mods also cache internally, so the improvement may not stack beyond a certain point.

In some cases, loading is also triggered when joining a world which can exceed the 30s Steam timeout and cause a disconnect. This mod can help to reduce those disconnects, especially on low end systems.

The log messages Loaded localization file #0 - 'localization' language: 'English'... will still be printed, as some mods rely on the underlying functionality. While the vanilla localization is cached in this case, mods may load their own localization files for the first time which are not cached.

Configuration

General:

  • Enable Cache: Enable caching of localization files. Disable to compare loading times. Requires a restart to take effect. Default: true

Debugging:

  • Log Timing: Log timing information for Localization.SetupLanguage. Requires a restart to take effect. Default: false
  • Log Stacktrace: Log stacktrace for each Localization.SetupLanguage call. Requires a restart to take effect. Default: false

Manual Installation

This mod requires BepInEx. Extract all files to BepInEx/plugins/LocalizationCache.

The mod can be installed on both server and client and is optional. However, it will have the most impact on the client.

Links

Changelog

0.3.0

  • Added caching of some mod translation loading calls, which can help a lot with many mods. However, this breaks switching languages in-game, as the mod translations are not reloaded. Can be disabled in the config.

0.2.0

  • Fixed caching did not distinguish between different localization files, resulting in missing vanilla translations
  • Added config options for debugging timing and stacktrace

0.1.0

  • Release

Highlights

From source data

Loaders

Runs on BepInEx.

Footprint

Rated a light load on a server.

Dependencies

Needs 1 other project installed alongside it.

LocalizationCache on Nxeon

From our catalogue
One-click install
Supported on Nxeon Valheim servers, for BepInEx servers. We download it from Thunderstore, place it, and restart the server.
Server side
Optional on the server
Server type needed
BepInEx
Server load
light
Smallest plan we suggest
Valheim — 4 GB (4 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
0.3.0, released 2024-09-28

Game versions by loader

LoaderGame versionsNewest
BepInEx

From 3 recorded builds of LocalizationCache.

Recent builds

BuildReleasedGame versionsLoaders
0.3.02024-09-28n/aBepInEx
0.2.02023-08-23n/aBepInEx
0.1.02023-05-31n/aBepInEx

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run LocalizationCache on a Valheim server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Thunderstore as “Content”

Performance

Makes the game or server run faster or lighter without changing how it plays.

Works on a server

From source side support

Thunderstore lists server-side support for LocalizationCache as optional: it can run on a server, but isn’t required there.

Compatibility

Game
Valheim
Loaders
BepInEx
Runs on
Serveroptional on the server
Requires
One-click install needs a BepInEx server. 1 other project installed alongside it.

Verified at the source

  • ✓ThunderstoreOfficial listing, checked 2026-10-02Open ↗
  • ✓AuthorMSchmoecker, as published on Thunderstore
  • ✓LicenseNot published by the sourceFree

LocalizationCache, answered

Generated from the mod’s own source data.

Do my players need to install LocalizationCache?

Thunderstore lists server-side support for LocalizationCache as optional: it can run on a server, but isn’t required there.

Which loaders does it support?

BepInEx.

Is it free?

Yes. LocalizationCache is free to download from Thunderstore.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run LocalizationCache on a Valheim server.

Deploy in about a minute from $9.99 a month, then add LocalizationCache in one click.