ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.55k stars 594 forks source link

[HL25] Language Error #3745

Closed Kanadeforever closed 4 months ago

Kanadeforever commented 4 months ago

This problem appeared after the 25th anniversary update.

After setting the language to Simplified Chinese and Traditional Chinese in the properties, the game still displays in English. After community discussion, it was found that the problem was caused by file encoding errors in two txt files under the "Half-Life\valve_schinese\resource" folder. Under the Windows version, saving the text encoding as "UTF-16 LE" and the line ending sequence as "CRLF" can solve this problem. However, when using the Linux version of Steam Deck, no text can be displayed using this method.

Snipaste_2024-01-18_11-31-56

There is also another problem that existed in this versions. In English settings, when you start a “new game”, the game title, creator’s name, place names, etc. recorded in title.txt will be displayed at the beginning of the game. But when switched to Chinese (Simplified Chinese, Traditional Chinese), it does not display, and the texts displayed are identifiers such as “CR27”, “CR1”, etc. We hope that the official can fix these situations.

Snipaste_2024-01-18_11-34-31

kisak-valve commented 4 months ago

Hello @Kanadeforever, this issue is already being tracked at #2490. Closing as a duplicate.