Added translations management

Prepares work for line voiceovers management.
This commit is contained in:
Julian Murgia
2021-04-07 08:39:59 +02:00
parent 40dd4a6718
commit 909031f536
22 changed files with 324 additions and 164 deletions

View File

@@ -0,0 +1,11 @@
extends Control
func _ready():
var locale = TranslationServer.get_locale()
func greyout_other_languages(except_lang : String) -> void:
pass
func _on_language_input(event : InputEvent, language : String):
if event.is_pressed():
TranslationServer.set_locale(language)