Skip to content

Commit 317603b

Browse files
Merge pull request #20 from LyaaaaaGames/Develop
Localization 2.0.0 release
2 parents 5d795f1 + 7239b2e commit 317603b

7 files changed

Lines changed: 6236 additions & 586 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.mo

CONTRIBUTING.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,25 @@ Go in **issues**, then click on **new issue** and select **bug report**
88

99
## The translation file
1010

11-
This translation is stored in a .cvs file with the following format.
11+
All the strings to translate are stored in a `.pot` file. AIdventure use the [GetText](https://en.wikipedia.org/wiki/Gettext) system.
1212

13-
| id | `<lang1>` | `<lang2>` | `<langN>` |
14-
|------|-----------|-----------|-----------|
15-
| KEY | string | string | string |
16-
| KEY2 | string | string | string |
17-
| KEY3 | string | string | string |
13+
Then, each language has its own `.po` file.
1814

1915
**You can find the language codes [here](https://docs.godotengine.org/en/stable/tutorials/i18n/locales.html)**
2016

2117
## How to modify / add new languages
2218

23-
1. Download the [project](https://github.com/LyaaaaaGames/AIdventure_Localization/archive/refs/heads/Develop.zip).
24-
2. Edit it with either [libreoffice](https://www.libreoffice.org/) or [Google sheet](https://www.google.com/sheets). **Avoid Microsoft Excel** as it use the wrong encoding.
19+
First, you will require a software to edit or create your own translation.
2520

26-
**If you need to add a new language, simply add a new column with the language id** (e.g "es" for Spanish).
21+
Multiple softwares exists but I will suggest PoEdit because it's free and open source.
2722

23+
1. Download [Poedit](https://poedit.net/)
24+
2. Download the [project](https://github.com/LyaaaaaGames/AIdventure_Localization/archive/refs/heads/Develop.zip).
25+
2. If there is no existing file for your language, open the `aidventure.pot` with **Poedit**
26+
1. If a file already exist, open the corresponding file `e.g: fr.po` for French.
27+
3. Poedit will suggest you to create a new translation file, do it.
28+
4. You can now translate AIdventure :).
29+
5. When done, send me the `.po` file.
2830

2931
## How to propose your modifications?
3032
1. Fork my project
@@ -34,3 +36,5 @@ This translation is stored in a .cvs file with the following format.
3436
5. Discuss / edit your pull request with me if needed
3537
6. Get merged! :D
3638
7. Get credited. UwU
39+
40+
If you don't know how to use github, you can send the `[LANGUAGE_CODE].po` file directly to me by email at lyaaaaa@lyaaaaagames.com

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
# AIdventure_Localization
22
the localization of AIdventure.
33

4-
## Supported languages
4+
# Supported languages
5+
6+
- English
7+
- French
58

6-
| Language | Code |
7-
|------------|--------|
8-
| English | en |
9-
| French | fr |
10-
| German | de |
11-
| Portuguese | pt |
12-
| Spanish | es |
13-
| Catalan | ca |
14-
| Polish | pl |
159

1610
## If you want to help translate the game, see the following docs
1711

localizations.csv

Lines changed: 0 additions & 567 deletions
This file was deleted.

0 commit comments

Comments
 (0)