WaxenFigure Posted October 15, 2013 Posted October 15, 2013 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?
Ashal Posted October 15, 2013 Posted October 15, 2013 I'm not aware of any defect with notifications, I use Debug.Notification("$TranslatedText") in lots of places with no problem.
WaxenFigure Posted October 15, 2013 Author Posted October 15, 2013 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.
Arizona_Steve Posted October 17, 2013 Posted October 17, 2013 I also have the same issue and have been scouring the internet trying to solve it without success. I'll shoot a message to the SKSE guys to see if they have anything.
Goubo Posted October 20, 2013 Posted October 20, 2013 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.
jbezorg Posted October 20, 2013 Posted October 20, 2013 This is the info I have. https://github.com/schlangster/skyui/issues/46#issuecomment-15014224
Goubo Posted October 21, 2013 Posted October 21, 2013 This is the info I have. https://github.com/schlangster/skyui/issues/46#issuecomment-15014224 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?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.