FakeFishGames / Barotrauma

A 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.
http://www.barotraumagame.com/
1.74k stars 403 forks source link

[Unstable] Pre-defined name and description texts of missions always get displayed regardless of translation files. #13777

Closed Regalis11 closed 5 months ago

Regalis11 commented 5 months ago

Discussed in https://github.com/FakeFishGames/Barotrauma/discussions/13772

Originally posted by **AzureNocte** April 12, 2024 ### Disclaimers - [X] I have searched the issue tracker to check if the issue has already been reported. - [X] My issue happened while using mods. ### What happened? I noticed that when 1.4.3.0 comes out, translation of modded mission fails to shows up, it only shows the pre-defined name and description, which I think should not be like this. Because these pre-defined mission names and descriptions are for languages that does not have a matching translation file yet(unlike vanilla missions that always have translation available), not intended to replace them. Here is the mod I use, it used to work just fine. [Undersea Horrors Mission Edition.zip](https://github.com/FakeFishGames/Barotrauma/files/14961109/Undersea.Horrors.Mission.Edition.zip) ### Reproduction steps 1. start modded mission. 2. no translation displayed. ### Bug prevalence Happens regularly ### Single player or multiplayer? Happens in both single player and multiplayer ### - _No response_ ### Version Other ### - v1.4.3.0 (unstable) ### Which operating system did you encounter this bug on? Windows ### Relevant error messages and crash reports _No response_
Rokvach commented 5 months ago

Tested by using the provided mod and running it with simplified chinese selected, translations are shown correctly on mission texts. Working correctly. Can be merged and closed.