This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { dictionaries } from "@/lib/i18n/dictionaries"
|
||||
import { isSupportedLanguage } from "@/lib/i18n/config"
|
||||
|
||||
export function getGuestDictionary(language: string) {
|
||||
if (isSupportedLanguage(language)) {
|
||||
return dictionaries[language]
|
||||
}
|
||||
|
||||
return dictionaries.en
|
||||
}
|
||||
Reference in New Issue
Block a user