mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
8 lines
201 B
TypeScript
8 lines
201 B
TypeScript
import { SettingIds } from "~/settings";
|
|
|
|
export const useLanguage = () => {
|
|
const lang = useSetting(SettingIds.Language);
|
|
|
|
return computed(() => lang.value.value as "en" | "fr" | "en-pt");
|
|
};
|