Skip to main content

TranslatorCmdrService

This item only works when running on the server. Server

Localization export command.

Command What it does
prepare-localization-export Loads every locale of every translator into this server's table

Translators load lazily -- the source language, plus whichever one a player reads -- so no realm ever assembles the full set on its own. That is the point: a game with a dozen languages should not carry eleven it will never show. The CSV export is the one job that needs all of them in one table at one moment, so it asks for them here.

Run it, then save GeneratedJSONTable_Server as CSV -- see JSONTranslator for the rest of the upload steps.

Show raw api
{
    "functions": [],
    "properties": [],
    "types": [],
    "name": "TranslatorCmdrService",
    "desc": "Localization export command.\n\n| Command | What it does |\n| --- | --- |\n| `prepare-localization-export` | Loads every locale of every translator into this server's table |\n\nTranslators load lazily -- the source language, plus whichever one a player reads -- so no\nrealm ever assembles the full set on its own. That is the point: a game with a dozen\nlanguages should not carry eleven it will never show. The CSV export is the one job that\nneeds all of them in one table at one moment, so it asks for them here.\n\nRun it, then save `GeneratedJSONTable_Server` as CSV -- see [JSONTranslator] for the rest of\nthe upload steps.",
    "realm": [
        "Server"
    ],
    "source": {
        "line": 20,
        "path": "src/clienttranslator/src/Server/Cmdr/TranslatorCmdrService.lua"
    }
}