Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add French, Spanish, and German localization #70

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TheShinriel
Copy link

No description provided.

@Zathiel
Copy link

Zathiel commented Jul 13, 2024

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

@TheShinriel
Copy link
Author

I forget that PR, sorry

https://github.com/KevinNovak/Linguini

The language is imported here:

The lang is loaded from the event with the guild (discord) configuration

@Zathiel
Copy link

Zathiel commented Sep 1, 2024

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

@TheShinriel
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants