Jump to content

Translate IWDification? Here's 90% of it done!


CamDawg

Recommended Posts

I've kept the original post below, but this tool is now moot. Starting with RC1, when we pull in the IWDEE resources for the various spells and bard songs, we now also pull the current IWDEE strings for them as well--in every language. While the current release is officially English and French, you'll notice that there are tra files for all 10 supported IWDEE languages in the imported resources (iwdification\dw_iwdspells_resource\tra). While there is still further translation needed, the imported tra files represent the bulk of translation needed for the mod, and you may be able to further reduce this if SCS is translated. From my translator notes in setup.tra:

Quote

 

There are three tra files in this directory. This setup.tra file contains only strings used by WeiDU for installation. It's in UTF-8 and does not get converted. The other two are for strings that will actually make it into the game, with game_strings_ee overriding game_strings on EE games. game_strings will get converted to UTF-8 only on EE games. Since game_strings_ee will only be used on EE games, it is in UTF-8 already and will not be converted.

In addition to this folder, there are another four tra files used only for the new spells and bard songs, located in iwdification/dw_iwdspells_resource/tra. The good news is that the largest one, iwdspells.tra, is automatically generated when we pull resources from IWDEE. While dw_iwdspells_bard.tra is new, it's also short. The other two are from SCS so you may be able to use an existing translation from there.

In the main, automatically generated iwdspells.tra, one manual change is required: in string @218, Cause Disease is an Abjuration, not Necromancy, and its sphere is Necromantic, not Healing. The rest of the file should already be pulled directly from your language on IWDEE and should not need translation, though you're welcome to look it over if you wish.

 

Original post follows.

_____________________________
Since most of the strings for IWDification are pulled directly from IWDEE, I wrote a small tool that anyone can run on their language of IWDEE and generate the majority of the main tra file.

Extract this on your IWDEE install, make sure the game language is set to the translation you want, run it, and then uninstall it.

It will generate game_strings.tra and game_strings_ee.tra inside the iwdification_translate folder. From there, you have about ~20 strings to translate for game_strings (many of which can be copied from elsewhere, as noted in the generated file), ~5 for game_strings_ee, and ~8 strings for the whole of setup.tra to finish the translation.

edit: updated to v2, thanks to some bug reports from Gwendolyne.

Edited by CamDawg
Link to comment
On 1/10/2018 at 1:50 PM, CamDawg said:

In the main, automatically generated iwdspells.tra, one manual change is required: in string @218, Cause Disease is an Abjuration, not Necromancy, and its sphere is Necromantic, not Healing.

Just noticed this - it might be a good idea to make that change manually in the postproduction rather than editing the autogenerated tra file. I'm concerned that the edit might get lost next time we run the autoconverter (e.g. to get a FP'd or 2.7 version of the IWDEE spells).

Link to comment
On 1/10/2018 at 7:50 PM, CamDawg said:

In the main, automatically generated iwdspells.tra, one manual change is required: in string @218, Cause Disease is an Abjuration, not Necromancy, and its sphere is Necromantic, not Healing. The rest of the file should already be pulled directly from your language on IWDEE and should not need translation, though you're welcome to look it over if you wish.

Oh, I didn't notice that.

I fixed it: Spanish translation files

Link to comment

French Translation

Hello

💣 I didn't use your tool since I don't have IWDEE, the BG2EE strings are supposedly right, but the IWDEE ones are almost certainly wrong, it didn't cause any issues but should be modified to be consistent with IWDEE💣

It should work, but it's the first time I look at the mod so maybe I've missed some things. I don't know if this is normal but when I use it with BGEE the class description (Bard,Paladin,Rogue) is not modified. It works fine with BG2EE however. Also does the Paladin special Protect From Evil last for 24 hours or 24 turns ? There's inconsistency between README and the game_string.tra I believe. And finally  I couldn't remove the "This ability replaces the current Bard Song." in the HLA description, even though I used the 3 possible french strings, I have no idea why.

@Gwendolyne  I didn't manage to get the "Create Boneguard" spell so I couldn't test it but I've modified the name you chose ("squelette de garde" to "gardien squelettique") for no reason basically. It may be a mistake so feel free to tell me I can revert it back. I've also touched the "Conjuration d'un élémentaire" (notably "Conjuration d'un élémentaire de l'eau") to be consistent with the other spell description I had in game.

 

Anyway, thanks for your mod it's awesome and thanks to the translators.

 

edit1: "Gardien squelettique" from dw_iwdspells.tra and spells_copied.tra have been reverted back to "Squelette de garde" (consistent with IWDEE)

Edited by Scylla
Link to comment

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...