PDA

View Full Version : Localized strings server side - is this possible - with libcod or without?



richard277
10th November 2021, 17:09
I was wondering why localized strings are hard coded into client side files. For example I would like to change a text and I change that one only in a server gsc file. Can this lead to problems? Or what is the use of a client side localized string file?

Thank you very much!

maxdamage99
15th November 2021, 05:17
this is done for the convenience of localizing the game for different languages

strings in .gsc are general purpose strings for developers. Localize*.iwd files decode these lines into messages like "PLAYER_CONNECT" (from .gsc) to "Player connected!"(from localize .str file).
if string from .gsc not find reference in .str from lozalize*.iwd - just a used that string.

You can make self languages-system in .gsc without localized strings and libcod.