Repository navigation
Description
Currently, Appwrite locale and email templates support 44 locales. We need help supporting more languages and improving current translations.
Translating is as easy as adding a few PHP file with new locale as prefix in file names.
Update (#Hacktoberfest 20)
Please submit any PRs against branch 0.7.x with the updated file structure, as shown below ⬇️
Structure
List of file required for new locale are:
Email Templates
app/config/locale/translations/templates/en.email.auth.confirm.tpl
app/config/locale/translations/templates/en.email.auth.invitation.tpl
app/config/locale/translations/templates/en.email.auth.recovery.tpl
Locale Lists and Settings
app/config/locale/translations/en.php
app/config/locale/translations/en.continents.php
app/config/locale/translations/en.countries.php
Configuration and Loading
Add the new language to Appwrite config file: /app/config/locale/codes.php (order by ABC)
Load the new translation here: ./app/init.php (line: 224) (order by ABC)
Make sure to keep PHP array keys exactly the same.
Template Status
✅ = Updated - You can still submit PRs with fixes or improvements
⛔️ = Outdated - Update to match languages that are marked as updated
🆘 = Missing - No translation has yet been contributed (fallback to english)
New locales are always welcomed.
| Locale | Phrases | Countries | Continents | Template - confirm | Template - invite | Template - recovery |
|---|---|---|---|---|---|---|
| af | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| ar | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| bn | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| cat | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| cz | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| de | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| en | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| es | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| fi | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| fo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| fr | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| gr | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| he | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| hi | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| hu | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| hy | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| id | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| is | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| it | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| ja | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| jv | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| km | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| ko | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| lt | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| ml | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| mr | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| ms | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| nl | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| no | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| np | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| ph | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| pl | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| pt-br | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| pt-pt | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| ro | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| ru | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| si | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| sl | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| sq | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| sv | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| ta | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| th | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| tr | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| ua | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| vi | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| zh-cn | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| zh-tw | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Activity
[-]Help translating Appwrite Locale and Email templates[/-][+]Help Translate Appwrite Locale and Email templates[/+]daniloff200 commentedon Sep 25, 2019
I can help with Ukrainian and Russian localizations :) gonna create a PRs with that
eldadfux commentedon Sep 25, 2019
@daniloff200 Amazing! let me know if you have any question. Feel free to join our Gitter community for live support and discussions.
https://gitter.im/appwrite/community
jessescn commentedon Sep 26, 2019
Hello, i can help in translate locale and email templates into Brazilian Portuguese (ptbr).
cho0o0 commentedon Sep 26, 2019
I can pick up Japanese and Chinese. Do I need to create the PRs during October since it seems that the issue is labeled by hacktoberfest?
eldadfux commentedon Sep 26, 2019
@jessescn, @cho0o0 That will be an amazing addition to the project! Thank you both! If you need any help, just let me know.
Also, feel free to join our Gitter community for live help and discussions.
@cho0o0 if you want your pull request to get counted for a DigitalOcean T-Shirt you probably better wait for October 1st before submitting.
Chaaarles commentedon Sep 26, 2019
I can help with a Norwegian translation <3<3
appwrite#25 Translate Locale and templates to Norwegian
eldadfux commentedon Sep 26, 2019
@Chaaarles that will be amazing. Feel free to join us on Gitter:
https://gitter.im/appwrite/community
Soundug commentedon Sep 26, 2019
@cho0o0 I can help with Japanese translation. Do let me know if you need any help.
eldadfux commentedon Sep 26, 2019
@Chaaarles @Soundug @cho0o0 @jessescn @daniloff200 Please notice I have updated the list above and added this file for translation:
https://github.com/appwrite/appwrite/blob/master/app/config/locale/en.php
It had a lot of junk in it so I had to clean it to make sure it has only what we need for translation.
cho0o0 commentedon Sep 26, 2019
@Soundug Sure. I think we can cooperate like you do the email templates and I translate others. How do you like it?
121 remaining items
KaminskiDaniell commentedon Oct 1, 2021
Can I help with Polish translations? :D
adsingh14 commentedon Oct 4, 2021
Just a reminder, I'll be available for Punjabi language.
idivyanshbansal commentedon Oct 6, 2021
Please assign me for india(in) language
eldadfux commentedon Oct 16, 2021
Closing this issue in favor of many dedicated translation issues we have added.
Merge pull request appwrite#25 from utopia-php/static-analysis
Merge pull request appwrite#25 from Azanul/main
Merge pull request appwrite#25 from utopia-php/chore-assertSame
Merge pull request appwrite#25 from utopia-php/emit-message
Merge pull request appwrite#25 from shtelzerartem/feature/feat-4348-a…
Merge pull request appwrite#25 from utopia-php/add-utopia-database-to…
Merge pull request appwrite#25 from utopia-php/feat-loop-delay-and-ac…
Merge pull request appwrite#25 from utopia-php/CLO-4553-usage-sdk-ver…
Merge pull request appwrite#25 from utopia-php/refactor-permissions
Merge pull request appwrite#25 from utopia-php/feat/absorb-config