Forum Discussion
SimGuruEugi
EA Staff (Retired)
11 years ago"SimGuruModSquad;13996399" wrote:
Hey there. No python does not have access to the actual localized strings.
In theory, there is no need for Python to access actual strings. In your case, if you want to display minutes, you can do:
_minutes=lambda **_:sims4.localization._create_localized_string(0xD6B7C27C, minutes)
where your string is
0xD6B7C27C = "{0.Number} minutes left!"
Hope that helps.
About The Sims 4 Mods & Custom Content
Find expert tips, troubleshooting help, tutorials for mods and custom content, and The Sims 4 patch files in our forum.15,815 PostsLatest Activity: 28 minutes ago
Recent Discussions
- 28 minutes ago
- 35 minutes ago
- 4 hours ago