From 2cf0baffb0b8c74d7c6bba137e8663b323a6a4db Mon Sep 17 00:00:00 2001 From: AleaJactaEst Date: Thu, 23 Sep 2021 22:39:13 +0200 Subject: [PATCH] update README, and add section for language on script locale.sh --- README.md | 15 +++++++++++++++ locale/locale.sh | 6 ++++++ 2 files changed, 21 insertions(+) diff --git a/README.md b/README.md index 270cbbc..4bd006e 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,21 @@ keyword msgid is Id used in khanat, and msgstr is translation (if you have some * msgid "MAIN_MENU_PLAY" * msgstr "Jouer" +### Activate your language + +Two option to activate (just use one) + +1/ Use godot editor + +in Parameter, localization, add your file + +2/ Edit project.godot + +Edit line : + +translations=PoolStringArray( "res://locale/fr.po", "res://locale/en.po", "res//locale/.po" ) + + ### Push your update To send your update, could you please create a branch and send us this branch? diff --git a/locale/locale.sh b/locale/locale.sh index 859f151..a73a9c5 100755 --- a/locale/locale.sh +++ b/locale/locale.sh @@ -16,6 +16,12 @@ function generate_locale() } ORIGIN=$PWD cd $WORKDIR +####################### +# LIST LANGUAGE : START +####################### generate_locale fr generate_locale en +###################### +# LIST LANGUAGE : END +###################### cd $ORIGIN