Jump to content

Recommended Posts

Hello.

I have an issue while trying to get the function GLOBAL.MakeAllSuffixes() working in my translation mod.

It works when I use it alone in modmain, but it doesn't when I load the main translation with LoadPOFile("*.po", "lang")

I can think of three possibilities:

  1. The function is not intended to work with .po translations.
  2. The function is intended to work with .po translations, but there is some bug preventing it to do so.
  3. I'm doing it wrong, or missing some code in my modmain.

I don't think #1 is true, because I remember the devs implemented this function in order to help translators. So, either #2 or #3 are the answers.

It is not trivial for most modders/skilled users to mess with .po files, so I understand that most people don't have time to test it on their side.

Anyways, I count on someone to help me with a confirmation about this issue if possible. This way I can do the right thing, being it to work correctly in my own code(which are only 2 lines at the moment) or asking to move this post to the Bugs Thread if it is indeed a bug.

I posted it a long time ago with no answer, but by that time I didn't realized the function would work without loading the .po file. Thanks to @Muche for helping me with a couple tests on his side some time ago.

Thanks in advance.

Link to comment
https://forums.kleientertainment.com/forums/topic/71641-suffixed-adjectives/
Share on other sites

On 8/6/2020 at 3:34 AM, TheTioSweet said:

I'm sorry for necrobumping this topic, but I want to do the same and can't get that function to work, especially with the WET_PREFIX.RABBITHOLE (Collapsed) string. It still shows at a prefix instead of a suffix. 

As you can see this is something that never got attention, four years have passed and I still can't get the function to work.

14 hours ago, penguin0616 said:

Did it leave any logs for you?

I'm not much into the game anymore, but iirc the function simply fails to work while loading a .po file and give no traces at log.

I remember it worked without loading a .po file tho.

There is a lua script developed years ago by the user simplex which does the job with adjectives, only thing is the game crash if you hover the mouse over an wet stalagmite at caves while using the script.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...