11-27-2010, 04:37 AM,
|
|
asasinuxp
Member
|
Posts: 91
Threads: 11
Joined: Nov 2010
|
|
Multilanguage
It the future it will be a diferent folder diferent from skins,where it will be the language files?When you(developers) it will make a new folder only for language files,I can make a translation in Romanian.
|
|
11-27-2010, 06:55 AM,
|
|
Thib25
Junior Member
|
Posts: 10
Threads: 2
Joined: Feb 2010
|
|
I can make a translation in French .
|
|
11-27-2010, 07:38 AM,
|
|
asasinuxp
Member
|
Posts: 91
Threads: 11
Joined: Nov 2010
|
|
So we have at least 3 new language(Romanian,French+Spanish from another topic).
|
|
11-27-2010, 09:42 AM,
|
|
nomoo
Member
|
Posts: 111
Threads: 15
Joined: Mar 2007
|
|
+1, Russian
|
|
11-27-2010, 10:58 AM,
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
I've added a languages directory to skins/simple. The file "german" contains all gui strings, some of them translated. Use it as a template. Leave out the strings you don't want to translate.
Code: ABS Toggle = ABS Schalter
Add = Hinzufügen
Add an opponent to race against (max 3). = Füge einen Gegner hinzu (Max: 3).
Advanced = Erweitert
Advanced Display Options = Erweiterte Darstellungsoptionen
We need to choose an encoding Windows-125. or ISO-8859, I would like to avoid having to mess with UTF. Another problem is to create font textures and info(see skins/simple/fonts) according to the encoding. I hope there is a script or something.
|
|
11-30-2010, 04:16 PM,
|
|
Thib25
Junior Member
|
Posts: 10
Threads: 2
Joined: Feb 2010
|
|
OK, thanks :wink: . I started to translate the game in French.
|
|
12-01-2010, 08:44 AM,
|
|
asasinuxp
Member
|
Posts: 91
Threads: 11
Joined: Nov 2010
|
|
In a few days will come the Romanian translation.
|
|
12-04-2010, 06:56 PM,
|
|
joevenzon
Administrator
|
Posts: 2,679
Threads: 52
Joined: Jun 2005
|
|
The VDrift-tracked/fontgen tool isn't used anymore, the fonts use a signed distance field rendering method. The fonts are generated with lonesock's SDFont tool. I checked in the tool to VDrift-tracked/SDFont; license is MIT. I think I processed these in the gimp to set the color component to all-white; to do this open the output in the gimp, turn on the alpha channel lock, and then fill with white.
Also, for the non-shader rendering path, the signed distance field fonts need to be converted to non-signed-distance fields, which is easy: just open the file in gimp, do "colors->curves" and make it look like a step function (well, slightly shallower than a step curve) centered in the middle of the graph; make sure you apply that to the alpha channel.
|
|
|