Skip to content

Commit b6c0f66

Browse files
committed
localization guide
1 parent d548eb4 commit b6c0f66

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

DeCraftLauncher/DeCraftLauncher.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,9 @@
461461
</Content>
462462
<Resource Include="Localization\default.txt" />
463463
<Resource Include="Localization\default-genappend.txt" />
464+
<None Include="Localization\# LANGUAGE FILES WITH .decraft_lang EXTENSION HERE WILL SHOW UP IN SETTINGS.txt">
465+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
466+
</None>
464467
<Content Include="lwjgl\2.9.3\jinput.jar">
465468
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
466469
</Content>

DeCraftLauncher/GlobalVars.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace DeCraftLauncher
1010
{
1111
public static class GlobalVars
1212
{
13-
public static string versionCode = "1.3-loc_v3-dev";
13+
public static string versionCode = "1.3-dev";
1414
public static DiscordRPCManager discordRPCManager = new DiscordRPCManager();
1515
public static LocalizationManager locManager = new LocalizationManager();
1616

DeCraftLauncher/Localization/# LANGUAGE FILES WITH .decraft_lang EXTENSION HERE WILL SHOW UP IN SETTINGS.txt

Whitespace-only changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Creating a DECRAFT Localization
2+
3+
1. Copy `default.txt` and rename it to `<your_language>.decraft_lang`
4+
2. Edit the newly created file with any text editor
5+
3. Copy this file to the `localization` folder in your DECRAFT installation
6+
7+
Your localization should now show up in `Runtime settings` > `Language`.

0 commit comments

Comments
 (0)