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:
parent
f021869131
commit
67747196b7
10 changed files with 36 additions and 10 deletions
5
lang/local.csv
Normal file
5
lang/local.csv
Normal file
|
@ -0,0 +1,5 @@
|
|||
,en,sv
|
||||
KMUS,Music,Musik
|
||||
KCRE,Credits,Eftertexter
|
||||
KABO,About,Handla om
|
||||
KSOO,Coming Soon,Kommer snart
|
|
16
lang/local.csv.import
Normal file
16
lang/local.csv.import
Normal 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
BIN
lang/local.en.translation
Normal file
Binary file not shown.
BIN
lang/local.sv.translation
Normal file
BIN
lang/local.sv.translation
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue