extends Node2D # Called when the node enters the scene tree for the first time. func _ready() -> void: print(tr("获得")) print("loaded_locales:", TranslationServer.get_loaded_locales()) print("locale:", TranslationServer.get_locale()) print(tr("“时辰将至,锁魂障眼,自欺欺人” #tag1 #tag2", "t86c8af3834")) print(tr("老人", "c01_吕萍_001_喃喃自语")) print(tr("c01_吕萍_001_喃喃自语")) TranslationServer.set_locale("en") print("locale:", TranslationServer.get_locale()) print(tr("老人", "c01_吕萍_001_喃喃自语")) print(tr("c01_吕萍_001_喃喃自语")) print(tr("“时辰将至,锁魂障眼,自欺欺人” #tag1 #tag2", "t86c8af3834"))