Page 1 of 1

Tooltip Localization

Posted: 17 Aug 2007, 02:08
by trepan
A fellow going by the nick "]SDF[Makhoaay" asked for some localization advice
in the lobby #moddev channel, so I told him I'd write a modified gui_tooltip.lua
to show localized info for units if he wrote the french translations. He wrote a few
translations, so here's the widget...

http://trepan.bzflag.bz/spring/gui_tooltip_l10n.zip

It would be nice to write a more general localization interface at some point.
It's a real pain to do, but nice for the non-english players.

Posted: 17 Aug 2007, 09:33
by Tobi
There's also a bug open in mantis to make Spring unicode aware.

Even more pain to do but the result in combination with localization would be even nicer :-)

Posted: 17 Aug 2007, 14:37
by trepan
I'd forgotten that I have my FontCharLast set to 255. This is required to
see the french accented characters. You can edit your ~/.springrc or use
regedit to change the value.

Posted: 19 Aug 2007, 16:54
by trepan
A .reg file from ]SDF[Makhoaay to set FontCharLast:
http://makhoaay.googlepages.com/Accents ... Spring.reg

Re: Tooltip Localization

Posted: 15 Jan 2009, 03:11
by zwzsg
Can I have that lua file? Looks like the exemple I'd need to learn how to mod the tooltip.