Jump to content

New mod for EU languages needing unsupported latin characters


WrathOf
 Share

Recommended Posts

Yes, a shameless plug for my new mod! :biggrin-new:With the new forum layout, I want to make sure new modders see this if they are interested in translating the game to a language with accent characters not currently supported by the game.Allows the following latin characters to be seen in the game interface: À à Á á Â â Ã ã Ä ä Å å È è É é Ê ê Ë ë Ì ì Í í Î î Ï ï Ò ò Ó ó Ô ô Õ õ Ö ö Ù ù Ú ú Û û Ü ü Ý ý ÿ Æ æ Ç ç Ñ ñ Ð Þ ß ð þAlternate Fonts Mod for EU Languages -- v1.0New language translation modders should also start their work with this template to make it easier for everyone to use.Language Mod Template -- v1.1Thanks for all your hard work translators!Now everyone world wide can be addicted to Don't Starve! :victorious:

Link to comment
Share on other sites

You must add "ş, ğ, ı, İ, Ğ". Because, I'm translating to Turkish :)Edit: why this is not old font?

He had to change the font because the original one does not support letters not used in english.But it does not look to bad, it is only on the menus it's a bit weird;But in game it is fine.
Link to comment
Share on other sites

[MENTION=825]piotrus2000[/MENTION] & [MENTION=10526]Mavroniki[/MENTION]Sadly, not at this time. :-(We need support for unicode/utf-8 in order to encode those letters and a game font with them defined.Lua (the programming language used for the game) is ANSI based and does not contain those letters.Hopefully this can be addressed in the future.EDIT: [MENTION=10526]Mavroniki[/MENTION]My template said European languages....Turkey is not in the EU yet! :D [MENTION=9585]Alvhem[/MENTION]Yeah, I never could figure out why the button text looks so bold. Decided it must have to do with the scaling and or how the executable handles it or something.

Edited by WrathOf
Link to comment
Share on other sites

I should have clarified something....I am just trying get better support for the "Western" codepage, not the "Central European", "Turkish", etc ones. I am not sure how that needs to be handled between the lua script files, compiling them, managing the fonts and setting the active fron/text codepage through the main executable of the game.All of that will need to be handled by someone at a higher pay grade! :D

Link to comment
Share on other sites

If you mean the button text size, I added a variable to control this and set it to 30 which felt right for english.In your language translation file you can add the following line and adjust the value as needed...BUTTONTEXTSIZE_ALT = 30The game default is 40 and I adjust the text scale relative to that using the above value in order to handle the game's requests for smaller or bigger text than the default.Also, to everyone using this mod.....Make sure that your language file is listed *AFTER* the mod in the language.lua file so you can override any settings I setup such as the above, i.e.-- Load Alternate Font modrequire("mods/mod_AlternativeFonts")--Load Language modrequire("mods/languages/mylanguage")

Link to comment
Share on other sites

[MENTION=8]Kevin[/MENTION]Ok, so I still can't seem to extract a usable png of the artistic font so I can try to at least manually add the missing characters for the western code page. I am losing the alpha channel when using nVidia's readdxt to get a tga file which is corrupting the letter outlines.Is there any way I could get an original copy of the "belisaplumilla50_0.png" and "belisaplumilla100_0.png" files? PM a link to them if you prefer. Thanks!

Link to comment
Share on other sites

To All Translators Needing Latin Accent Characters Not Supported By The Game

I have finished updating my Alternate Fonts mod for the Winter Update. Please download the new version here:

http://forums.kleientertainment.com/downloads.php?do=file&id=17

Report any problems you encounter here:

http://forums.kleientertainment.com/showthread.php?10491-Alternate-Fonts-Mod-for-EU-Languages-v1-1-WINTER-UPDATE

Thanks!

Link to comment
Share on other sites

Really sorry to revive an old thread, but the download/mod links are broken and so are the links to the other threads! Additionally, the letters I need for a translation (ĝ ĥ ĵ ĉ ŝ) aren't in there.

 

So I was thinking, can you simply make a tutorial explaining how you added the extra characters in? Because that way in the future you don't even need to update the mod, you can just have people put in characters themselves if they need them.

 

I've tried to look at other threads discussing the problem but no one wrote how they actually fixed it - is it simply that the existing in-game font doesn't have the characters in it, and that's all? I mean, all you have to do is add the characters to the font itself with a font editor? Or is there a bigger problem?

Edited by marbuljon
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...