ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
647 stars 75 forks source link

[HL2] Closed Captions doesn't work for Brazilian Portuguese #3224

Open floppyD opened 4 years ago

floppyD commented 4 years ago

Since this game has been released, people have been following guides like these to get CCs working, by creating files based on the official Portuguese (PT-PT) translation or just renaming the files from the English language. The issue occurs if the Steam language is set to Brazilian Portuguese, which makes the game look for files that doesn't exist.

Example: CLocalizedStringTable::AddFile() failed to load file "resource/closecaption_brazilian.txt".

A quick fix would be just setting the subtitles language to English if there are no files for the target language, and in the case of PT-BR, just using PT-PT files, since both languages are very similar, just like EN-US and EN-UK.

Tiagoquix commented 4 years ago

This also occurs with Portal 1 and Portal 2.