Jump to content

Skyrim - Making a mod so it can be translated (localized)


WaxenFigure

Recommended Posts

Posted

Ok I have learned a lot about making the text in my mod translatable by using the SkyUI tools.

 

I have replaced dialog texts with $ prefixed dialog names and created the translation file where those dialog names are entered followed by a tab and then the translation.

 

I have created a MCM menu using $ prefixed names in place of all the text and added those to the translation file.

 

I have saved the translation file using the UCS-2 Little Endian encoding as required and it all works just fine so far.

 

One problem area remains though, my mod uses "debug.notification" to seamlessly inform the player about events happening but that particular function seems to be immune to translation.

 

Has anyone overcome that defect yet? Please share if you have. Otherwise, does anyone have any suggestions of things I could try or alternatives to debug.notification?

Posted

I'm not aware of any defect with notifications, I use Debug.Notification("$TranslatedText") in lots of places with no problem.

Posted

I'm not aware of any defect with notifications, I use Debug.Notification("$TranslatedText") in lots of places with no problem.

I didn't describe it quite right, I need to do something like this:

 

debug.notification("Some Text" + actorname + " more text ")

 

doing this doesn't work:

 

debug.notification("$varname1" + actorname + "$varname2")

 

and this doesn't seem to come out either:

 

debug.notification("$varname{" + actorname + "}moreofvarname")

 

I see the last form used in some mods but with dialogs, not the debug.notification.

Posted

The only way I found to display names in messages form (translatable in the esp) is this and I believe this is the only way for now... 

 

But it can become laborious for NPCs names cause the NPC needs to be in an alias first.

Posted

 

Does not seems to work either with notifications. Only for MCM menu I guess.

 

Tried:

 

translation file:

 

$Does this name: {} appears? Does this name: {} appears?

 

Code:

 

Debug.Notification("$Does this name: {"+Target.GetBaseObject().GetName()+"} appears?")

Result in game (Lydia for example):

 

 

$Does this name: {Lydia} appears?

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...