Skip to content

How to help translate

Pokechu22 edited this page Jan 11, 2016 · 6 revisions

As of 1.8d, World Downloader supports foreign language translations. However, most languages don't have any translations yet. This article explains how to submit translations.

Creating translations

To get started with translating, you'll need to grab the current translation from this folder. Open one of those files (most likely, you'll want en_US.lang), then right-click on the "raw" button and select "Save target as".

Rename this file to another one of the valid language file names, and then start translating!

At the top of the language file is an introduction to the syntax used. Basically, %s or %d is a peice of text that is later inserted - it will automatically be replaced as needed (either from something you translate later, or with a number, or with something that's already translated in normal Minecraft), and %n is a new line.

Testing translations

It's relatively easy to test a translation, since it's based off of a separate file. You only need to create a resource pack and load that in game.

  1. Launch Minecraft
  2. Select options
  3. Select "Resource packs"
  4. Select "Open resource pack folder".
  5. In that folder, create a new folder, named World Downloader Translation Test.
  6. In the folder you just created, make a file named pack.mcmeta. Open that file and paste in the following:
    {
        "pack":{
            "pack_format":1,
            "description":"World Downloader test translation"
        }
    }
  7. Save and close that file.
  8. Create a subfolder named assets.
  9. Create a subfolder in that folder named wdl.
  10. Create a subfolder in that subfolder named lang.
  11. Copy your custom translation into the lang folder.
  12. Back in minecraft, close the resource packs GUI and quit to the title screen. (This step is partially an excuse to refresh this GUI and also to switch to the right language)
  13. Select the language button (the globe).
  14. Change to the language you want.
  15. Close the language screen and reopen the resource packs screen.
  16. Select the now-visible resource pack you created.
  17. Join a server. Your translations should now be used!

If you make modifications to the translations while Minecraft is running, you will need to reload the resource pack. You can reload it in-game by pressing F3 and T together. You'll know you did it correctly if you get a brief lag spike while all resource packs are reloaded.

Submitting translations

GUIs

Various screens that are used in the mod

Mechanisms

Information on how World Downloader achieves various things, both technically and practically

Clone this wiki locally