From f6cdcc09ca73ce45929b0f019d83de09dd3dc89b Mon Sep 17 00:00:00 2001 From: Ahmad Mujahid <55625580+AhmadMuj@users.noreply.github.com> Date: Sun, 9 Feb 2025 15:16:13 +0400 Subject: feat(i18n): add Arabic language support (#983) --- apps/web/app/layout.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/web/app') diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx index 7d3858eb..fd2234bf 100644 --- a/apps/web/app/layout.tsx +++ b/apps/web/app/layout.tsx @@ -46,8 +46,10 @@ export default async function RootLayout({ children: React.ReactNode; }>) { const session = await getServerAuthSession(); + const userSettings = await getUserLocalSettings(); + const isRTL = userSettings.lang === "ar"; return ( - +