Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[FIXED]localizations
#2
We'll be having an official Spanish translation for retail release.

To add in your localization you'll need to add it to the combo box in the menu.


Go into the install directory, then /media/guisheets/
Open MainMenu.sheet with a text editor.

Look for

Code:
ListTextItem List_Lang_English
                        {
                            AllottedWidth 0
                            DefaultColor 0 0 0 1
                            DefaultFont micross.12
                            HorizontalTextAlignment TEXT_ALIGNMENT_HORIZONTAL_LEFT
                            Index 0
                            Selected false
                            TextBrushFilterMode BRUSHFILTER_LINEAR
                            VerticalLineSpacing 2
                            VerticalTextAlignment TEXT_ALIGNMENT_VERTICAL_CENTER

                            Text segments
                            {
                                Segment0 micross.12 1 0 0 0 English
                            }

                            Child Widgets
                            {
                            }

                        }


should start on line 3912

under it you're going to add:

Code:
ListTextItem List_Lang_Spainish
                        {
                            AllottedWidth 0
                            DefaultColor 0 0 0 1
                            DefaultFont micross.12
                            HorizontalTextAlignment TEXT_ALIGNMENT_HORIZONTAL_LEFT
                            Index 1
                            Selected false
                            TextBrushFilterMode BRUSHFILTER_LINEAR
                            VerticalLineSpacing 2
                            VerticalTextAlignment TEXT_ALIGNMENT_VERTICAL_CENTER

                            Text segments
                            {
                                Segment0 micross.12 1 0 0 0 Spainish
                            }

                            Child Widgets
                            {
                            }

                        }

The last word on this line "Segment0 micross.12 1 0 0 0 Spainish" has to be the file name without the .xml of your localization.

If you have any more questions feel free to ask Smile
"great writers are indecent people, they live unfairly, saving the best part for paper.
good human beings save the world, so that bastards like me can keep creating art, become immortal.
if you read this after I am dead it means I made it." ― Charles Bukowski
Reply


Messages In This Thread
[FIXED]localizations - by dewasha - 03-28-2013, 01:44 PM
RE: localizations - by Eric.B - 03-28-2013, 02:02 PM
RE: localizations - by Eric.B - 03-28-2013, 03:22 PM
RE: localizations - by dewasha - 03-28-2013, 04:03 PM
RE: localizations - by dewasha - 04-22-2013, 04:01 AM
RE: localizations - by Eric.B - 04-22-2013, 08:13 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)