feat: locales #27

Merged
Anri merged 26 commits from lang into main 2022-07-22 11:46:48 +02:00

26 commits

Author SHA1 Message Date
47da79eefc
Add comments 2022-07-22 01:50:30 +02:00
b6247551dc
check if default language is correct and add progression bar for all the other languages 2022-07-22 01:13:28 +02:00
456ebae87b
ESLint fix for switches 2022-07-22 01:11:10 +02:00
fc3a2640ca
* cleaner locales
* WIP locales sanity
2022-07-22 00:05:49 +02:00
f446913cd5
add method to remove extension from str 2022-07-22 00:04:19 +02:00
0cfea23150
make localization function specific and add specific function for locales 2022-07-21 23:38:20 +02:00
def329bf67
silently ignore when local isn't found 2022-07-21 23:01:54 +02:00
3b1611ee3c
change string for locales 2022-07-21 23:01:43 +02:00
dcf325c7fc
generic data declaration 2022-07-21 23:01:21 +02:00
eb4a022954
get filename 2022-07-21 21:06:01 +02:00
425ebcca2c
delete dist folder before build 2022-07-21 21:05:46 +02:00
2776048d33
Add name base on filename and desc based on default language 2022-07-21 17:44:55 +02:00
4068e0da7f
fix crash 2022-07-21 17:30:49 +02:00
8f0096a73c
* load locales into the client
* extract specific text from locales and fallback to en-US in case of failure
2022-07-21 17:10:25 +02:00
2bde673cb1
don't require default language 2022-07-21 17:09:47 +02:00
a819ed0ea8
use localization 2022-07-21 17:09:34 +02:00
4c42fa101b
Add Ping command name and desc 2022-07-21 17:09:18 +02:00
8ec15b7803
* language relative to user, not global anymore
* add comments
* store all the localizations instead of unique one
* move localization function to utils/ folder
2022-07-21 15:13:39 +02:00
1b4a594880
relative locale 2022-07-21 15:11:49 +02:00
0f2078b794
static string 2022-07-21 15:10:54 +02:00
d3aee129e0
locales relative to user 2022-07-21 15:10:48 +02:00
6830f5ffd9
turn string to static ones 2022-07-21 15:10:14 +02:00
75655c6414
follow discord.com locales name 2022-07-21 13:57:30 +02:00
9669ec376f
docker support 2022-07-21 01:03:51 +02:00
e965115aa4
add locales in prod 2022-07-21 00:50:11 +02:00
09cf5c1678
* env variabletable in readme
* add FR, EN locales
* Locales support
2022-07-21 00:27:48 +02:00