Heroes of Hammerwatch II

Heroes of Hammerwatch II

View Stats:
 This topic has been pinned, so it's probably important
Myran  [developer] Jan 25 @ 5:49pm
Game translation
To upload your language to the workshop, you open the PACKAGER.exe found in the game folder, right click your language and select package language.

This will pack together all your language files into one large one. When you have that select the "Steam Workshop manager" from the toolbar and go to the "Upload new" tab.

Fill in the file, image and texts and press the Upload button. You might get a prompt to approve the Steam Workshop license if it's your first upload.

https://imgur.com/a/j18UxwJ


When making a translation one of your .lang files should have some extra information about the name of your language, note that this name will be presented to users in a font with a limited character set at first, so using only unicode letter in the language name means it shows up as blank.

There are more options you can add to your language file than just the name, specifically how it handles fonts, there are the following options:

  • name: Just the name of the language as presented in the UI.
  • min-size: A number specifying the smallest font size your language can be rendered in, so it is possible to enlargen fonts if needed.
  • max-bold: A number limiting if fonts can be emboldened, some languages will need to set this to 0, for example chinese will probably not be readable with automatic boldening of some characters.
  • use-autohint: A true/false value for enabling a autohinting setting in the font renderer, this is defaulted to false, but might help readability.
  • fonts: This picks a font set to use for the game, currently this can be blank, "cyrillic" or "unicode". The "cyrillic" option uses the default fonts except for the smallest font which only contains latin characters which is then replaced by a unicode font. The "unicode" option uses a font with "full" unicode support everywhere.

So for example
<lang name="Chinese" max-bold="0" fonts="unicode">
Last edited by Myran; Jan 25 @ 6:13pm