FS22 - Where are l10n definitions?

Your forum for all discussions around Modding.
humbe
Posts: 1430
Joined: Sat Jan 18, 2020 9:33 pm

FS22 - Where are l10n definitions?

Post by humbe »

Hi..

Trying to make a program that analysis FS22 games, and when looking up equipment and vehicles I often come upon this $l10n variables.. Like:

<function>$l10n_function_tipper</function>

<name params="$l10n_storeItem_header">TX 32 %s</name>

<name>$l10n_station_us_grainSiloRailroad01</name>

I seem to remember there were files with FS19 with <l10n><texts> content, but I can't find any in FS22, though the variables are still used. Where are the definitions?
User avatar
RB Modding
Posts: 25
Joined: Mon May 14, 2018 9:18 pm
Location: Italy

Re: FS22 - Where are l10n definitions?

Post by RB Modding »

I believe they are contained in an encrypted file. otherwise you can find them in the modDescs of the mods
RL Modding Team

Modding: FS15-FS17-FS19-FS22

Player: FS2009-FS2011-FS2013-FS15-FS17-FS19-FS22
s8080t
Posts: 712
Joined: Wed Nov 20, 2019 9:26 pm

Re: FS22 - Where are l10n definitions?

Post by s8080t »

Yep, those XMLs are hidden in dataS.gar.
But on Discord I've seen someone post a Lua snippet that prints all of these to console/log.txt. Try searching the modding channels there.
Languages: DE/EN
Plattform: PC
Meine Mods
Grünlandsuchti
IT-Spezialexperte
OpenSource-Verfechter
humbe
Posts: 1430
Joined: Sat Jan 18, 2020 9:33 pm

Re: FS22 - Where are l10n definitions?

Post by humbe »

s8080t wrote: Thu Jan 06, 2022 9:29 pm Yep, those XMLs are hidden in dataS.gar.
But on Discord I've seen someone post a Lua snippet that prints all of these to console/log.txt. Try searching the modding channels there.
Thanks for the response.. My program is external to FS22 and reads XML save and game files to analyze the game though, so if they're not available somewhere in a readable format, I guess I'll just have to live without them..
Post Reply