update README, and add section for language on script locale.sh

This commit is contained in:
AleaJactaEst 2021-09-23 22:39:13 +02:00
parent 466394cca6
commit 2cf0baffb0
2 changed files with 21 additions and 0 deletions

View file

@ -40,6 +40,21 @@ keyword msgid is Id used in khanat, and msgstr is translation (if you have some
* msgid "MAIN_MENU_PLAY" * msgid "MAIN_MENU_PLAY"
* msgstr "Jouer" * 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/<your language>.po" )
### Push your update ### Push your update
To send your update, could you please create a branch and send us this branch? To send your update, could you please create a branch and send us this branch?

View file

@ -16,6 +16,12 @@ function generate_locale()
} }
ORIGIN=$PWD ORIGIN=$PWD
cd $WORKDIR cd $WORKDIR
#######################
# LIST LANGUAGE : START
#######################
generate_locale fr generate_locale fr
generate_locale en generate_locale en
######################
# LIST LANGUAGE : END
######################
cd $ORIGIN cd $ORIGIN