Jump to content

Translation


Recommended Posts

I think you just put it in fonts folder and name it, for exaple: opensans50__german.zip, then:

Translator().defaultlang = german

But your font needs to be in zip, and it should be done as font.tex(texture) and font.fnt(atlas).

 

Info what font is for what:

Spoiler

DEFAULTFONT = "opensans"
DIALOGFONT = "opensans"
TITLEFONT = "bp100"
UIFONT = "bp50"
BUTTONFONT="buttonfont"
NUMBERFONT = "stint-ucr"
TALKINGFONT = "talkingfont"
TALKINGFONT_WATHGRITHR = "talkingfont_wathgrithr"
TALKINGFONT_WORMWOOD = "talkingfont_wormwood"
SMALLNUMBERFONT = "stint-small"
BODYTEXTFONT = "stint-ucr"

FONTS = {
    { filename = "fonts/talkingfont"..font_posfix..".zip", alias = "talkingfont" },
    { filename = "fonts/talkingfont_wathgrithr.zip", alias = "talkingfont_wathgrithr" },
    { filename = "fonts/talkingfont_wormwood.zip", alias = "talkingfont_wormwood" },
    { filename = "fonts/stint-ucr50"..font_posfix..".zip", alias = "stint-ucr" },
    { filename = "fonts/stint-ucr20"..font_posfix..".zip", alias = "stint-small" },
    { filename = "fonts/opensans50"..font_posfix..".zip", alias = "opensans" },
    { filename = "fonts/belisaplumilla50"..font_posfix..".zip", alias = "bp50" },
    { filename = "fonts/belisaplumilla100"..font_posfix..".zip", alias = "bp100" },	
    { filename = "fonts/buttonfont"..font_posfix..".zip", alias = "buttonfont" },
}

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...