Announcement

Collapse

The Infinity Blade Forums Have Moved

We've launched brand new Infinity Blade forums with improved features and revamped layout. We've also included a complete archive of the previous posts. Come check out the new Infinity Blade forums.
See more
See less

Language Localization

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Comment


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

      Comment


      • #4
        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.

        Comment


        • #5
          Keep in mind that ".int" is for the international/english version.
          German requires .GER
          Spanish requires .ESP
          etc.
          Just look at the official translations ...

          Comment


          • #6
            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

            Comment

            Working...
            X