Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[FIXED]localizations
#1
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


Attached Files Thumbnail(s)
   
Reply
#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
#3
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/


Attached Files
.sheet   MainMenu.sheet (Size: 129.45 KB / Downloads: 445)
"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
#4
many thanks, I will get with the translation then, I hope to help in the futureWink
Reply
#5
the archive of main menusheet not work with beta 1.01 please help me to use the archive of 1.01, thanks
Reply
#6
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


Attached Files
.sheet   MainMenu.sheet (Size: 136.21 KB / Downloads: 413)
"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


Forum Jump:


Users browsing this thread: 1 Guest(s)