安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题








https://imgur.com/a/nu15eYT
могу файлик куда-нибудь выложить, если надо
Did you identify what mod causes this problem?
Because Vanilla B41 and B42 work in all languages.
B41 checks for translated names in translation files.
B42 checks for English name, since getDeviceName() should always get an English name.
and getDeviceName() return russian names of every objects, like you can see in first screenshot of debug file.
i dont now maybe vanilla translations files some languages dont have exact records and when default its english return.
and i think @panda use another mod, i believe he is not russian )
It's actually pretty weird.
I just checked Vanilla russian translation files and there are names for every item.
So there is no way that it's some fallback to English.
In theory, your translation mod should just overwrite translations and not affect the way getDeviceName() works, but apparently it does.
It's pretty strange.
I already have checks for translated names in B41 with getItemNameFromFullType().
It checks for translated names, but the problem is that if I do the same thing in B42 files then it will work for people with custom translation mods, but it will break for people who play with Vanilla translation.
If you'll have some ideas, please let me know.
but not
ItemName_Base.TvAntique = "Старый телевизор",
every objects same problem, have ItemName_Radio. and not ItemName_Base
my mod has and ItemName_Radio and ItemName_Base
i believe what getDeviceName() used ItemName_Base records (maybe b41 - "radio", and b42 - new "base")