1
0
Fork 0
mirror of https://github.com/tonytins/dressupzack synced 2025-06-26 08:34:43 -04:00

Localization in English and Swedish

- New localization for English (obviously) and now Swedish. The system is very straight forward, but I'd suggest checking out Godot's documentation for a proper understanding on how it works.

https://docs.godotengine.org/en/3.0/getting_started/workflow/assets/importing_translations.html
This commit is contained in:
Anthony Wilcox 2019-01-01 08:27:45 -05:00
parent f021869131
commit 67747196b7
10 changed files with 36 additions and 10 deletions

5
lang/local.csv Normal file
View file

@ -0,0 +1,5 @@
,en,sv
KMUS,Music,Musik
KCRE,Credits,Eftertexter
KABO,About,Handla om
KSOO,Coming Soon,Kommer snart
1 en sv
2 KMUS Music Musik
3 KCRE Credits Eftertexter
4 KABO About Handla om
5 KSOO Coming Soon Kommer snart

16
lang/local.csv.import Normal file
View file

@ -0,0 +1,16 @@
[remap]
importer="csv_translation"
type="Translation"
[deps]
files=[ "res://lang/local.en.translation", "res://lang/local.sv.translation" ]
source_file="res://lang/local.csv"
dest_files=[ "res://lang/local.en.translation", "res://lang/local.sv.translation" ]
[params]
compress=true
delimiter=0

BIN
lang/local.en.translation Normal file

Binary file not shown.

BIN
lang/local.sv.translation Normal file

Binary file not shown.