Allspeak
Detects the language of incoming chat messages and shows a translation in the chat panel.Allspeak
BepInEx plugin that detects the language of incoming chat messages and shows a translation in the chat panel. Messages already in the target language, or in a language you've marked as ignored, are left alone.
Privacy: chat text is sent to Google Translate to be translated.
Behavior
- Per-player language memory (keyed by platform ID, e.g. Steam ID) in
BepInEx/config/com.iyon.allspeak.players.tsv:- Messages are autodetected; a confident detection (≥
DetectionConfidence) is remembered, replacing a different language of equal or lower confidence. - For short messages (≤ 4 words) whose autodetection falls below
DetectionConfidence, the remembered language is tried as the source instead. - Delete the file (or a line) to reset.
- Messages are autodetected; a confident detection (≥
- If the detected language equals
TargetLanguageor is inIgnoredLanguages, nothing is shown. - Otherwise the translation is shown, formatted like a native chat line (name color, shout/whisper casing):
HideOriginal = true: original line replaced by[💬] Bjørn: Hello there. If nothing is translated (understood language, request failure) the original is shown as usual.HideOriginal = false: original kept, followed by[de→en] Bjørn: Hello there.
- On world join, self-test reports
Allspeak is activein the target language (orAllspeak inactive, check logson failure).
Config (BepInEx/config/com.iyon.allspeak.cfg)
Created on first game launch. Editable in r2modman / Thunderstore Mod Manager (Config editor) or any text editor; restart game to apply.
| Key | Default | Meaning |
|---|---|---|
| Enabled | true | Master switch |
| TargetLanguage | auto |
Language to translate into. auto = game's UI language (fallback en). Otherwise a code from Supported languages, e.g. en, de, no, pt-PT, zh-TW |
| IgnoredLanguages | (empty) | Comma-separated codes you understand, e.g. de,fr. Messages detected as these aren't translated |
| DetectionConfidence | 0.9 | Minimum autodetect confidence (0-1) to trust the detection. Below this, short messages fall back to the player's remembered language |
[Display] section:
| Key | Default | Meaning |
|---|---|---|
| IncludePlayerName | true | Show sender's name on translated lines |
| HideOriginal | true | Replace the original chat line with the translation |
| AlteredPrefix | [💬] |
Prefix on replaced lines. Empty = none. Emoji may render as a box if the game font lacks it |
| NameColor | FFA500FF (orange) |
Player name color |
| NormalColor | FFFFFFFF (white) |
Normal (proximity) chat color |
| ShoutColor | FFEB04FF (yellow) |
Shout color |
| WhisperColor | FFFFFFBF (white, 75%) |
Whisper color |
Supported languages
Google Translate language codes. Valid for TargetLanguage and IgnoredLanguages.
| Code | Language | Code | Language | Code | Language |
|---|---|---|---|---|---|
ab |
Abkhaz | iw |
Hebrew | os |
Ossetian |
ace |
Acehnese | hil |
Hiligaynon | pag |
Pangasinan |
ach |
Acholi | hi |
Hindi | pap |
Papiamento |
aa |
Afar | hmn |
Hmong | ps |
Pashto |
af |
Afrikaans | hu |
Hungarian | fa |
Persian |
sq |
Albanian | hrx |
Hunsrik | pl |
Polish |
alz |
Alur | iba |
Iban | pt |
Portuguese (Brazil) |
am |
Amharic | is |
Icelandic | pt-PT |
Portuguese (Portugal) |
ar |
Arabic | ig |
Igbo | pa |
Punjabi (Gurmukhi) |
hy |
Armenian | ilo |
Ilocano | pa-Arab |
Punjabi (Shahmukhi) |
as |
Assamese | id |
Indonesian | qu |
Quechua |
av |
Avar | iu-Latn |
Inuktut (Latin) | kek |
Qʼeqchiʼ |
awa |
Awadhi | iu |
Inuktut (Syllabics) | rom |
Romani |
ay |
Aymara | ga |
Irish | ro |
Romanian |
az |
Azerbaijani | it |
Italian | rn |
Rundi |
ban |
Balinese | jam |
Jamaican Patois | ru |
Russian |
bal |
Baluchi | ja |
Japanese | se |
Sami (North) |
bm |
Bambara | jw |
Javanese | sm |
Samoan |
bci |
Baoulé | kac |
Jingpo | sg |
Sango |
ba |
Bashkir | kl |
Kalaallisut | sa |
Sanskrit |
eu |
Basque | kn |
Kannada | sat-Latn |
Santali (Latin) |
btx |
Batak Karo | kr |
Kanuri | sat |
Santali (Ol Chiki) |
bts |
Batak Simalungun | pam |
Kapampangan | gd |
Scots Gaelic |
bbc |
Batak Toba | kk |
Kazakh | nso |
Sepedi |
be |
Belarusian | kha |
Khasi | sr |
Serbian |
bem |
Bemba | km |
Khmer | st |
Sesotho |
bn |
Bengali | cgg |
Kiga | crs |
Seychellois Creole |
bew |
Betawi | kg |
Kikongo | shn |
Shan |
bho |
Bhojpuri | rw |
Kinyarwanda | sn |
Shona |
bik |
Bikol | ktu |
Kituba | scn |
Sicilian |
bs |
Bosnian | trp |
Kokborok | szl |
Silesian |
br |
Breton | kv |
Komi | sd |
Sindhi |
bg |
Bulgarian | gom |
Konkani | si |
Sinhala |
bua |
Buryat | ko |
Korean | sk |
Slovak |
yue |
Cantonese | kri |
Krio | sl |
Slovenian |
ca |
Catalan | ku |
Kurdish (Kurmanji) | so |
Somali |
ceb |
Cebuano | ckb |
Kurdish (Sorani) | es |
Spanish |
ch |
Chamorro | ky |
Kyrgyz | su |
Sundanese |
ce |
Chechen | lo |
Lao | sus |
Susu |
ny |
Chichewa | ltg |
Latgalian | sw |
Swahili |
zh-CN |
Chinese (Simplified) | la |
Latin | ss |
Swati |
zh-TW |
Chinese (Traditional) | lv |
Latvian | sv |
Swedish |
chk |
Chuukese | lij |
Ligurian | ty |
Tahitian |
cv |
Chuvash | li |
Limburgish | tg |
Tajik |
co |
Corsican | ln |
Lingala | ber-Latn |
Tamazight |
crh |
Crimean Tatar (Cyrillic) | lt |
Lithuanian | ber |
Tamazight (Tifinagh) |
crh-Latn |
Crimean Tatar (Latin) | lmo |
Lombard | ta |
Tamil |
hr |
Croatian | lg |
Luganda | tt |
Tatar |
cs |
Czech | luo |
Luo | te |
Telugu |
da |
Danish | lb |
Luxembourgish | tet |
Tetum |
fa-AF |
Dari | mk |
Macedonian | th |
Thai |
dv |
Dhivehi | mad |
Madurese | bo |
Tibetan |
din |
Dinka | mai |
Maithili | ti |
Tigrinya |
doi |
Dogri | mak |
Makassar | tiv |
Tiv |
dov |
Dombe | mg |
Malagasy | tpi |
Tok Pisin |
nl |
Dutch | ms |
Malay | to |
Tongan |
dyu |
Dyula | ms-Arab |
Malay (Jawi) | lua |
Tshiluba |
dz |
Dzongkha | ml |
Malayalam | ts |
Tsonga |
en |
English | mt |
Maltese | tn |
Tswana |
eo |
Esperanto | mam |
Mam | tcy |
Tulu |
et |
Estonian | gv |
Manx | tum |
Tumbuka |
ee |
Ewe | mi |
Maori | tr |
Turkish |
fo |
Faroese | mr |
Marathi | tk |
Turkmen |
fj |
Fijian | mh |
Marshallese | tyv |
Tuvan |
tl |
Filipino | mwr |
Marwadi | ak |
Twi |
fi |
Finnish | mfe |
Mauritian Creole | udm |
Udmurt |
fon |
Fon | chm |
Meadow Mari | uk |
Ukrainian |
fr |
French | mni-Mtei |
Meiteilon (Manipuri) | ur |
Urdu |
fr-CA |
French (Canada) | min |
Minang | ug |
Uyghur |
fy |
Frisian | lus |
Mizo | uz |
Uzbek |
fur |
Friulian | mn |
Mongolian | ve |
Venda |
ff |
Fulani | my |
Myanmar (Burmese) | vec |
Venetian |
gaa |
Ga | bm-Nkoo |
NKo | vi |
Vietnamese |
gl |
Galician | nhe |
Nahuatl (Eastern Huasteca) | war |
Waray |
ka |
Georgian | ndc-ZW |
Ndau | cy |
Welsh |
de |
German | nr |
Ndebele (South) | wo |
Wolof |
el |
Greek | new |
Nepalbhasa (Newari) | xh |
Xhosa |
gn |
Guarani | ne |
Nepali | sah |
Yakut |
gu |
Gujarati | no |
Norwegian | yi |
Yiddish |
ht |
Haitian Creole | nus |
Nuer | yo |
Yoruba |
cnh |
Hakha Chin | oc |
Occitan | yua |
Yucatec Maya |
ha |
Hausa | or |
Odia (Oriya) | zap |
Zapotec |
haw |
Hawaiian | om |
Oromo | zu |
Zulu |
