You can hire translators, run an AI provider and review every string, and still ship a menu that stays in English. The usual cause is text that never entered the localization system in the first place: a literal handed to FText::FromString in C++, or a label typed straight into a RmlUi document. A localization pass cannot translate what it cannot see.

This guide shows how to find that text before you translate, using LocHub’s Coverage tab. LocHub is an Unreal Engine editor plugin for AI-assisted localization. It does not replace Unreal’s localization system; it adds an AI-assisted review workflow around it, and its output is ordinary archives and .locres.

What counts as “bypassing localization”

LocHub’s Coverage tab lists player-visible strings that bypass localization entirely: text a Push found hard-coded instead of going through the normal text system. Such text has no translation to review, so nothing in the translation workflow will ever touch it.

LocHub’s Coverage report lists two kinds of these findings:

Kind What it is
FromString A C++ call that builds an FText from a literal string (FText::FromString("...")) instead of a localized source, found under the project’s own source folders
RmlLiteral Visible, hard-coded text inside a RmlUi .rml document. Comments, <head>, <style> and <script> blocks and `` are not counted

Only player-visible text matters here. The report is about strings a player could see, not about every literal in your code base.

Step 1: Set up the localization target

If you have not done it yet, go to Tools > LocHub > Set Up Localization Target. It creates the Game localization target if it does not exist, or completes an existing one, and only adds what is missing, so running it again on a configured target is a no-op.

Step 2: Gather text

Use Unreal’s own Window > Localization Dashboard, or your project’s usual Gather Text step, to gather the Game target’s manifest. LocHub’s Push sends what the manifest already has; it does not gather text itself.

If your last Gather Text only covered part of the project, Push warns you before retiring any strings the manifest no longer has, so a partial gather cannot silently delete strings from LocHub.

Step 3: Dry run, then Push

Go to Tools > LocHub > Push (Dry Run) first. It shows what would be added, changed or retired without changing anything. When that looks right, run Tools > LocHub > Push.

This step matters for coverage in a specific way: the Coverage tab reflects the most recent real Push, not a dry run, and it shows that Push’s timestamp. Until you have run a real Push, there is nothing to read.

Step 4: Open the Coverage tab

Open Tools > LocHub > Open LocHub and switch to the Coverage tab. Each finding lists:

  • its kind (FromString or RmlLiteral),
  • its file and line,
  • the offending text.

If the tab says “No findings.”, the last Push found nothing. If it lists findings, you now have a to-do list with exact file and line numbers, which is much easier to work through than hunting by search.

Coverage tab

Step 5: Fix each finding the right way

For a FromString finding, the text has to come from a localized source instead of a literal. For a RmlLiteral finding, the visible text has to come through the normal text system rather than being typed into the document. After fixing, run Gather Text again, then a real Push, and the finding should disappear from the Coverage tab.

Not every finding needs a fix. A literal that the player never sees, such as a debug label, can stay as it is. The point of the report is that you decide, instead of discovering the text in a screenshot from a player.

What Coverage skips

The scan covers your project’s own source folders. Folders matching Coverage Exclude Patterns are never scanned. You find the setting under Project Settings > Plugins > LocHub, in the Push section. The defaults are:

  • Source/*Editor/*
  • */Tests/*
  • */ThirdParty/*
  • *.generated.h

Paths are relative to the project folder. If your game keeps code in an extra folder that should not be scanned, for example a tools module that only the editor uses, add a wildcard for it. If a folder that ships to players matches one of the patterns, remove the pattern, or its text will never appear in the report.

A visual check: -LEETIFYUnlocalized

The Coverage report reads your code and documents. A second pass looks at the running game. LocHub’s docs suggest launching the game with -LEETIFYUnlocalized: every string that has no translation is rendered in leetspeak, so any hard-coded, never-translatable text stands out on screen immediately.

The two checks catch different things. The report points at the exact file and line but only knows the two kinds above. The visual pass sees whatever actually reaches the screen, but it does not tell you where the text came from. Using both is cheap, and each one backs up the other.

Run it in CI

LocHub ships a commandlet, LocHubSync, so Push can run headless in a build pipeline. The commandlet’s -push publishes the current source strings and the coverage report, so a nightly build can keep the Coverage tab current without anyone opening the editor.

UnrealEditor-Cmd <Project>.uproject -run=LocHubSync -push [-dryrun] [-target=<Name>]

Two details from the documentation are worth knowing:

  • -push does not gather text on its own. Run the engine’s stock GatherText commandlet first, as you would before a Push from the editor.
  • Run Tools > LocHub > Set Up Localization Target in the editor at least once beforehand. Without it, the commandlet fails immediately with “No game localization target named ."

The commandlet exits with 0 when the Push finished and 1 for anything else, so a pipeline can decide whether to continue. A real Push (not -dryrun) is what refreshes the Coverage report.

A short checklist

  1. Set Up Localization Target once.
  2. Gather Text.
  3. Push (Dry Run), read the counts, then Push.
  4. Open the Coverage tab and go through every FromString and RmlLiteral finding.
  5. Fix the ones a player can see, gather again, push again.
  6. Launch with -LEETIFYUnlocalized and look through the main screens once.
  7. Only then start translation jobs.

Doing the audit first means your translation budget is spent on text that will actually ship translated, and your reviewers are not asked to approve strings that were never going to reach the game.

Where to go next

LocHub is source-available under the Business Source License 1.1: free in production for personal projects, education, academic research, game jams, and games given away free with no monetization. Other production use needs a license purchased on Fab. Source and issues are on GitHub, the plugin is on Fab, and the documentation covers the Coverage tab and the commandlet in full.

Drafted by LocHub’s AI assistant; every step and setting is checked against the LocHub documentation.