Floppy Heroes 2: Translation Creation Guide

This guide details how to create and share translations of the game text.

 

Creating the file

  1. Navigate to the following folder: “…\Steam\steamapps\common\Floppy Heroes 2\Languages”
  2. Create a copy of “Translation Template.json” and re-name it to whatever you want. (Note: Do NOT modify “Translation Template.json” itself, as the file is overwritten whenever the game is launched, and you will lose your work)
  3. Open your newly-created file in your text editor of choice (ie. Notepad, Sublime Text, etc.)
  4. Change languageName from “Translation Template” to what you want the language to show up as in-game.
  5. Change author from “Example” to however you want to be credited.

The file is now ready to be translated, which will be explained in the following section.

Translating the file

The game text is stored as a list of key-value pairs. This means the text on the left-hand side is what the game uses to look up the text to be displayed, and the text on the right-hand side is the text that will be displayed. This means that when translating, you should ONLY modify the text on the right-hand side.
For example if you were translating the game to French, then:

“<MainMenu_PlayButton_Tooltip>”: “Play the game”

should be changed to something like:

“<MainMenu_PlayButton_Tooltip>”: “Jouer le jeu”

Here are some symbols you may see in the text, as well as their meanings:

  • \n – Newline character. Any following text will appear on a new line.
  • \” – Quotation mark symbol.
  • <b></b> – Bold tags. Any text in between the tags will appear bolded.
  • {0} – Used by the game to insert dynamic values (ie. player number, current team color, etc.)

Uploading the file to Steam Workshop

  1. Launch Floppy Heroes 2.
  2. On the main menu, open Settings and go to the Language tab.
  3. Select your translation from the dropdown list so that’s it’s the currently-used language.
  4. Click on “Upload Translation To Workshop”.
  5. Ensure that you’ve recently accepted the Steam Workshop terms of service.
  6. Click on “Upload Translation To Steam Workshop” and wait a few seconds.
  7. If there were no issues uploading your file, a window should appear displaying the Steam Workshop page.
  8. You’re done!

By Rimply

Related Posts:

Post Author: Robins Chew