addons | ||
assets | ||
locale | ||
logs | ||
ressources | ||
scenes | ||
.gitignore | ||
.gitmodules | ||
AUTHORS | ||
default_bus_layout.tres | ||
default_env.tres | ||
icon.png | ||
icon.png.import | ||
LICENSE | ||
NEWS | ||
NEWS_fr | ||
project.godot | ||
README.md |
Khanat
Launch Game
Download Version Godot
We use version GODOT : 3.3.3
wget https://downloads.tuxfamily.org/godotengine/3.3.3/Godot_v3.3.3-stable_x11.64.zip unzip Godot_v3.3.3-stable_x11.64.zip
Clone our project
Notice we use git submodules for this main repository, s you have to get them also.
git clone --recurse-submodules https://git.khaganat.net/khaganat/mmorpg_khanat/khanat-client.git (cd khanat-client;git checkout develop)
Launch Godot
./Godot_v3.3.3-stable_x11.64 khanat-client/project.godot
Add/update your language
Welcome to help us to improve our translation. We need clone our project.
Create a new language
- On Linux :
Edit file : khanat-client/locale/locale.sh (You need add in section [# LIST LANGUAGE] your locale) After launch this script : bash khanat-client/locale/locale.sh
Edit your local
khanat-client/locale/<your locale].po
keyword msgid is Id used in khanat, and msgstr is translation (if you have some doubt, don't hesitate to see other translation)
- 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?
Git sub modules
This repository uses submodule to git :
- when updating the repository after merging, you will have to pass these commands to be sure you will get the submodules downloaded and updated. From your repository folder and in a branch where the submodules are being used, pass :
git submodule init
git submodule update
- you can pass the two in one :
git submodule update --init