Jump to content

Internationalization and GUI modding


Recommended Posts

Posted (edited)

I'm trying to find how to provide translations for UI mods.

Internationalization seems to rely on some L_xx_YY.lua files, from what I've seen. But the "UI modding" tutorials i've seen don't seem to touch the subject of i18n. Well those don't rely on weidu anyway.

The UI mods I've seen seem to either rely entirely on existing strings in dialog.tlk, or modifying exiting strings in dialog.tlk, or not being translated/translatable. I've not yet found example to _add_ strings.

Is there a supported way in weidu to provide translation for GUI mods? A predefined function? Have anybody actually ever done it?

 

I'm guessing you'd have to extend the L_.lua files with new constants and use them in the new code .lua, but must it be done by hand?

Edited by mickabouille

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...