halflife icon indicating copy to clipboard operation
halflife copied to clipboard

[Feature Request] Improve translations

Open twisterniq opened this issue 6 years ago • 58 comments

Hi. Can you improve the translations in the game? In Russian a lot of information is in English, it should be translated. I suppose the community should be the one to help improve the translations. So is there any way to help with this?

Examples:

translations translations2

These are only two examples from Settings. There is more that should be translated in the game such a message when you try to drop the knife.

twisterniq avatar Apr 26 '19 13:04 twisterniq

This is happening on Spanish version as well.

imagen

imagen

Some texts are truncated as well: imagen

imagen

imagen

metita avatar Apr 26 '19 15:04 metita

French also has missing localization but only for the stuff that were added post-SteamPipe update back in 2013 (raw mouse input, low video quality...)

@kisak-valve You can remove the Counter-Strike label because this issue seems to be common to all games, I tested with both Counter-Strike and Half-Life 1.

@eat1k You can remove the [CS] tag in the title as well.

JoelTroch avatar Apr 26 '19 19:04 JoelTroch

If people would like to provide translations for the languages missing I’d be happy to integrate them into a release. When I have time I’ll diff the English and other localization files and get a list of what is missing.

mikela-valve avatar Apr 26 '19 21:04 mikela-valve

I will be providing translation to the Spanish localization files.

metita avatar Apr 26 '19 21:04 metita

@mikela-valve UI changes needs to be made in order to fix certain localization strings because they are getting cut when displayed on client. (Spanish translation are way more larger than English one)

I will be waiting on commits to start doing pull request on localization files.

metita avatar Apr 27 '19 02:04 metita

I can take care of french.

JoelTroch avatar Apr 27 '19 10:04 JoelTroch

If people would like to provide translations for the languages missing I’d be happy to integrate them into a release. When I have time I’ll diff the English and other localization files and get a list of what is missing.

Sent with GitHawk

Can work on missing Russian localizations.

MOCOLONI avatar Apr 27 '19 14:04 MOCOLONI

@mikela-valve Can this thread be extended not only to Half-Life, but also for HL: Opposing Force and HL: Blueshift? For example, the retail versions had full Spanish texts and dubs, yet they don't appear in Steam ( I think Spanish was added to OF after Steampipe, but it is half broken ).

MaestroFenix avatar Apr 29 '19 13:04 MaestroFenix

I can help with russian

XakepSDK avatar May 18 '19 21:05 XakepSDK

I can help for translating to Turkish too.

yek-ta avatar May 23 '19 09:05 yek-ta

image Half-Life\cstrike\resource\cstrike_english.txt Cstrike_Reset_View -> Сбросить взгляд Cstrike_Buy_Menu -> Меню закупки Cstrike_Fire -> Атака Cstrike_Nightvision -> Вкл/выкл ночное видение Cstrike_Drop_Weapon -> Выбросить текущее оружие, Выбросить оружие Cstrike_Select_Team -> Выбор команды, Выбрать команду, Сменить команду, Смена команды Cstrike_RadarType -> Стиль радара, Вид радара, Тип радара Cstrike_Transparent -> Прозрачный Cstrike_Solid -> Сплошной, Четкий @mikela-valve

afwn90cj93201nixr2e1re avatar Jun 04 '19 10:06 afwn90cj93201nixr2e1re

Half-Life\cstrike\resource\cstrike_english.txt Cstrike_Reset_View -> Сбросить взгляд Cstrike_Buy_Menu -> Меню закупки Cstrike_Fire -> Атака Cstrike_Nightvision -> Вкл/выкл ночное видение Cstrike_Drop_Weapon -> Выбросить текущее оружие, Выбросить оружие Cstrike_Select_Team -> Выбор команды, Выбрать команду, Сменить команду, Смена команды Cstrike_RadarType -> Стиль радара, Вид радара, Тип радара Cstrike_Transparent -> Прозрачный Cstrike_Solid -> Сплошной, Четкий @mikela-valve

For some of these that you suggested: Cstrike_Reset_View -> Восстановить вид (another option that I suggest) Cstrike_Nightvision -> Вкл/выкл. ночное видение (just added a . after выкл) Cstrike_Drop_Weapon -> I think the first option is good, i.e, Выбросить текущее оружие Cstrike_Select_Team -> I think the second option is good, i.e, Выбрать команду Cstrike_RadarType -> the last option is good. Cstrike_Solid -> maybe just an antonym of transparent? If you suggested in Cstrike_Transparent Прозрачный I think in Cstrike_Solid we can write Непрозрачный (literally "not transparent")

twisterniq avatar Jun 04 '19 10:06 twisterniq

Oh, weird. Are those strings set for you @eat1k and @afwn90cj93201nixr2e1re in cstrike_english.txt and not cstrike_russian.txt? Not that that's unlikely, just unexpected.

Looking at the Russian translation, it looks like most of those have translations. Are they present in your files? If not they may not be shipped for some reason, this is what I have for some of them: Cstrike_Reset_View -> Восстановить вид Cstrike_Buy_Menu -> Меню Купить Cstrike_Fire -> Огонь Cstrike_Nightvision -> Включить/выключить прибор ночного видения Cstrike_Drop_Weapon -> Бросить текущее оружие Cstrike_Select_Team -> Выбрать команду

mikela-valve avatar Jun 04 '19 10:06 mikela-valve

Oh, weird. Are those strings set for toy @eat1k and @afwn90cj93201nixr2e1re in cstrike_english.txt and not cstrike_russian.txt? Not that that's unlikely, just unexpected.

Looking at the Russian translation, it looks like most of those have translations. Are they present in your files? If not they may not be shipped for some reason, this is what I have for some of them: Cstrike_Reset_View -> Восстановить вид Cstrike_Buy_Menu -> Меню Купить Cstrike_Fire -> Огонь Cstrike_Nightvision -> Включить/выключить прибор ночного видения Cstrike_Drop_Weapon -> Бросить текущее оружие Cstrike_Select_Team -> Выбрать команду

I don't have cstrike_russian folder in Half-Life, but yes valve_russian. I don't know why.

twisterniq avatar Jun 04 '19 10:06 twisterniq

Weird, I'd expect those to be set in <steamapps>/common/Half-Life/cstrike/resource/cstrike_russian.txt. Are they indeed elsewhere for you?

mikela-valve avatar Jun 04 '19 10:06 mikela-valve

Weird, I'd expect those to be set in /common/Half-Life/cstrike/resource/cstrike_russian.txt. Are they indeed elsewhere for you?

All files I have related to "russian": C:\Program Files (x86)\Steam\steamapps\common\Half-Life\valve_russian\resource\gameui_russian.txt C:\Program Files (x86)\Steam\steamapps\common\Half-Life\valve_russian\resource\valve_russian.txt C:\Program Files (x86)\Steam\steamapps\common\Half-Life\platform\resource\platform_russian.txt C:\Program Files (x86)\Steam\steamapps\common\Half-Life\platform\servers\serverbrowser_russian.txt C:\Program Files (x86)\Steam\steamapps\common\Half-Life\platform\resource\vgui_russian.txt

twisterniq avatar Jun 04 '19 10:06 twisterniq

@mikela-valve That's normal, the engine loads both resource/valve_language.txt and resource/game_language.txt when the game is not valve in CBaseUI::Start.

The CS depot uses the valve_ version: https://steamdb.info/depot/141/ The Russian depot for CS specifically has no files: https://steamdb.info/depot/142/

But depots for other languages do, for example: https://steamdb.info/depot/19/

It looks like it's an inconsistency in the filenames for different translations. Not sure if it needs fixing.

SamVanheer avatar Jun 04 '19 11:06 SamVanheer

Cstrike_Reset_View -> Восстановить вид (another option that I suggest)

Это force_centerview, сбрасывает viewangles на начальные позиции. Слово вид вряд-ли здесь подойдет. image

@mikela-valve there no translation's files in cstrike/res dir, and this is strange. image

Cstrike_Reset_View -> Восстановить вид

вид in english like view, but in russian like view from some point, but force_centreview set viewangles to null, maybe we should change вид -> взгляд, взгляд in russian like view angles.

afwn90cj93201nixr2e1re avatar Jun 04 '19 12:06 afwn90cj93201nixr2e1re

@mikela-valve Cstrike_Buy_Menu -> Меню Купить this is wrong, Меню закупки is correct.

XakepSDK avatar Jun 04 '19 13:06 XakepSDK

@SamVanheer Ok, that explains everything. I hadn't checked the depot so I didn't know that there weren't any CS localization files shipped for Russian.

It looks like possibly the Russian translation for CS wasn't fully completed so it was never shipped. I have a string localization file for it which is what I drew those translations from but that is all.

This is what I have, if anyone would like to go through it to make corrections or updates. It's missing the new tokens that I added for the scoreboard that I've listed below but other looks to be complete.

"Cstrike_DEFUSE_KIT"		"D. Kit"
"Cstrike_HEALTH"		"HP"
"Cstrike_ACCOUNT"		"Money"

mikela-valve avatar Jun 04 '19 18:06 mikela-valve

@mikela-valve Spanish Translations are already done or it is missing too?

metita avatar Jun 04 '19 18:06 metita

@basuritashka I think the newest Spanish translations I have are already distributed with CS and I presume it's the same for other games, so if there are still untranslated things in the Spanish localization then those still need to be updated.

mikela-valve avatar Jun 04 '19 18:06 mikela-valve

image Is new line symbol's normal?

afwn90cj93201nixr2e1re avatar Jun 04 '19 19:06 afwn90cj93201nixr2e1re

@mikela-valve Sorry I just wasn't that clear, I was referring to new strings that were added a few patches ago. (Health, Money...)

metita avatar Jun 04 '19 19:06 metita

I actually don't know how to better translate D. Kit in scoreboard. The translate of Defuse Kit is Набор сапёра but it looks strange (640x480):

image

For Cstrike_ACCOUNT I suggest Деньги I think it's better to let the Cstrike_HEALTH as in English: HP. Or we can put Жизни (literally lifes). That's how it looks: (640x480) image

Or Здоровье (literally health) image


I think Противо-террористическое подразделение translate is too large. So I suggest changing it to Спецназ:

Cstrike_Tutor_Hint_53 -> Если Вы играете за спецназ, заложники появятся на радаре в виде мигающих синих точек. Cstrike_CT_Forces -> &2 СПЕЦНАЗ Cstrike_TitlesTXT_CT_Forces -> Спецназ Cstrike_TitlesTXT_CT_cant_buy -> Спецназ не может ничего купить на данной карте! Cstrike_TitlesTXT_CTs_PreventEscape -> Спецназ предотвратил побег большинства террористов! Cstrike_TitlesTXT_CTs_Win -> Спецназ одержал победу! Cstrike_TitlesTXT_Game_join_ct -> %s1 зашел за спецназ Cstrike_TitlesTXT_Only_CT_Can_Move_Hostages -> Только спецназ может осуществлять перемещение заложников! Career_TeamCT -> Спецназ Career_RoundWinsCT -> Спецназ: %s1 Cstrike_Spec_CT_Score -> Спецназ : Cstrike_ScoreBoard_CT -> Спецназ Cstrike_TitlesTXT_Game_join_ct_auto -> %s1 зашел за спецназ (автомат.) Career_Play_As_CT -> Играть за спецназ

Moreover, why there is a space after the text in each Russian translation in this file?

twisterniq avatar Jun 04 '19 19:06 twisterniq

@basuritashka Got it. Those strings are only English so far as they were only added recently by me so I'd definitely appreciate translations of them for any of the languages that are already supported.

mikela-valve avatar Jun 04 '19 19:06 mikela-valve

@eat1k Is there any abbreviation of Набор сапёра that makes sense the way D. Kit does? I could extend the width of that column but any changes to field size are at the expense of the name column so it's best if it can be kept the same.

I noticed those spaces as well and I have no idea why they're there. They may be stripped automatically when the string is loaded so they're not noticeable in game but I don't have any clue why it's like that, especially since the English strings don't have spaces.

mikela-valve avatar Jun 04 '19 20:06 mikela-valve

I found a good short translation for D. Kit: Дефуз. Has anyone other suggestions?

twisterniq avatar Jun 04 '19 20:06 twisterniq

@mikela-valve We were testing a few weeks ago about that blank space on certain strings and they are indeed working. Probably it was used to make the string fit correctly into the UI.

Multijugador(spacespacespacespacespace) [GitHub is not displaying blank space correctly) imagen

metita avatar Jun 04 '19 20:06 metita

Ah, yes that would make sense then to make other translations fit into the sizes specced for the English strings.

mikela-valve avatar Jun 04 '19 20:06 mikela-valve