diff --git a/example.js b/example.js index b70c1c5..1db2cc5 100644 --- a/example.js +++ b/example.js @@ -1,4 +1,4 @@ -import languages, { validLanguages } from "./index.js"; +import languages, { getDiscordLocaleCode, getQuarkLocaleCode, validLanguages } from "./index.js"; console.log(validLanguages); const language = "en_pr"; @@ -21,3 +21,6 @@ try { console.log((await languages(language, true).slash_commands.ping).name); console.log(Object.keys(await languages("en_gb", true).slash_commands.help)); + +console.log(getQuarkLocaleCode("en-GB")); +console.log(getDiscordLocaleCode("en_gb")); \ No newline at end of file