Prev Previous Post   Next Post Next
Old 2nd Jun 2005, 12:10 PM   #1
Ravu al Hemio
Comes, fixes, leaves.
 
Ravu al Hemio's Avatar
 
Join Date: Sep. 1st, 2004
Location: Austria
Posts: 178
I18n (Internationalisation)

Hello UTXMP developers and community,

I am new to UTXMP even though I do hang around in the BU forums from time to time. First, I would like to thank Free Monkey for reviving U2XMP in such high quality -- well done there! I somehow prefer it over Onslaught, since it has more items and more tactics.

I decided to have a go at a German translation (ucc dumpint being a loyal friend), and I am far enough. Unfortunately, some of the strings are forced-English. An example is XMP.XMPHackTrigger. GetDescription is simply full of hardcoded English strings. A suggested fix:

PHP Code:
// Declaration area, modify line 33 (Beta1a code):
var() localized string Description;

// Add (into new section delimited by '======='?)
var localized string HackingOwnedHackingStatusPreHackingStatusPost;

// Modify GetDescription like so:
simulated function string GetDescriptionController User )
{
        
local string Str;

        if( 
bUsable )
        {
                if( 
Description != "" )
                        
Str Description ":";

                if( 
User.GetTeamNum() == Team )
                        
Str Str HackingOwned;
                else
                        
Str Str HackingStatusPre GetTeamProgress(User) * 100.0 HackingStatusPost;
        }

        return 
Str;
}

// Add to DefaultProperties:
     
HackingOwned="Owned"
     
HackingStatusPre="Hack:"
     
HackingStatusPost="%" 
(Even though the box says it, it ain't PHP code. But colour-coding makes it more readable, doesn't it?)

Another problem are the HUD image file strings (e.g. Player Score), since they can't be translated without more playing around. I opt for a conversion of these characters into a font and writing out the HUD strings manually.

I might add to this thread later on.

Keep up the good work!
__________________
AKA [~ANT~]B!7ch and OndraH.

Check out my wiki profile page for information about my UnWheel Big Air Timed mod and a way of porting UT2003 announcers into UT2004.
I have also written a tutorial on making announcer voice packages for Jailbreak.
Ravu al Hemio is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:47 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer