From 0c4386dce1c1a249be15d84319a77227a0999c9e Mon Sep 17 00:00:00 2001
From: Alexei Chernyavsky <pprometey@gmail.com>
Date: Thu, 30 Oct 2025 05:27:51 +0000
Subject: [PATCH] feat(i18n): add Kazakh translations for UI components and pages (#2056)
---
quartz/components/renderPage.tsx | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/quartz/components/renderPage.tsx b/quartz/components/renderPage.tsx
index e43189d..3ebfe48 100644
--- a/quartz/components/renderPage.tsx
+++ b/quartz/components/renderPage.tsx
@@ -231,8 +231,9 @@
)
const lang = componentData.fileData.frontmatter?.lang ?? cfg.locale?.split("-")[0] ?? "en"
+ const direction = i18n(cfg.locale).direction ?? "ltr"
const doc = (
- <html lang={lang}>
+ <html lang={lang} dir={direction}>
<Head {...componentData} />
<body data-slug={slug}>
<div id="quartz-root" class="page">
--
Gitblit v1.10.0