Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Quick Reply
Search this Thread
Test Subject
Original Poster
#1 Old 23rd Apr 2023 at 1:18 PM
Default S3SE - How to change text strings based on a sim's gender?
I want to translate a mod to Polish. In case you didn't know, the Polish language contains a crapton of unnecessary gentrification of words. For example:
The sentence "Adam saw a deer" translates to "Adam zobaczył jelenia", but the sentence "Julia saw a deer" translates to "Julia zobaczyła jelenia".
So if I wanted to translate this sentence in S3SE, I'd have to have a way to change zobaczył to zobaczyła based on the sims gender. How do I do that?
Advertisement
Instructor
#2 Old 24th Apr 2023 at 1:02 AM
EA's own strings come in pairs for this and probably point between them in the code itself.
In Localized Coding however, {MA.} and {FA.} are used to define Male Actor and Female Actor. With the gendered term going inside the braces after the point.
Like so: {MA.zobaczył}{FA.zobaczyła}

I don't know if this works without being defined in script first, though. Worth testing.
Back to top