Files
godot-demo-projects/gui/translation/project.godot
2023-06-28 21:27:10 +02:00

46 lines
1.4 KiB
Plaintext

; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=5
[application]
config/name="Translation Demo"
config/description="A demo showing how Godot seamlessly enables
the use of localized resources and texts."
run/main_scene="res://translation_demo.tscn"
config/icon="res://icon.webp"
config/features=PackedStringArray("4.0")
config/tags=PackedStringArray("demo", "internationalization", "official")
[display]
window/stretch/mode="canvas_items"
window/stretch/aspect="expand"
[internationalization]
locale/translations=PackedStringArray("res://text.en.translation", "res://text.es.translation", "res://text.ja.translation")
locale/translation_remaps={
"res://flag_uk.png": PackedStringArray("res://flag_spain.png:es", "res://flag_japan.png:ja"),
"res://hello_en.wav": PackedStringArray("res://hello_es.wav:es", "res://hello_jp.wav:ja")
}
locale/locale_filter_mode=0
[locale]
translation_remaps={
"res://flag_uk.png": ["res://flag_spain.png:es", "res://flag_japan.png:ja"],
"res://hello_en.wav": PackedStringArray("res://hello_es.wav:es", "res://hello_jp.wav:ja")
}
translations=PackedStringArray("res://text.en.translation", "res://text.es.translation", "res://text.ja.translation")
[rendering]
renderer/rendering_method="mobile"