Unturned

Unturned

175 ratings
Workshop: Localization
By Nelson Sexton
This guide explains how to create translations for Unturned.
   
Award
Favorite
Favorited
Unfavorite
Intro
Localizations in Unturned are what provide the text seen in the menu, game and editor. Both the user interface and specific content can be translated as instructed below.
Interface
You can translate the interface such as the menu, game and editor by copying the English folder found in the Localization folder and renaming it to your language. This contains many .dat files, each with several keys representing various values.

By replacing these values with the equivalent in your language the game will display them instead. Any keys not provided will be replaced with #KEY_NAME when displayed. Cases of "{#}" should be preserved in your translation, as these represent a replacement. For example, in the line Ammo: {0} the "{0}" represents the current ammo counter. The "Ammo:" text can be translated, but the "{0}" should be kept so that the value can be shown.

Note: When saving your translation be careful to explicitly mark it as UTF-8.
Content
You can translate specific items/objects/vehicles/etc by copying the English.dat file found alongside the content's information and renaming it to your language. From there the process of translating is exactly the same as it is for the interface.
Testing
You can test your localization by running Steam in the language you are localizing for. The folder/file name it looks for is the same as the one selected. For example, if the English language is selected the game looks for the English folder in Localizations and English.dat files in items.

If the language is not supported by Steam, or you are making one up like "Piratespeak" you can add the command line parameter +LanguageName. For example, to test the Piratespeak localization you would add +Piratespeak.
21 Comments
Dragoncrafter125 Apr 4, 2022 @ 11:51am 
Any one know how to do this with vanilla weapons, To get the damage to show up in the UI?
marian.schlik Jan 22, 2021 @ 1:10am 
hey, anyone have an idea how can i "auto translate" weapon/item names? i keep playing on one modded russian server, and the names of the weapons, magazines, etc. are written in russian, even though the original mods are english. any idea how can i translate this?
SmertX Jul 21, 2020 @ 2:41pm 
Nelson, I'm really, really impressed with your project.. and I'm looking forward to unturned 2.0 (unreal engine). But why couldn't you make a single file listing all the items in the "Localization" folder, and just link each object to the localization in the "Bundles" folder:missing:
SmertX Jul 21, 2020 @ 2:38pm 
Hi Nelson, I'm from Russia. And seeing absolutely "crooked" and terrible translations. I decided to translate it myself.. And everything would be fine, the interface is translated to cheers.. But who makes a separate Eng. dat for each object? this makes it very difficult to translate, because you have to open every damn file, then manually translate and create a new dat file:goalastonished:
slack-ark Jun 4, 2020 @ 10:23pm 
cloud you help me please
slack-ark Jun 4, 2020 @ 10:22pm 
How to upload Items, Objects, and more others translation to workshop? cloud you help me ? I try to upload as a model, it is right?
SuperRocket Dec 21, 2019 @ 5:10am 
Arabic script is broken in unturned...
Golden Dragon Feb 23, 2016 @ 8:25am 
Localisation still not work...
(Requies manual transfer after download from workshop).
Spy z Backstab Jul 25, 2015 @ 4:39am 
You should add a simpler way to test loclazations i made a macedonian one and i can not test it.
PrOto14 Jul 1, 2015 @ 12:28pm 
No offense Nelson,but there is a lot redundancy in the localization files. E.g. I had to translate a lot of command in the server section time to time in each file,while the commands were the same!...It would be appreciated if You fix it.