I'm looking into translating game into Russian.
Two issues here:
1. Fonts. Looks like game uses TTF fonts without international
characters. Nasty, but solvable: new fonts can be included in MOD file
along with text.
2. Character encoding. events.xml header states it's encoded using
"utf-8". I tried to create sample mod with UTF-8-encoded Russian bits in it (
with fonts that include those characters, and with default ones), and it's not handled
properly: attached image should read "И ещё маленечко...", but instead
it looks like multibyte Cyrillic characters were treated as 8-bit
latin-1 characters (making string twice as long). Common error, but
fixing this without developer help is almost impossible...
Any chance with non-ASCII mod content [translations]?
-
- Posts: 2
- Joined: Sat Jan 05, 2013 5:35 pm
-
- Posts: 21
- Joined: Sun Jan 06, 2013 2:36 pm
Re: Any chance with non-ASCII mod content [translations]?
Although it states it uses UTF-8, between the xml file and the API call used to draw the text the UTF-8 is converted to ANSI, as you've stated without help from Devs current version of FTL wont work/support UTF-8 text.
Additionally its not possible to patch the ftl.exe either, it would require the devs to do something. sorry cant be of help here.
Additionally its not possible to patch the ftl.exe either, it would require the devs to do something. sorry cant be of help here.
[Tool] FTL-Dat ~ Win/OSX/Nix Supported.
Current WIP: FTL Engine - JAVA Implementation | FTL-Dat
Current WIP: FTL Engine - JAVA Implementation | FTL-Dat
-
- Posts: 173
- Joined: Thu Nov 08, 2012 10:11 am
Re: Any chance with non-ASCII mod content [translations]?
there's no way to print cyrillics in the game. Шарк didn't work for me either.
Roses are #FF0000
Violets are #0000FF
All of our mods
are belong to you.
Violets are #0000FF
All of our mods
are belong to you.