Visual Entertainment and Technologies Forum

Full Version: [FIXED]localizations
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i work in the translation to spanish of texts but not change in the settings please add suport of other languages

only appear the english language

the archives
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
I went ahead and did it for you. Work is a little slow today.

Just overwrite the same file in your install directory /media/GuiSheets/
many thanks, I will get with the translation then, I hope to help in the futureWink
the archive of main menusheet not work with beta 1.01 please help me to use the archive of 1.01, thanks
Almost every update will have some changes to the sheet files. I advise you to learn from what I posted above. Then you can then fix the mainmenu.sheet file on your own. Smile