|
Post by applecat on Oct 7, 2024 20:30:41 GMT -5
Hi,
I'm trying to locate the script, XML, or any other data in The Sims 4 that controls string table placeholders like {0.Simname}. Specifically, I’m looking for data that determines the order of Sim names based on the game's localization settings.
In English, the Sim names are displayed as [FirstName] [LastName], but in some Asian languages, the order is reversed to [LastName] [FirstName]. I suspect there’s some locale-specific code that decides this, but I haven’t had any luck finding where this is controlled.
I’ve already examined the Python files and a number of XML files in the client, but I couldn’t find anything relevant. My second guess is that this logic might be included in the base game package files. I’ve been using S4S to sift through the base game packages, but the sheer volume of files makes it difficult to pinpoint the right one.
If anyone could point me in the right direction or provide any information about the way I can find this localization-specific name order is handled (whether in XML, Python, or elsewhere), I’d greatly appreciate it!
Thanks in advance for any help.
|
|
|
Post by CatDevPete on Oct 8, 2024 7:09:10 GMT -5
Just to preface, I don't really know either. But, considering that the domain for parsing it is around the UI, I suspect it may be associated with the UI scripts if you can't find it anywhere else. MizoreYukii's patreon page has a guide on UI editing, www.patreon.com/posts/setup-for-ui-54708148.
|
|
|
Post by applecat on Oct 8, 2024 11:41:17 GMT -5
Thank you for your advice! I’m now searching for the UI scripts related to my modifications, but I'm feeling a bit overwhelmed by the sheer number of files to go through. But I really appreciate your help!
|
|