Project Zomboid

Project Zomboid

Not enough ratings
Fix AEBS Localisation (Save Our Station/Expanded Helicopter Events)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
9.481 KB
10 Jan, 2023 @ 7:09am
1 Change Note ( view )

Subscribe to download
Fix AEBS Localisation (Save Our Station/Expanded Helicopter Events)

Description
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 Comments
✠ Gulliver ✠ 11 Mar, 2024 @ 7:13am 
Mod still work?
YoshiWoof22 20 Feb, 2024 @ 2:04pm 
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 4 May, 2023 @ 7:53am 
This should be fixed in EHE. Thank you.