Results 1 to 6 of 6
  1. #1
    Iron Guard
    Join Date
    Sep 2007
    Location
    Adelaide, South Australia
    Posts
    550

    Default Language Localization

    Anyone know how the Language Localization works?

    I like to avoid hard coding strings into my mod, in the odd chance that someone translates it.

  2. #2
    MSgt. Shooter Person
    Join Date
    Oct 2007
    Posts
    167

    Default

    You can use Localize( "YourSection", "YourVariable", "YourFile" ) this returns your localized string. You will have to place "YourFile.int" into
    C:\Program Files\Unreal Tournament 3\UTGame\Localization\[language dir]\

    YourFile.int would look like
    [YourSection]
    YourVariable=Hello!

    I am not sure if these language files get downloaded if you place it on a server, i doubt it tbh.

    You can always put string into your mutator config file if you define the variable as
    var config string Varname

  3. #3
    Iron Guard
    Join Date
    Sep 2007
    Location
    Adelaide, South Australia
    Posts
    550

    Default

    I suppose what I should have said was that I was wondering specifically about the whole DataStore thing.

  4. #4
    Iron Guard
    Join Date
    Sep 2007
    Location
    Adelaide, South Australia
    Posts
    550

    Default

    One of the issues I was having with localization was in the UI Editor. I assumed that the Data Browser stored all it's strings in INT files, however it was not working. I just tried placing my UI INT file in the game folder instead of the My Games area. This fixed the problem, although it would be nice if I could use the My Games area. Most likely a bug.

  5. #5
    Iron Guard
    Join Date
    Aug 2006
    Location
    The Netherlands
    Posts
    547
    Gamer IDs

    Gamertag: Dutch JaFO

    Default

    Keep in mind that ".int" is for the international/english version.
    German requires .GER
    Spanish requires .ESP
    etc.
    Just look at the official translations ...
    Q : Why ask Epic, when we can mutate the hell out of this game ?
    A : Because we need their help for the low-level stuff like a way to change the voicepacks for characters ...

    And to everything else "Less Whining, more Fragging and Mutating"

  6. #6
    Iron Guard
    Join Date
    Sep 2007
    Location
    Adelaide, South Australia
    Posts
    550

    Default

    Keep in mind that ".int" is for the international/english version.
    German requires .GER
    Spanish requires .ESP
    etc.
    Just look at the official translations ...
    Thus the reason why I am editing an ".INT" file


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.