Jump to content

v11 translator notes


Recommended Posts

I finally got around to fixing the area of effect listings for spells, so there's about 15 new strings in the form of spell descriptions in the tra files. About 90% of AoE spells use a 15-foot radius for their effects regardless of what the spell claims. Area of effect listed as 40' cube? 20-foot radius? 47-foot dodecahedron centered on Noober? Nope, they're all 15-foot radius. Those 15 new strings are the bad news, but luckily you can copy most of them from your original language and hopefully just make a few adjustments.

 

The good news is that about 80% of them could be done with automated search-and-replace, so there's only two new strings for the remaining 70 or so (those 15 above also mention their AoE in the meat of the spell description, hence they couldn't be automated). The same treatment has been done for the other big sets of description changes, item weights, weapon speeds, and THAC0, so that we won't have to keep dropping in big translation strings for each tiny change. The other bit of good news is that the translations are now a lot more flexible, i.e. if we ever needed a string fix for just one language, Fixpack is now set up to do that with a minimum of effort. You can also drop in incomplete or in-progress tra files and Fixpack should be fine. Basically, Fixpack will now check your language's tra file to see if a translated string is present before using it in a STRING_SET.

 

Now, for those fancy new automated search-and-replaces on the strings. These unfortunately require that we use regular expressions in the translation files, e.g.

 

 

@30 = ~^\( *Speed Factor:? *\)[0-9]+~
 @31 = ~^\( *Weight:? *\)[0-9]+~
 @32 = ~^\( *THAC[0O]:? *\+? *\)[0-9]+\( *[Bb]onus\)?~
...
 @34 = ~^\( *[Aa]rea\( +[Oo]f +[Ee]ffect\)? *:? *\).+$~

 

If you're familiar with regexp, these will make perfect sense. If you're not, I will happily help you come up with translations here--basically, I would need a few item and spell descriptions to get an idea of how your particular language lists the basic properties.

Link to comment

Archived

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

×
×
  • Create New...