i18n not giving correct strings
In src/languages/en-US/coreCommands/ping.json I have this:
I try to use it in the ping command:
resolveKey gives me an empty string and using t() function just gives me the text "loading". What's happening here?

15 Replies
I've checked with
fetchLanguage(interaction)
that the language code is en-US.
only changed fetchLanguage
yeah
What about this
literally putting it "key"?
No
coreCommands/ping:loading
still gives me empty string
That’s weird
Can I see fetchLanguage
Hmm that is really weird
Everything looks right
You’re trying to use it in a command?
correct
I have no idea. I18n is configured like that on Skyra Bot too
You can try waiting for maintainers
the issue was while building. Apparently esbuild converts .json to .js
Oh alright