Open TheShinriel opened 1 year ago
I forget that PR, sorry
https://github.com/KevinNovak/Linguini
The language is imported here: https://github.com/KevinNovak/Discord-Bot-TypeScript-Template/blob/01d6cbd9cf27063ed1a4c9971eb5944dd012b958/src/services/lang.ts#L19
The lang is loaded from the event with the guild (discord) configuration
Hey @TheShinriel No problem.
According to the file i modify upper did i still have a things in /services/langs.ts
If u can give me the hint im missing
Regards
I'm not sure there's anything missing, the bot adapts to the language selected by the discord. So you need a server configured in a language so that it responds accordingly with a fallback to English.
Hey @TheShinriel
I have try to implement the FR localization But still not working.
enum-helpers\language.ts
export class Language { public static Default = Locale.French; public static Enabled: Locale[] = [Locale.EnglishUS, Locale.EnglishGB, Locale.French,];
lang.fr.json also imported
after that i just run npm start => /dev/info slash command don't work anymore
Any Hint
Thanks