Search
Star
Feedback
Setup for Free
Ā© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Interaction user locale first - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
ā¢
4y ago
ā¢
4 replies
MrSquaare
Interaction user locale first
Hello
,
I would like to get the
TFunction
TFunction
from
i18next
i18next
based on the user locale first and not the guild one
Is there a way to do this
?
Solution
implement
fetchLanguage
fetchLanguage
on client options
-
> i18n
https://www.sapphirejs.dev/docs/Documentation/api-plugins/classes/i18next_src.InternationalizationHandler#fetchlanguage
https://www.sapphirejs.dev/docs/Documentation/api-plugins/interfaces/i18next_src.InternationalizationContext
Jump to solution
Sapphire - Imagine a Framework
Join
Sapphire is a next-gen object-oriented Discord.js bot framework.
2,261
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
i18n based on the user locale
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Create locale slash commands
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Interaction
S-IaF
Sapphire - Imagine a Framework / sapphire-support
2y ago
Unknown Interaction
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago