dysphie / sm-map-translator

Sourcemod plugin for No More Room in Hell and Zombie Panic Source that allows map objectives and other miscellaneous text to be translated via auto-generated configs
GNU General Public License v3.0
16 stars 5 forks source link
nmrih sourcemod

4150650 (1)

[SM] Map Translator

Translates map texts via translation files, allowing players to see messages in their preferred language.

The following texts are supported:

Installation

Usage

Commands

Command Description Required Flags
mt_forcelang Forces perceived language to a given language code. ADMFLAG_ROOT
mt_bulk_learn_nmo Generate translations for all .nmo files in NMRiH without loading the maps. ADMFLAG_ROOT
mt_force_export Force export learned translations immediately. ADMFLAG_ROOT
mt_debug_clients Print perceived language code for each client. ADMFLAG_ROOT

CVars

CVars are read from cfg/sourcemod/plugin.map-translator.cfg

ConVar Description Default Value
mt_ignore_numerical Don't translate or learn fully numerical messages such as codes, countdowns, etc. 1
mt_autolearn_langs Space-separated list of language entries to include in auto generated translation files, for example: en es ko en
mt_fallback_lang Clients whose language is not translated will see messages in this language en
mt_extended_learning Whether the game will learn text entities that have been modified during gameplay. This can improve detection on maps with VScript, but it can also increase memory usage and the size of the generated translation file 0

Notes