I have a problem with command localizations. Discord.js
M
Marcel
Verified
Ich habe ein Problem mit Command-Localizations.
Die Sprachen werden beim Erstellen korrekt übergeben, z. B.:
Beim späteren Fetch/Log fehlen jedoch teilweise Localizations. Manchmal ist das Objekt leer oder enthält nur die Default-Sprache.
Commands sind korrekt registriert.
Warum werden nicht alle Localizations zurückgegeben und wie stelle ich sicher, dass alle Sprachen verfügbar sind?
Hinweis: Ich kann kein Englisch.
---
I have a problem with command localizations.
Languages are passed correctly during command creation, e.g.:
When fetching/logging later, some localizations are missing or only default language is returned.
Commands are registered correctly.
Why are not all localizations returned and how can I ensure all languages are available?
Note: I cannot speak English.
Die Sprachen werden beim Erstellen korrekt übergeben, z. B.:
name: "tempvoice",
descriptionLocalizations: {
de: "Verwalte deinen temporären Voice-Channel",
"en-US": "Manage your temporary voice channel",
pl: "test",
},
options: [
{
name: "lock",
descriptionLocalizations: {
de: "Sperre deinen Voice-Channel",
"en-US": "Lock your voice channel",
pl: "test",
},
type: ApplicationCommandOptionType.Subcommand
},
]
Beim späteren Fetch/Log fehlen jedoch teilweise Localizations. Manchmal ist das Objekt leer oder enthält nur die Default-Sprache.
Commands sind korrekt registriert.
Warum werden nicht alle Localizations zurückgegeben und wie stelle ich sicher, dass alle Sprachen verfügbar sind?
Hinweis: Ich kann kein Englisch.
---
I have a problem with command localizations.
Languages are passed correctly during command creation, e.g.:
name: "tempvoice",
descriptionLocalizations: {
de: "...",
"en-US": "...",
pl: "test",
},
When fetching/logging later, some localizations are missing or only default language is returned.
Commands are registered correctly.
Why are not all localizations returned and how can I ensure all languages are available?
Note: I cannot speak English.
