Project Zomboid

Project Zomboid

评价数不足
Fix AEBS Localisation (Save Our Station/Expanded Helicopter Events)
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
9.481 KB
2023 年 1 月 10 日 上午 7:09
1 项改动说明 ( 查看 )

订阅以下载
Fix AEBS Localisation (Save Our Station/Expanded Helicopter Events)

描述
Fix Localisation of AEBS messages

This mod fixes a relatively recent bug where the Automated Emergency Broadcast System strings are not localised successfully.

If you are using Expanded Helicopter Events or Save Our Station On a server then you want this mod. It serves no purpose for single-player, but it will also not cause any harm.

You can enable/disable this mod at will, at any time for new or existing games. If you are using Mod Manager, look for "Multiplayer AEBS i18n Hack"

Technical Details

At some point in 2022, the server-side code was modified and Translation strings were loaded before mods were.

This had the consequence of breaking getRadioText() for localisation strings in mods like Save our Station and Expanded Helicopter Events since the server will never load in their strings.

This mod is an incredibly trivial fix, but exists as a workshop item both for the convenience of users who want to fix unmaintained mods, to avoid unnecessary code duplication and unnecessary server load from copying the snippet everywhere and causing the startup process to reload the strings multiple times.

As a side-note, because it reloads all strings, it will fix anything localisation related that's server-side. The mod is just titled this way because AEBS is the most common manifestation of the problem.

Integrating this fix into your mod

1. Edit your mod's mod.info to include the line
require=FixRadioi18n
(case-sensitive)

2. Upload it.

3. Edit your workshop item on the Steam website to depend on this workshop item.

Workshop ID: 2915954029
Mod ID: FixRadioi18n
3 条留言
✠ Gulliver ✠ 2024 年 3 月 11 日 上午 7:13 
Mod still work?
YoshiWoof22 2024 年 2 月 20 日 下午 2:04 
SoS Maintainer here,

I should've commented on this way sooner, but forgot about it - whoops.

This has been fixed in SoS for quite some time now - SoS loads translation strings as part of the mod initialization process now (also hitching on the OnGameBoot event).

You can safely mark this as obsolete and/or unlist it from the workshop now. Thank you ^^
Chuckleberry Finn 2023 年 5 月 4 日 上午 7:53 
This should be fixed in EHE. Thank you.