|
Post by daemonxhun on Oct 7, 2017 5:35:26 GMT
I started make a hungarian localization for the game just for fun. I placed it's txt file in the language folder. Unfortunately though the game only detects the 4 base language (english, french, italian, spanish). Is there a file where I need to add a route to the new language file in order for the game to detect it?
Obviously if I replace another language file with my language file, it works. Also: the word "random" is "véletlenszerű" in hungarian. But if I translate it, the game doesn't display the last letter (ű). Is it because this letter isn't supported, or is it because the game can only display a set amount of letters?
|
|
|
Post by djlastnight on Oct 11, 2017 6:26:03 GMT
I started make a hungarian localization for the game just for fun. I placed it's txt file in the language folder. Unfortunately though the game only detects the 4 base language (english, french, italian, spanish). Is there a file where I need to add a route to the new language file in order for the game to detect it? Obviously if I replace another language file with my language file, it works. Also: the word "random" is "véletlenszerű" in hungarian. But if I translate it, the game doesn't display the last letter (ű). Is it because this letter isn't supported, or is it because the game can only display a set amount of letters? Hi. Unfortunately only the devs can add new language support. Full language support includes adding a new language file and modifying theme files (the theme system uses specific language tags like <spanish> in example). Due to the theme system does not know what <hungarian> is, you have to modify some of the already supported language files (until the devs adds hungarian support). The game uses special font system. It uses *.png file for each letter (small or capital) or symbol. The default font is located here: .\Phase Shift\data\fonts\default. It's a kind of 'global' font (any theme can use it). Note that each theme can provide its own fonts. The *.png filename must equal the unicode character number (decimal number, not a hexadecimal). You can see this numbers here: unicode-table.com/en/#0170In this website the decimal number is called 'HTML-code' (remove the leading ''). All you have to do is to add new *.png file for every character that you want to support. Do this for all the fonts used by the desired theme. Example: Ű must be named 368.png ű must be named 369.png Hope this helps.
|
|