Skip to content

📚 The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

feat: add translations for public pages & seo (#599)

Smaugde47bc366cc5
diff --git a/frontend/app/App.vue b/frontend/app/App.vue
index 6d2405ed..62c2947e 100644
--- a/frontend/app/App.vue
+++ b/frontend/app/App.vue
@@ -14,40 +14,12 @@
import 'virtual:svg-icons-register';
useFavicon();
-const preferences = usePreferencesStore();
-const { setAppColor } = useAppColors();
-const { setLocale } = useI18n();
const { isLoading } = useAppState();
const router = useRouter();
-
-const primaryColor = preferences.get('primaryColor');
-const interfaceStyle = preferences.get('style');
-const locale = preferences.get('locale');
-
-/* Watchers to make sure app state reflects preferences */
-watch(
- primaryColor,
- color => {
- setAppColor(Number(color));
- },
- { immediate: true },
-);
-
-watch(
- interfaceStyle,
- style => {
- if (import.meta.client) document.documentElement.classList.toggle('glassmorphism', style === 'glassmorphism');
- },
- { immediate: true },
-);
-
-watch(
- locale,
- newLocale => {
- if (newLocale) setLocale(newLocale);
- },
- { immediate: true },
-);
+const route = useRoute();
+const requestUrl = useRequestURL();
+const { t, locale } = useI18n();
+const i18nHead = useLocaleHead();
router.beforeEach((to, from) => {
if (to.path.startsWith('/dashboard') && (from.path === '/login' || from.path === '/')) {
@@ -56,6 +28,58 @@ router.beforeEach((to, from) => {
return;
});
+const canonicalUrl = computed(() => new URL(route.path, requestUrl.origin || __BASE_URL__).toString());
+
+useHead({
+ htmlAttrs: {
+ lang: i18nHead.value.htmlAttrs?.lang,
+ },
+ link: [...(i18nHead.value.link || [])],
+ script: [
+ {
+ type: 'application/ld+json',
+ innerHTML: computed(() => {
+ void locale.value;
+ return JSON.stringify({
+ '@context': 'https://schema.org',
+ '@graph': [
+ {
+ '@type': 'WebSite',
+ name: 'Alexandrie',
+ url: canonicalUrl.value,
+ inLanguage: i18nHead.value.htmlAttrs?.lang || 'en',
+ description: t('landing.seo.description'),
+ },
+ {
+ '@type': 'SoftwareApplication',
+ applicationCategory: 'ProductivityApplication',
+ name: 'Alexandrie',
+ operatingSystem: 'Web',
+ url: canonicalUrl.value,
+ description: t('landing.seo.description'),
+ },
+ ],
+ });
+ }),
+ },
+ ],
+});
+
+useSeoMeta({
+ title: () => t('landing.seo.title'),
+ description: () => t('landing.seo.description'),
+ keywords: () => t('landing.seo.keywords'),
+ ogTitle: () => t('landing.seo.title'),
+ ogDescription: () => t('landing.seo.description'),
+ ogType: 'website',
+ ogUrl: () => canonicalUrl.value,
+ ogImage: () => `${requestUrl.origin || __BASE_URL__}/icons/icon-192.png`,
+ twitterCard: 'summary_large_image',
+ twitterTitle: () => t('landing.seo.title'),
+ twitterDescription: () => t('landing.seo.description'),
+ twitterImage: () => `${requestUrl.origin || __BASE_URL__}/icons/icon-192.png`,
+});
+
useHead({
link: [
{
diff --git a/frontend/app/components/AppFooter.vue b/frontend/app/components/AppFooter.vue
index c4369bb1..2cae632e 100644
--- a/frontend/app/components/AppFooter.vue
+++ b/frontend/app/components/AppFooter.vue
@@ -9,7 +9,7 @@
<IconApp style="width: 40px" />
<span class="brand-name">Alexandrie</span>
</div>
- <p class="brand-desc">The open-source workspace for developers who think in Markdown. Beautiful docs, powerful organization, zero friction.</p>
+ <p class="brand-desc">{{ t('landing.footer.brandDescription') }}</p>
<div class="social-links">
<a href="https://github.com/Smaug6739/Alexandrie" target="_blank" aria-label="GitHub">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
@@ -31,45 +31,86 @@
</svg>
</a>
</div>
+
+ <div class="footer-language-switcher">
+ <label class="language-label" for="footer-language-select">{{ t('settings.appearance.setLanguage') }}</label>
+ <AppSelect
+ class="footer-language-select"
+ :items="localeItems"
+ :model-value="locale"
+ :searchable="false"
+ :placeholder="t('settings.appearance.setLanguage')"
+ size="min(100%, 260px)"
+ @update:model-value="selectLocale"
+ />
+ </div>
</div>
<!-- Links Columns -->
<div class="footer-links">
<div class="links-column">
- <h4>Product</h4>
+ <h4>{{ t('landing.footer.columns.product') }}</h4>
<ul>
- <li><NuxtLink :prefetch="false" to="/dashboard">Dashboard</NuxtLink></li>
- <li><NuxtLink :prefetch="false" to="/#features">Features</NuxtLink></li>
- <li><a href="https://github.com/Smaug6739/Alexandrie/releases" target="_blank">Changelog</a></li>
- <li><a href="https://github.com/users/Smaug6739/projects/7" target="_blank">Roadmap</a></li>
+ <li>
+ <NuxtLink :prefetch="false" to="/dashboard">{{ t('landing.footer.links.dashboard') }}</NuxtLink>
+ </li>
+ <li>
+ <NuxtLink :prefetch="false" to="/#features">{{ t('landing.footer.links.features') }}</NuxtLink>
+ </li>
+ <li>
+ <a href="https://github.com/Smaug6739/Alexandrie/releases" target="_blank">{{ t('landing.footer.links.changelog') }}</a>
+ </li>
+ <li>
+ <a href="https://github.com/users/Smaug6739/projects/7" target="_blank">{{ t('landing.footer.links.roadmap') }}</a>
+ </li>
</ul>
</div>
<div class="links-column">
- <h4>Resources</h4>
+ <h4>{{ t('landing.footer.columns.resources') }}</h4>
<ul>
- <li><NuxtLink to="/reference/documentation" no-prefetch>Documentation</NuxtLink></li>
- <li><a href="https://github.com/Smaug6739/Alexandrie/wiki" target="_blank">API Reference</a></li>
- <li><NuxtLink to="/about">About</NuxtLink></li>
+ <li>
+ <NuxtLink to="/reference/documentation" no-prefetch>{{ t('landing.footer.links.documentation') }}</NuxtLink>
+ </li>
+ <li>
+ <a href="https://github.com/Smaug6739/Alexandrie/wiki" target="_blank">{{ t('landing.footer.links.apiReference') }}</a>
+ </li>
+ <li>
+ <NuxtLink to="/about">{{ t('landing.footer.links.about') }}</NuxtLink>
+ </li>
</ul>
</div>
<div class="links-column">
- <h4>Community</h4>
+ <h4>{{ t('landing.footer.columns.community') }}</h4>
<ul>
- <li><a href="https://github.com/Smaug6739/Alexandrie" target="_blank">GitHub</a></li>
- <li><a href="https://discord.gg/UPsEg6egPj" target="_blank">Discord</a></li>
- <li><a href="https://github.com/Smaug6739/Alexandrie/contribute" target="_blank">Contribute</a></li>
- <li><a href="https://github.com/Smaug6739/Alexandrie/issues" target="_blank">Issues</a></li>
+ <li>
+ <a href="https://github.com/Smaug6739/Alexandrie" target="_blank">{{ t('landing.footer.links.github') }}</a>
+ </li>
+ <li>
+ <a href="https://discord.gg/UPsEg6egPj" target="_blank">{{ t('landing.footer.links.discord') }}</a>
+ </li>
+ <li>
+ <a href="https://github.com/Smaug6739/Alexandrie/contribute" target="_blank">{{ t('landing.footer.links.contribute') }}</a>
+ </li>
+ <li>
+ <a href="https://github.com/Smaug6739/Alexandrie/issues" target="_blank">{{ t('landing.footer.links.issues') }}</a>
+ </li>
</ul>
</div>
<div class="links-column">
- <h4>Legal</h4>
+ <h4>{{ t('landing.footer.columns.legal') }}</h4>
<ul>
- <li><NuxtLink to="/reference/privacy">Privacy Policy</NuxtLink></li>
- <li><a href="#">Terms of Service</a></li>
- <li><a href="https://github.com/Smaug6739/Alexandrie/blob/main/LICENSE" target="_blank">MIT License</a></li>
+ <li>
+ <NuxtLink to="/reference/privacy">{{ t('landing.footer.links.privacyPolicy') }}</NuxtLink>
+ </li>
+ <li>
+ <a href="#">{{ t('landing.footer.links.terms') }}</a>
+ </li>
+ <li>
+ <a href="https://github.com/Smaug6739/Alexandrie/blob/main/LICENSE" target="_blank">{{ t('landing.footer.links.mitLicense') }}</a>
+ </li>
</ul>
</div>
</div>
@@ -81,7 +122,7 @@
<p>&copy; {{ new Date().getFullYear() }} Alexandrie.</p>
<span class="separator">•</span>
<p>
- Made with <span class="heart">❤️</span> by
+ {{ t('landing.footer.madeWith') }} <span class="heart">❤️</span> {{ t('landing.footer.by') }}
<a href="https://github.com/Smaug6739" target="_blank">Smaug</a>
</p>
</div>
@@ -95,6 +136,37 @@
</footer>
</template>
+<script setup lang="ts">
+const { t, locale, loadLocaleMessages, setLocale } = useI18nT();
+
+const localeCodes = ['en', 'fr', 'de', 'uk', 'ko', 'it'] as const;
+type LocaleCode = (typeof localeCodes)[number];
+
+const isLocaleCode = (value: string): value is LocaleCode => localeCodes.includes(value as LocaleCode);
+
+const localeItems = computed(() => {
+ const displayNames = typeof Intl.DisplayNames === 'function' ? new Intl.DisplayNames([locale.value], { type: 'language' }) : null;
+
+ return localeCodes.map(code => ({
+ id: code,
+ label: capitalize(displayNames?.of(code) ?? code.toUpperCase()),
+ }));
+});
+
+const capitalize = (str: string) => str.charAt(0).toUpperCase() + str.slice(1);
+
+const selectLocale = async (nextLocale: string | number) => {
+ const normalizedLocale = String(nextLocale);
+
+ if (!isLocaleCode(normalizedLocale) || normalizedLocale === locale.value) {
+ return;
+ }
+
+ await loadLocaleMessages(normalizedLocale);
+ await setLocale(normalizedLocale);
+};
+</script>
+
<style scoped lang="scss">
.footer {
position: relative;
@@ -118,7 +190,6 @@
border-top: 1px solid var(--border);
}
-// Brand Section
.footer-brand {
max-width: 320px;
}
@@ -171,7 +242,91 @@
}
}
-// Links Section
+.footer-language-switcher {
+ display: grid;
+ gap: 0.55rem;
+ margin-top: 0.25rem;
+}
+
+.language-label {
+ font-size: 0.78rem;
+ font-weight: 700;
+ color: var(--text-secondary);
+ text-transform: uppercase;
+ letter-spacing: 0.08em;
+}
+
+.footer-language-select {
+ width: min(100%, 260px);
+}
+
+.language-trigger-meta {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
+ gap: 0.15rem;
+ text-align: left;
+}
+
+.language-code {
+ font-size: 0.72rem;
+ font-weight: 800;
+ letter-spacing: 0.14em;
+ color: var(--text-secondary);
+ text-transform: uppercase;
+}
+
+.language-name {
+ font-size: 0.95rem;
+ font-weight: 600;
+}
+
+.language-trigger-icon {
+ color: var(--text-secondary);
+ font-size: 1rem;
+ line-height: 1;
+ transform: translateY(-1px);
+ transition: transform $transition-medium ease;
+}
+
+.language-trigger-icon.open {
+ transform: translateY(1px) rotate(180deg);
+}
+
+.language-option-content {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 0.75rem;
+ width: 100%;
+}
+
+.language-option-code {
+ min-width: 2.4rem;
+ padding: 0.35rem 0.45rem;
+ border-radius: 999px;
+ font-size: 0.74rem;
+ font-weight: 800;
+ letter-spacing: 0.12em;
+ color: var(--text-secondary);
+ text-align: center;
+ background: var(--surface-raised);
+}
+
+.language-option-name {
+ flex: 1;
+ overflow: hidden;
+ font-size: 0.92rem;
+ font-weight: 600;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.language-option-check {
+ color: var(--primary);
+ font-weight: 700;
+}
+
.footer-links {
display: grid;
grid-template-columns: repeat(4, 1fr);
@@ -214,7 +369,6 @@
}
}
-// Footer Bottom
.footer-bottom {
display: flex;
justify-content: space-between;
@@ -248,7 +402,7 @@
opacity: 0.3;
}
}
-// Background
+
.footer-bg {
position: absolute;
inset: 0;
@@ -267,7 +421,6 @@
filter: blur(60px);
}
-// Responsive
@media screen and (width <= 1024px) {
.footer-main {
grid-template-columns: 1fr;
@@ -311,5 +464,9 @@
display: none;
}
}
+
+ .footer-language-select {
+ width: 100%;
+ }
}
</style>
diff --git a/frontend/app/components/AppHeader.vue b/frontend/app/components/AppHeader.vue
index 1d28f532..c1ff6325 100644
--- a/frontend/app/components/AppHeader.vue
+++ b/frontend/app/components/AppHeader.vue
@@ -1,14 +1,21 @@
<template>
<nav>
- <NuxtLink to="/login" class="login">Login</NuxtLink>
- <NuxtLink to="/signup" class="sign-up">Sign up</NuxtLink>
+ <NuxtLinkLocale to="/" class="secondary">{{ t('public.nav.home') }}</NuxtLinkLocale>
+ <div>
+ <NuxtLinkLocale to="/login" class="primary">{{ t('public.nav.login') }}</NuxtLinkLocale>
+ <NuxtLinkLocale to="/signup" class="secondary">{{ t('public.nav.signup') }}</NuxtLinkLocale>
+ </div>
</nav>
</template>
+<script setup lang="ts">
+const { t } = useI18nT();
+</script>
+
<style scoped lang="scss">
nav {
display: flex;
- justify-content: flex-end;
+ justify-content: space-between;
a {
margin: 0 8px;
@@ -17,7 +24,12 @@ nav {
}
}
-.sign-up {
+div {
+ display: flex;
+ align-items: center;
+}
+
+.secondary {
border: 1px solid var(--border);
background: var(--surface-base);
backdrop-filter: var(--backdrop-blur) var(--backdrop-saturate);
@@ -28,7 +40,7 @@ nav {
}
}
-.login {
+.primary {
color: var(--surface-base);
background: var(--primary);
diff --git a/frontend/app/components/Node/Card/NodeCard.vue b/frontend/app/components/Node/Card/NodeCard.vue
index 30549f9d..0bf4c17f 100644
--- a/frontend/app/components/Node/Card/NodeCard.vue
+++ b/frontend/app/components/Node/Card/NodeCard.vue
@@ -2,9 +2,7 @@
<div class="document-card" @contextmenu.prevent="openContextMenu">
<div class="top">
<div class="header">
- <span
-style="display: flex; align-items: center; gap: 10px;
- overflow: hidden">
+ <span style="display: flex; align-items: center; gap: 10px; overflow: hidden">
<Icon :name="category?.icon || 'files'" display="xl" :class="['category-icon', getAppAccent(node.color || category?.color, true)]" />
<NuxtLink :to="`/dashboard/docs/${node.id}`" class="document-title">{{ node.name }}</NuxtLink>
</span>
diff --git a/frontend/app/components/Support.vue b/frontend/app/components/Support.vue
index 338d7726..ff2c2b1d 100644
--- a/frontend/app/components/Support.vue
+++ b/frontend/app/components/Support.vue
@@ -7,30 +7,23 @@
<div class="letter-top-header">
<div class="dev-badge">
<span class="dot"></span>
- <span>A word from the creator</span>
+ <span>{{ t('landing.support.badge') }}</span>
</div>
</div>
- <h2>Alexandrie is free, and it will stay that way.</h2>
+ <h2>{{ t('landing.support.title') }}</h2>
<div class="letter-content">
- <p>
- Alexandrie didn't start as a business. It started as a tool I wanted for myself. Years later, I'm still maintaining and improving it in my spare
- time, and I'm happy to share it with anyone who finds it useful.
- </p>
- <p>
- The application doesn't track you, doesn't serve ads, and is fully open-source. However, keeping the live platform running involves hosting and
- infrastructure costs. If Alexandrie adds value to your daily workflow, consider supporting its independence. Even the smallest donation helps cover
- the servers for months.
- </p>
+ <p>{{ t('landing.support.paragraph1') }}</p>
+ <p>{{ t('landing.support.paragraph2') }}</p>
</div>
<div class="letter-footer">
- <span class="signature">— Smaug</span>
+ <span class="signature">{{ t('landing.support.signature') }}</span>
</div>
<div v-if="closeable" class="banner-actions">
- <AppButton type="primary" size="sm" @click="handleClose">I understand, thank you!</AppButton>
+ <AppButton type="primary" size="sm" @click="handleClose">{{ t('landing.support.confirm') }}</AppButton>
</div>
</div>
@@ -42,8 +35,8 @@
</svg>
</div>
<div class="card-text">
- <h3>Star on GitHub</h3>
- <p>Show your support and help other developers discover the project. It costs nothing but means everything.</p>
+ <h3>{{ t('landing.support.cards.starTitle') }}</h3>
+ <p>{{ t('landing.support.cards.starDesc') }}</p>
</div>
<span class="card-arrow">→</span>
</a>
@@ -57,8 +50,8 @@
</svg>
</div>
<div class="card-text">
- <h3>Support financially</h3>
- <p>Help cover hosting, backup infrastructure, and development costs to keep Alexandrie online and independent.</p>
+ <h3>{{ t('landing.support.cards.sponsorTitle') }}</h3>
+ <p>{{ t('landing.support.cards.sponsorDesc') }}</p>
</div>
<span class="card-arrow">→</span>
</a>
@@ -68,6 +61,8 @@
</template>
<script setup lang="ts">
+const { t } = useI18n();
+
withDefaults(
defineProps<{
closeable?: boolean;
diff --git a/frontend/app/middleware/authentication.global.ts b/frontend/app/middleware/authentication.global.ts
index 320b2811..952ca562 100644
--- a/frontend/app/middleware/authentication.global.ts
+++ b/frontend/app/middleware/authentication.global.ts
@@ -5,10 +5,10 @@ export default defineNuxtRouteMiddleware(async (to, _) => {
const user_auth = await localForage.getItem('isLoggedIn');
if (to.fullPath.startsWith('/dashboard') && !user_auth) {
- return navigateTo({
- path: '/login',
- query: { redirect: to.fullPath },
- });
+ const localeRoute = useLocaleRoute();
+ const route = localeRoute({ name: 'login', query: { redirect: to.fullPath } });
+
+ return navigateTo(route);
}
if (to.fullPath.startsWith('/dashboard/admin')) {
diff --git a/frontend/app/pages/(public)/_components/AppCTA.vue b/frontend/app/pages/(public)/_components/AppCTA.vue
index b30ca200..8304d633 100644
--- a/frontend/app/pages/(public)/_components/AppCTA.vue
+++ b/frontend/app/pages/(public)/_components/AppCTA.vue
@@ -1,15 +1,23 @@
<template>
<section class="final-cta reveal">
- <h2>Ready to Take Better Notes?</h2>
- <p>Join us on this journey to better note-taking.</p>
- <NuxtLink :prefetch="false" to="/dashboard" class="btn primary large">Start Now</NuxtLink>
+ <h2>{{ t('landing.cta.title') }}</h2>
+ <p>{{ t('landing.cta.description') }}</p>
+ <NuxtLinkLocale :prefetch="false" to="/dashboard" class="btn primary large">
+ {{ t('landing.cta.button') }}
+ </NuxtLinkLocale>
<p style="margin-top: 20px">
- Want to contribute or discuss? Check out our
- <NuxtLink :prefetch="false" to="https://discord.gg/UPsEg6egPj" target="_blank" style="color: white; text-decoration: underline">Discord server</NuxtLink>!
+ {{ t('landing.cta.contributionPrefix') }}
+ <NuxtLink :prefetch="false" to="https://discord.gg/UPsEg6egPj" target="_blank" style="color: white; text-decoration: underline">
+ {{ t('landing.cta.discord') }} </NuxtLink
+ >!
</p>
</section>
</template>
+<script setup lang="ts">
+const { t } = useI18n();
+</script>
+
<style scoped>
.final-cta {
margin-bottom: 3rem;
diff --git a/frontend/app/pages/(public)/_components/BentoFeatures.vue b/frontend/app/pages/(public)/_components/BentoFeatures.vue
index 4d31492e..233554f0 100644
--- a/frontend/app/pages/(public)/_components/BentoFeatures.vue
+++ b/frontend/app/pages/(public)/_components/BentoFeatures.vue
@@ -1,8 +1,8 @@
<template>
<section class="bento-section">
<div class="section-header">
- <h2 class="section-title">Everything you need to write better</h2>
- <p class="section-subtitle">Powerful features packed into a beautiful, intuitive interface</p>
+ <h2 class="section-title">{{ t('landing.bento.title') }}</h2>
+ <p class="section-subtitle">{{ t('landing.bento.subtitle') }}</p>
</div>
<div class="bento-grid">
@@ -18,27 +18,26 @@
<line x1="10" y1="9" x2="8" y2="9" />
</svg>
</div>
- <h3>Powerful Markdown Editor</h3>
- <p>Write with syntax highlighting, live preview, and keyboard shortcuts. Support for tables, code blocks, math equations, and more.</p>
+ <h3>{{ t('landing.bento.editor.heading') }}</h3>
+ <p>{{ t('landing.bento.editor.description') }}</p>
</div>
<div class="card-visual">
<div class="editor-preview">
<div class="editor-line">
<span class="syntax-heading"># </span>
- <span class="syntax-text">Welcome to Alexandrie</span>
+ <span class="syntax-text">{{ t('landing.bento.editor.sampleHeading') }}</span>
</div>
<div class="editor-line">
- <span class="syntax-text">Write your notes in </span>
- <span class="syntax-bold">**Markdown**</span>
+ <span class="syntax-text">{{ t('landing.bento.editor.sampleMarkdown') }}</span>
</div>
<div class="editor-line">
<span class="syntax-code">`code`</span>
- <span class="syntax-text"> and </span>
+ <span class="syntax-text">{{ t('landing.bento.editor.sampleText') }}</span>
<span class="syntax-link">[links]()</span>
</div>
<div class="editor-line">
<span class="syntax-list">- </span>
- <span class="syntax-text">Lists are easy</span>
+ <span class="syntax-text">{{ t('landing.bento.editor.sampleList') }}</span>
</div>
<div class="cursor"></div>
</div>
@@ -53,34 +52,34 @@
<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z" />
</svg>
</div>
- <h3>Smart Organization</h3>
- <p>Nested folders, workspaces, tags, and powerful search to keep everything in its place.</p>
+ <h3>{{ t('landing.bento.organization.heading') }}</h3>
+ <p>{{ t('landing.bento.organization.description') }}</p>
</div>
<div class="card-visual">
<div class="folder-tree">
<div class="folder-item">
<span class="folder-icon"><Icon name="folder" fill="var(--orange)" /></span>
- <span>Projects</span>
+ <span>{{ t('landing.bento.organizationSamples.projects') }}</span>
</div>
<div class="folder-item nested">
<span class="folder-icon"><Icon name="file" fill="var(--primary)" /></span>
- <span>Roadmap.md</span>
+ <span>{{ t('landing.bento.organizationSamples.roadmap') }}</span>
</div>
<div class="folder-item nested">
<span class="folder-icon"><Icon name="file" fill="var(--primary)" /></span>
- <span>Ideas.md</span>
+ <span>{{ t('landing.bento.organizationSamples.ideas') }}</span>
</div>
<div class="folder-item">
<span class="folder-icon"><Icon name="folder" fill="var(--orange)" /></span>
- <span>Knowledge Base</span>
+ <span>{{ t('landing.bento.organizationSamples.knowledgeBase') }}</span>
</div>
<div class="folder-item nested">
<span class="folder-icon"><Icon name="folder" fill="var(--orange)" /></span>
- <span>Development</span>
+ <span>{{ t('landing.bento.organizationSamples.development') }}</span>
</div>
<div class="folder-item nested-2">
<span class="folder-icon"><Icon name="file" fill="var(--primary)" /></span>
- <span>React Tips.md</span>
+ <span>{{ t('landing.bento.organizationSamples.reactTips') }}</span>
</div>
</div>
</div>
@@ -97,8 +96,8 @@
<path d="M16 3.13a4 4 0 0 1 0 7.75" />
</svg>
</div>
- <h3>Collaborate and share</h3>
- <p>Work together with your team. Share notes, manage permissions, and more.</p>
+ <h3>{{ t('landing.bento.collaboration.heading') }}</h3>
+ <p>{{ t('landing.bento.collaboration.description') }}</p>
</div>
<div class="card-visual">
<div class="collab-avatars">
@@ -108,7 +107,7 @@
<img src="https://i.pravatar.cc/40?img=3" alt="User 3" />
<span class="avatar-more">+2</span>
</div>
- <span class="editing-text">3 people editing...</span>
+ <span class="editing-text">{{ t('landing.bento.collaboration.editing') }}</span>
</div>
</div>
</div>
@@ -122,8 +121,8 @@
<polyline points="21 15 16 10 5 21" />
</svg>
</div>
- <h3>Built-in CDN</h3>
- <p>Upload images & files</p>
+ <h3>{{ t('landing.bento.cdn.heading') }}</h3>
+ <p>{{ t('landing.bento.cdn.description') }}</p>
</div>
<!-- Small Card - Themes -->
@@ -134,9 +133,9 @@
<path d="M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42" />
</svg>
</div>
- <h3>Dark & Light</h3>
- <p>Themes for every mood</p>
- <p>Also change the colors, document themes, add some custom colors, icons, and more.</p>
+ <h3>{{ t('landing.bento.themes.heading') }}</h3>
+ <p>{{ t('landing.bento.themes.description') }}</p>
+ <p>{{ t('landing.bento.themes.extra') }}</p>
</div>
<!-- Wide Card - Search -->
@@ -148,8 +147,8 @@
<path d="M21 21l-4.35-4.35" />
</svg>
</div>
- <h3>Lightning Fast Search</h3>
- <p>Full-text search across all your documents. Find anything in milliseconds.</p>
+ <h3>{{ t('landing.bento.search.heading') }}</h3>
+ <p>{{ t('landing.bento.search.description') }}</p>
</div>
<div class="card-visual">
<div class="search-demo">
@@ -158,22 +157,22 @@
<circle cx="11" cy="11" r="8" />
<path d="M21 21l-4.35-4.35" />
</svg>
- <span>react hooks...</span>
+ <span>{{ t('landing.bento.search.input') }}</span>
<span class="kbd">⌘K</span>
</div>
<div class="search-results">
<div class="search-result">
<span class="result-icon"><Icon name="file" fill="var(--primary)" /></span>
<div class="result-content">
- <span class="result-title">React Hooks Guide</span>
- <span class="result-path">Knowledge Base / Development</span>
+ <span class="result-title">{{ t('landing.bento.searchResults.reactHooksGuide') }}</span>
+ <span class="result-path">{{ t('landing.bento.searchResults.path1') }}</span>
</div>
</div>
<div class="search-result">
<span class="result-icon"><Icon name="file" fill="var(--primary)" /></span>
<div class="result-content">
- <span class="result-title">Custom Hooks</span>
- <span class="result-path">Projects / Frontend</span>
+ <span class="result-title">{{ t('landing.bento.searchResults.customHooks') }}</span>
+ <span class="result-path">{{ t('landing.bento.searchResults.path2') }}</span>
</div>
</div>
</div>
@@ -191,18 +190,18 @@
<line x1="12" y1="2" x2="12" y2="15" />
</svg>
</div>
- <h3>One-Click Publish</h3>
- <p>Share your work publicly or with specific people. Generate beautiful read-only pages.</p>
+ <h3>{{ t('landing.bento.publish.heading') }}</h3>
+ <p>{{ t('landing.bento.publish.description') }}</p>
</div>
<div class="card-visual">
<div class="publish-preview">
<div class="url-bar">
<span class="lock">🔒</span>
- <span>docs.yoursite.com/guide</span>
+ <span>{{ t('landing.bento.publish.url') }}</span>
</div>
<div class="status-badge published">
<span class="dot"></span>
- Live
+ {{ t('landing.bento.publish.status') }}
</div>
</div>
</div>
@@ -211,6 +210,10 @@
</section>
</template>
+<script setup lang="ts">
+const { t } = useI18n();
+</script>
+
<style scoped lang="scss">
.bento-section {
max-width: 1400px;
diff --git a/frontend/app/pages/(public)/_components/ContributorsMarquee.vue b/frontend/app/pages/(public)/_components/ContributorsMarquee.vue
index d25963f3..abd336ef 100644
--- a/frontend/app/pages/(public)/_components/ContributorsMarquee.vue
+++ b/frontend/app/pages/(public)/_components/ContributorsMarquee.vue
@@ -1,8 +1,8 @@
<template>
<section class="contributors">
<div class="section-header">
- <h3>Built by the community</h3>
- <p>Meet the amazing people who make Alexandrie possible</p>
+ <h3>{{ t('landing.contributors.title') }}</h3>
+ <p>{{ t('landing.contributors.subtitle') }}</p>
</div>
<div v-if="displayAvatars.length" class="contributors-wrapper">
@@ -11,7 +11,7 @@
<img :src="c.avatar_url + '&s=80'" :alt="c.login" loading="lazy" />
<div class="contributor-info">
<span class="name">{{ c.login }}</span>
- <span class="contributions">{{ c.contributions }} commits</span>
+ <span class="contributions">{{ c.contributions }} {{ commitLabel }}</span>
</div>
</a>
</div>
@@ -22,13 +22,15 @@
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M12 5v14M5 12h14" />
</svg>
- Become a contributor
+ {{ t('landing.contributors.cta') }}
</a>
</div>
</section>
</template>
<script setup lang="ts">
+const { t } = useI18n();
+
interface Contributor {
id: number;
login: string;
@@ -39,6 +41,7 @@ interface Contributor {
const avatars = ref<Contributor[]>([]);
const displayAvatars = computed(() => avatars.value.map((c, idx) => ({ ...c, __key: `${c.id}-${idx}` })));
+const commitLabel = computed(() => t('landing.contributors.commitLabel'));
async function fetchContributors() {
try {
diff --git a/frontend/app/pages/(public)/_components/FeaturesShowcase.vue b/frontend/app/pages/(public)/_components/FeaturesShowcase.vue
index 8856bc2a..db35b91a 100644
--- a/frontend/app/pages/(public)/_components/FeaturesShowcase.vue
+++ b/frontend/app/pages/(public)/_components/FeaturesShowcase.vue
@@ -1,8 +1,8 @@
<template>
<section class="showcase-section">
<div class="section-header">
- <h2 class="section-title">From idea to published docs</h2>
- <p class="section-subtitle">See how Alexandrie streamlines your entire workflow</p>
+ <h2 class="section-title">{{ t('landing.showcase.title') }}</h2>
+ <p class="section-subtitle">{{ t('landing.showcase.subtitle') }}</p>
</div>
<div class="showcase-container">
@@ -49,36 +49,17 @@
</template>
<script setup lang="ts">
-const features = [
- {
- title: 'Capture Ideas Instantly',
- shortDesc: 'Quick notes & drafts',
- description: 'Start writing immediately with our distraction-free editor. Everything syncs automatically.',
- points: ['Real-time autosave', 'Quick keyboard shortcuts', 'Distraction-free mode', 'Templates for common formats'],
- image: '/screenshots/mock/1.png',
- },
- {
- title: 'Organize Your Knowledge',
- shortDesc: 'Structure & categorize',
- description: 'Create a powerful knowledge base with nested folders, workspaces, and smart tagging.',
- points: ['Unlimited nested folders', 'Multiple workspaces', 'Tag-based organization', 'Smart filters & views'],
- image: '/screenshots/mock/2.png',
- },
- {
- title: 'Collaborate Seamlessly',
- shortDesc: 'Team workflows',
- description: 'Share notes with your team, manage permissions, and work together in real-time.',
- points: ['Granular permissions', 'Real-time collaboration', 'Comment & feedback', 'Activity history'],
- image: '/screenshots/mock/3.png',
- },
- {
- title: 'Publish & Share',
- shortDesc: 'Go live instantly',
- description: 'Transform your notes into beautiful public documentation with one click.',
- points: ['Custom domains', 'SEO optimized', 'Analytics built-in', 'Password protection'],
- image: '/screenshots/mock/4.png',
- },
-];
+const { t, tm, locale } = useI18n();
+
+const features = computed(() => {
+ void locale.value;
+ return [
+ { ...tm('landing.showcase.features.0'), image: '/screenshots/mock/1.png' },
+ { ...tm('landing.showcase.features.1'), image: '/screenshots/mock/2.png' },
+ { ...tm('landing.showcase.features.2'), image: '/screenshots/mock/3.png' },
+ { ...tm('landing.showcase.features.3'), image: '/screenshots/mock/4.png' },
+ ] as Array<{ title: string; shortDesc: string; description: string; points: string[]; image: string }>;
+});
const activeIndex = ref(0);
const progress = ref(0);
diff --git a/frontend/app/pages/(public)/_components/OpenSourceStats.vue b/frontend/app/pages/(public)/_components/OpenSourceStats.vue
index 3b2012f9..210acbbd 100644
--- a/frontend/app/pages/(public)/_components/OpenSourceStats.vue
+++ b/frontend/app/pages/(public)/_components/OpenSourceStats.vue
@@ -10,7 +10,7 @@
</svg>
<span>{{ owner }}/{{ repo }}</span>
</div>
- <p class="card-desc">The open-source workspace for developers who think in Markdown</p>
+ <p class="card-desc">{{ t('landing.stats.cardDescription') }}</p>
<div class="card-stats">
<div class="mini-stat">
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor">
@@ -32,25 +32,25 @@
</div>
<div class="stats-content">
- <span class="section-tag">Open Source</span>
- <h2>Built in the open</h2>
- <p class="subtitle">Transparent development, community-driven decisions, and full access to the source code</p>
+ <span class="section-tag">{{ t('landing.stats.badge') }}</span>
+ <h2>{{ t('landing.stats.title') }}</h2>
+ <p class="subtitle">{{ t('landing.stats.subtitle') }}</p>
<div class="stats-grid">
<div class="stat">
<div class="stat-icon"><Icon name="star" display="xl" /></div>
<div class="stat-value">{{ starsDisplay }}</div>
- <div class="stat-label">GitHub stars</div>
+ <div class="stat-label">{{ t('landing.stats.labels.stars') }}</div>
</div>
<div class="stat">
<div class="stat-icon"><Icon name="users" display="xl" /></div>
<div class="stat-value">{{ contributorsDisplay }}</div>
- <div class="stat-label">Contributors</div>
+ <div class="stat-label">{{ t('landing.stats.labels.contributors') }}</div>
</div>
<div class="stat">
<div class="stat-icon"><Icon name="release" display="xl" /></div>
<div class="stat-value">{{ latestRelease || 'v1.0' }}</div>
- <div class="stat-label">Latest release</div>
+ <div class="stat-label">{{ t('landing.stats.labels.latestRelease') }}</div>
</div>
</div>
@@ -62,16 +62,18 @@
points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"
></polygon>
</svg>
- Star on GitHub
+ {{ t('landing.stats.actions.star') }}
</NuxtLink>
- <NuxtLink :prefetch="false" to="/dashboard" class="btn secondary">Try the app</NuxtLink>
- <a :href="`https://github.com/${owner}/${repo}/contribute`" target="_blank" class="btn tertiary">Contribute</a>
+ <NuxtLinkLocale :prefetch="false" to="/dashboard" class="btn secondary">{{ t('landing.stats.actions.tryApp') }}</NuxtLinkLocale>
+ <a :href="`https://github.com/${owner}/${repo}/contribute`" target="_blank" class="btn tertiary">{{ t('landing.stats.actions.contribute') }}</a>
</div>
</div>
</section>
</template>
<script setup lang="ts">
+const { t } = useI18n();
+
const owner = 'Smaug6739';
const repo = 'Alexandrie';
diff --git a/frontend/app/pages/(public)/_components/SelfHostSteps.vue b/frontend/app/pages/(public)/_components/SelfHostSteps.vue
index dc31bcf5..23da4a28 100644
--- a/frontend/app/pages/(public)/_components/SelfHostSteps.vue
+++ b/frontend/app/pages/(public)/_components/SelfHostSteps.vue
@@ -1,8 +1,8 @@
<template>
<section class="self-host">
<div class="section-header">
- <h2>Self-host in minutes</h2>
- <p class="subtitle">Take full control of your data with a simple deployment</p>
+ <h2>{{ t('landing.selfHost.title') }}</h2>
+ <p class="subtitle">{{ t('landing.selfHost.subtitle') }}</p>
</div>
<div class="steps-container">
@@ -35,7 +35,7 @@
<div class="terminal">
<div class="terminal-header">
<div class="terminal-dots"><span></span><span></span><span></span></div>
- <span class="terminal-title">Terminal</span>
+ <span class="terminal-title">{{ t('landing.selfHost.terminal.title') }}</span>
</div>
<div class="terminal-body">
<div class="terminal-line">
@@ -43,16 +43,16 @@
<span class="command">docker compose up -d</span>
</div>
<div class="terminal-line output">
- <span>[+] Running 3/3</span>
+ <span>{{ tm('landing.selfHost.terminal.lines.0') }}</span>
</div>
<div class="terminal-line output success">
- <span>✓ Container alexandrie-db Started</span>
+ <span>{{ tm('landing.selfHost.terminal.lines.1') }}</span>
</div>
<div class="terminal-line output success">
- <span>✓ Container alexandrie-minio Started</span>
+ <span>{{ tm('landing.selfHost.terminal.lines.2') }}</span>
</div>
<div class="terminal-line output success">
- <span>✓ Container alexandrie-app Started</span>
+ <span>{{ tm('landing.selfHost.terminal.lines.3') }}</span>
</div>
<div class="terminal-line">
<span class="prompt">$</span>
@@ -66,43 +66,32 @@
<div class="notes">
<span class="pill">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z" /></svg>
- No telemetry
+ {{ tm('landing.selfHost.notes.0') }}
</span>
<span class="pill">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z" /></svg>
- Full data ownership
+ {{ tm('landing.selfHost.notes.1') }}
</span>
<span class="pill">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z" /></svg>
- MIT License
+ {{ tm('landing.selfHost.notes.2') }}
</span>
<span class="pill">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z" /></svg>
- Docker ready
+ {{ tm('landing.selfHost.notes.3') }}
</span>
</div>
</section>
</template>
<script setup lang="ts">
-const steps = [
- {
- title: 'Clone the repo',
- description:
- 'Get the config files from GitHub <br /> <a target="_blank" style="color: var(--primary);text-decoration: underline;font-weight: 500;" href="https://github.com/Smaug6739/Alexandrie/blob/main/docker-compose.yml">Download the docker-compose.yml file</a> <br /><a target="_blank" style="color: var(--primary);text-decoration: underline;font-weight: 500;" href="https://github.com/Smaug6739/Alexandrie/blob/main/.env.example">Download the .env.example file</a> ',
- //code: 'git clone https://github.com/Smaug6739/Alexandrie.git',
- },
- {
- title: 'Configure',
- description: 'Change environment variables as needed (optional)',
- code: 'cp .env.example .env && nano .env',
- },
- {
- title: 'Launch',
- description: 'Start all services with Docker Compose',
- code: 'docker compose up -d',
- },
-];
+const { locale } = useI18n();
+const { t, tm } = useI18n();
+
+const steps = computed(() => {
+ void locale.value;
+ return tm('landing.selfHost.steps') as Array<{ title: string; description: string; code?: string }>;
+});
const copiedIndex = ref<number | null>(null);
diff --git a/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue b/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue
index 5d8be924..0d791bcc 100644
--- a/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue
+++ b/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue
@@ -1,8 +1,8 @@
<template>
<section class="faq">
<div class="section-header">
- <h2>Frequently asked questions</h2>
- <p class="subtitle">Everything you need to know about Alexandrie</p>
+ <h2>{{ t('landing.faq.title') }}</h2>
+ <p class="subtitle">{{ t('landing.faq.subtitle') }}</p>
</div>
<div class="faq-container">
@@ -26,15 +26,15 @@
<div class="faq-cta">
<div class="cta-content">
<div class="cta-icon"><Icon name="help" display="xxl" /></div>
- <h3>Still have questions?</h3>
- <p>Can't find what you're looking for? Join our community!</p>
+ <h3>{{ t('landing.faq.ctaTitle') }}</h3>
+ <p>{{ t('landing.faq.ctaDescription') }}</p>
<a href="https://discord.gg/UPsEg6egPj" target="_blank" class="cta-btn">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path
d="M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z"
/>
</svg>
- Join Discord
+ {{ t('landing.faq.discord') }}
</a>
</div>
</div>
@@ -43,42 +43,26 @@
</template>
<script setup lang="ts">
+const { t, locale } = useI18n();
+
const openIndex = ref<number | null>(0);
function toggleFaq(index: number) {
openIndex.value = openIndex.value === index ? null : index;
}
-const faqs = [
- {
- q: 'Is Alexandrie really free and open-source?',
- a: 'Yes, Alexandrie is 100% open-source under the MIT license. You can use it, modify it, and distribute it freely. No hidden costs, no premium tiers.',
- },
- {
- q: 'Can I self-host Alexandrie on my own server?',
- a: 'Absolutely! You can run Alexandrie on your own infrastructure using Docker. Full documentation is available to help you get started in minutes.',
- },
- {
- q: 'Does Alexandrie work offline?',
- a: 'Yes, Alexandrie is designed with offline-first principles. Your notes are available locally and sync when you reconnect.',
- },
- {
- q: 'How is my data stored and secured?',
- a: 'When self-hosting, your data stays on your own server. We use industry-standard security practices, and all data transmission is encrypted.',
- },
- {
- q: 'Can I import my notes from other apps?',
- a: 'Yes! You can import Markdown files from other apps like Notion, Obsidian, or any Markdown editor. Export to PDF with beautiful formatting is also supported.',
- },
- {
- q: 'Does it support code blocks and math equations?',
- a: 'Definitely! We support syntax highlighting for 100+ programming languages and LaTeX math equations rendering.',
- },
- {
- q: 'Is there a mobile app available?',
- a: 'Alexandrie is a responsive web application that works great on mobile browsers. Native apps are on our roadmap.',
- },
-];
+const faqs = computed(() => {
+ void locale.value;
+ return [
+ { q: t('landing.faq.questions.0'), a: t('landing.faq.answer1') },
+ { q: t('landing.faq.questions.1'), a: t('landing.faq.answer2') },
+ { q: t('landing.faq.questions.2'), a: t('landing.faq.answer3') },
+ { q: t('landing.faq.questions.3'), a: t('landing.faq.answer4') },
+ { q: t('landing.faq.questions.4'), a: t('landing.faq.answer5') },
+ { q: t('landing.faq.questions.5'), a: t('landing.faq.answer6') },
+ { q: t('landing.faq.questions.6'), a: t('landing.faq.answer7') },
+ ];
+});
</script>
<style scoped lang="scss">
diff --git a/frontend/app/pages/(public)/index.vue b/frontend/app/pages/(public)/index.vue
index b912c713..d23ab9a6 100644
--- a/frontend/app/pages/(public)/index.vue
+++ b/frontend/app/pages/(public)/index.vue
@@ -9,19 +9,22 @@
</div>
<div class="hero-content">
<div class="badges">
- <span class="badge">Open-source</span>
- <span class="badge">Markdown</span>
- <span class="badge">Organization</span>
+ <span class="badge">{{ t('landing.hero.badges.openSource') }}</span>
+ <span class="badge">{{ t('landing.hero.badges.markdown') }}</span>
+ <span class="badge">{{ t('landing.hero.badges.organization') }}</span>
</div>
<IconApp class="logo" style="width: 120px" fill="white" />
- <h1><span class="gradient-text">Your Notes</span>, Beautifully Organized</h1>
- <p class="tagline">A powerful Markdown workspace designed for speed, clarity, and creativity.</p>
+ <h1>
+ <span class="gradient-text">{{ t('landing.hero.titleHighlight') }}</span
+ >{{ t('landing.hero.titleSuffix') }}
+ </h1>
+ <p class="tagline">{{ t('landing.hero.tagline') }}</p>
<div class="cta-buttons">
- <NuxtLink :prefetch="false" to="/dashboard" class="btn primary glow">Get Started</NuxtLink>
- <NuxtLink to="https://github.com/Smaug6739/Alexandrie" target="_blank" class="btn secondary"> GitHub </NuxtLink>
+ <NuxtLink :prefetch="false" to="/dashboard" class="btn primary glow">{{ t('landing.hero.ctaPrimary') }}</NuxtLink>
+ <NuxtLink to="https://github.com/Smaug6739/Alexandrie" target="_blank" class="btn secondary"> {{ t('landing.hero.ctaSecondary') }} </NuxtLink>
</div>
</div>
- <img src="/screenshots/mock/0.png" class="hero-image" alt="App preview" />
+ <img src="/screenshots/mock/0.png" class="hero-image" :alt="t('landing.hero.previewAlt')" />
</section>
<BentoFeatures class="reveal" />
<Support />
@@ -45,6 +48,8 @@ import ContributorsMarquee from './_components/ContributorsMarquee.vue';
import FeaturesFAQ from './_components/features/FeaturesFAQ.vue';
import AppCTA from './_components/AppCTA.vue';
+const { t } = useI18n();
+
definePageMeta({
ssr: true,
middleware: [
diff --git a/frontend/app/pages/(public)/login/done.vue b/frontend/app/pages/(public)/login/done.vue
index 380b44ed..bbd3eaae 100644
--- a/frontend/app/pages/(public)/login/done.vue
+++ b/frontend/app/pages/(public)/login/done.vue
@@ -1,13 +1,15 @@
<template>
<div class="container">
<IconApp style="width: 120px" />
- <h1>Instructions sent</h1>
- <p>Check your email for a link to reset your password. If it doesn’t appear within a few minutes, check your spam folder.</p>
- <nuxt-link to="/" class="button">Return to Homepage</nuxt-link>
+ <h1>{{ t('public.login.reset.done.title') }}</h1>
+ <p>{{ t('public.login.reset.done.description') }}</p>
+ <NuxtLinkLocale to="/login" class="button">{{ t('public.login.reset.done.returnToLogin') }}</NuxtLinkLocale>
</div>
</template>
-<script setup lang="ts"></script>
+<script setup lang="ts">
+const { t } = useI18nT();
+</script>
<style scoped lang="scss">
.container {
diff --git a/frontend/app/pages/(public)/login/index.vue b/frontend/app/pages/(public)/login/index.vue
index 18dfebe3..179d79bf 100644
--- a/frontend/app/pages/(public)/login/index.vue
+++ b/frontend/app/pages/(public)/login/index.vue
@@ -3,15 +3,15 @@
<IconApp style="width: 120px" />
<template v-if="!step2FA">
- <h1>Connection</h1>
+ <h1>{{ t('public.login.title') }}</h1>
<form @submit.prevent="login">
<div class="form-group">
- <label for="username">Username</label>
+ <label for="username">{{ t('public.login.form.username') }}</label>
<input id="username" v-model="username" type="username" :class="{ 'is-invalid': errors.username }" :disabled="loginDisabled" />
<p v-if="errors.username" class="invalid-feedback">{{ errors.username }}</p>
</div>
<div class="form-group">
- <label for="password">Password</label>
+ <label for="password">{{ t('public.login.form.password') }}</label>
<div class="password-input">
<input
id="password"
@@ -30,22 +30,24 @@
</div>
<p v-if="errors.password" class="invalid-feedback">{{ errors.password }}</p>
</div>
- <NuxtLink to="/signup" class="signup-link">Need an account? Sign up</NuxtLink>
- <button class="btn" :disabled="loginDisabled">Login</button>
- <p v-if="loginDisabled" class="disabled">Native login is currently disabled. Please use one of the available authentication providers below.</p>
+ <NuxtLinkLocale to="/signup" class="signup-link">{{ t('public.login.needAccount') }}</NuxtLinkLocale>
+ <button class="btn" :disabled="loginDisabled">{{ t('public.login.form.submit') }}</button>
+ <p v-if="loginDisabled" class="disabled">{{ t('public.login.disabled') }}</p>
<OIDCProviders />
<p v-if="errors.general" class="invalid-feedback general">{{ errors.general }}</p>
- <p class="forgot-password-link">Forgot your password? <NuxtLink to="/login/request-reset">Click here</NuxtLink></p>
+ <p class="forgot-password-link">
+ {{ t('public.login.forgotPassword') }} <NuxtLinkLocale to="/login/request-reset">{{ t('public.login.clickHere') }}</NuxtLinkLocale>
+ </p>
</form>
</template>
<template v-else>
- <h1>Two-Factor Authentication</h1>
- <p class="section-description">Enter the 6-digit verification code from your authenticator app.</p>
+ <h1>{{ t('public.login.OTP_2FA.title') }}</h1>
+ <p class="section-description">{{ t('public.login.OTP_2FA.description') }}</p>
<form @submit.prevent="handleVerify2FA">
<div class="form-group">
- <label for="totpCode">Verification Code</label>
+ <label for="totpCode">{{ t('public.login.OTP_2FA.code') }}</label>
<input
id="totpCode"
v-model="totpCode"
@@ -59,8 +61,8 @@
/>
</div>
<p v-if="errors.general" class="invalid-feedback">{{ errors.general }}</p>
- <button class="btn" :disabled="loginDisabled" type="submit">Verify</button>
- <button class="btn-secondary" type="button" @click="step2FA = false">Back</button>
+ <button class="btn" :disabled="loginDisabled" type="submit">{{ t('public.login.OTP_2FA.submit') }}</button>
+ <button class="btn-secondary" type="button" @click="step2FA = false">{{ t('public.login.OTP_2FA.back') }}</button>
</form>
</template>
</div>
@@ -69,6 +71,7 @@
<script setup lang="ts">
const userStore = useUserStore();
const router = useRouter();
+const { t } = useI18nT();
const username = ref('');
const password = ref('');
diff --git a/frontend/app/pages/(public)/login/oidc/callback.vue b/frontend/app/pages/(public)/login/oidc/callback.vue
index c99cff1a..34c7608c 100644
--- a/frontend/app/pages/(public)/login/oidc/callback.vue
+++ b/frontend/app/pages/(public)/login/oidc/callback.vue
@@ -5,26 +5,30 @@
<!-- Loading state -->
<div v-if="isProcessing" class="status-container">
<LoaderSpinner />
- <h1>Authenticating...</h1>
- <p>Please wait while we complete your sign-in.</p>
+ <h1>{{ t('public.login.oidc.title') }}</h1>
+ <p>{{ t('public.login.oidc.description') }}</p>
</div>
<!-- Success state -->
<div v-else-if="isSuccess" class="status-container success">
- <h1>{{ isLinkFlow ? 'Provider Linked!' : 'Welcome!' }}</h1>
- <p v-if="isLinkFlow">Your {{ providerName }} account has been linked successfully.</p>
- <p v-else-if="isNewLink">Your account has been created and linked successfully.</p>
- <p v-else>You have been signed in successfully.</p>
- <p class="redirect-notice">{{ isLinkFlow ? 'Redirecting to settings...' : 'Redirecting to dashboard...' }}</p>
+ <h1>{{ isLinkFlow ? t('public.login.oidc.linked') : t('public.login.oidc.signIn') }}</h1>
+ <p v-if="isLinkFlow">{{ t('public.login.oidc.linked') }}</p>
+ <p v-else-if="isNewLink">{{ t('public.login.oidc.created') }}</p>
+ <p v-else>{{ t('public.login.oidc.signIn') }}</p>
+ <p class="redirect-notice">{{ isLinkFlow ? t('public.login.oidc.redirectSettings') : t('public.login.oidc.redirectDashboard') }}</p>
</div>
<!-- Error state -->
<div v-else-if="errorMessage" class="status-container error">
- <h1>Authentication Failed</h1>
+ <h1>{{ t('public.login.oidc.error') }}</h1>
<p class="error-message">{{ formatError(errorMessage) }}</p>
<div class="actions-row">
- <NuxtLink to="/login"><AppButton large type="primary">Try Again</AppButton></NuxtLink>
- <NuxtLink to="/signup"><AppButton large type="secondary">Create Account</AppButton></NuxtLink>
+ <NuxtLinkLocale to="/login"
+ ><AppButton large type="primary">{{ t('public.login.oidc.tryAgain') }}</AppButton>
+ </NuxtLinkLocale>
+ <NuxtLinkLocale to="/signup">
+ <AppButton large type="secondary">{{ t('public.login.oidc.createAccount') }}</AppButton>
+ </NuxtLinkLocale>
</div>
</div>
</div>
@@ -37,6 +41,7 @@ definePageMeta({
const router = useRouter();
const { handleCallback } = useOIDC();
+const { t } = useI18nT();
const isProcessing = ref(true);
const isSuccess = ref(false);
diff --git a/frontend/app/pages/(public)/login/request-reset.vue b/frontend/app/pages/(public)/login/request-reset.vue
index c2c1ae97..e196f2ba 100644
--- a/frontend/app/pages/(public)/login/request-reset.vue
+++ b/frontend/app/pages/(public)/login/request-reset.vue
@@ -1,16 +1,19 @@
<template>
<div class="body-container">
<IconApp style="width: 120px" />
- <h1>Reset password</h1>
+ <h1>{{ t('public.login.reset.title') }}</h1>
<form @submit.prevent="reset">
<div class="form-group">
- <label for="username">Username</label>
+ <label for="username">{{ t('public.login.form.username') }}</label>
<input id="username" v-model="username" type="username" :class="{ 'is-invalid': errors.username }" />
<p v-if="errors.username" class="invalid-feedback">{{ errors.username }}</p>
</div>
- <button type="submit" class="btn">Request Reset</button>
+ <button type="submit" class="btn">{{ t('public.login.reset.submit') }}</button>
<p v-if="errors.general" class="invalid-feedback">{{ errors.general }}</p>
- <p class="issue">Having issue ? <NuxtLink to="mailto:[email protected]">Contact us !</NuxtLink></p>
+ <p class="issue">
+ {{ t('public.login.reset.havingIssues') }}
+ <NuxtLinkLocale to="mailto:[email protected]">{{ t('public.login.reset.contactUs') }}</NuxtLinkLocale>
+ </p>
</form>
</div>
</template>
@@ -20,6 +23,10 @@ definePageMeta({
layout: 'public',
});
+const { t } = useI18nT();
+const router = useRouter();
+const localeRoute = useLocaleRoute();
+
const username = ref('');
const errors = ref({
username: '',
@@ -32,7 +39,7 @@ async function reset() {
else errors.value.username = '';
userStore
.requestReset(username.value)
- .then(() => useRouter().push('/login/done'))
+ .then(() => router.push(localeRoute('/login/done')))
.catch(err => (errors.value.general = err || 'An error occurred while requesting reset'));
}
</script>
diff --git a/frontend/app/pages/(public)/login/reset.vue b/frontend/app/pages/(public)/login/reset.vue
index 17a79790..dd27de1c 100644
--- a/frontend/app/pages/(public)/login/reset.vue
+++ b/frontend/app/pages/(public)/login/reset.vue
@@ -2,40 +2,61 @@
<div class="container">
<div class="body-container">
<IconApp style="width: 120px" />
- <h1>Password Reset</h1>
+ <h1>{{ t('public.login.reset.title') }}</h1>
<form class="body" @submit.prevent="reset">
<div class="form-group">
- <label for="password">Password</label>
+ <label for="password">{{ t('public.login.form.password') }}</label>
<div class="password-input">
- <input id="password" v-model="password" :type="showPassword ? 'text' : 'password'" :class="{ 'is-invalid': errors.password }" />
- <button type="button" class="password-toggle" @click="showPassword = !showPassword">{{ showPassword ? 'Hide' : 'Show' }}</button>
+ <input
+ id="password"
+ :key="`password-${showPassword}`"
+ v-model="password"
+ :type="showPassword ? 'text' : 'password'"
+ :class="{ 'is-invalid': errors.password }"
+ />
+ <button type="button" class="password-toggle" @click="showPassword = !showPassword">
+ <div class="eye-icon" :class="{ show: showPassword }">
+ <Icon v-if="showPassword" name="eye" />
+ <Icon v-else name="eye_off" />
+ </div>
+ </button>
</div>
<p v-if="errors.password" class="invalid-feedback">{{ errors.password }}</p>
</div>
<div class="form-group">
- <label for="confirmPassword">Confirm Password</label>
+ <label for="confirmPassword">{{ t('public.login.form.confirmPassword') }}</label>
<div class="password-input">
<input
id="confirmPassword"
+ :key="`confirmPassword-${showConfirmPassword}`"
v-model="confirmPassword"
:type="showConfirmPassword ? 'text' : 'password'"
:class="{ 'is-invalid': errors.confirmPassword }"
/>
<button type="button" class="password-toggle" @click="showConfirmPassword = !showConfirmPassword">
- {{ showConfirmPassword ? 'Hide' : 'Show' }}
+ <div class="eye-icon" :class="{ show: showConfirmPassword }">
+ <Icon v-if="showConfirmPassword" name="eye" />
+ <Icon v-else name="eye_off" />
+ </div>
</button>
</div>
<p v-if="errors.confirmPassword" class="invalid-feedback">{{ errors.confirmPassword }}</p>
</div>
- <button type="submit" class="btn">Change password</button>
+ <button type="submit" class="btn">{{ t('public.login.reset.change') }}</button>
<p v-if="errors.general" class="invalid-feedback">{{ errors.general }}</p>
- <p class="sub"><NuxtLink to="/login">Return to login</NuxtLink></p>
+ <p class="sub">
+ <NuxtLinkLocale to="/login">{{ t('public.login.reset.done.returnToLogin') }}</NuxtLinkLocale>
+ </p>
</form>
</div>
</div>
</template>
<script setup lang="ts">
+const userStore = useUserStore();
+
+const { t } = useI18nT();
+
const password = ref('');
const confirmPassword = ref('');
const showPassword = ref(false);
@@ -45,7 +66,6 @@ const errors = ref({
confirmPassword: '',
general: '',
});
-const userStore = useUserStore();
async function reset() {
if (!password.value) errors.value.password = 'Password is required';
diff --git a/frontend/app/pages/(public)/signup.vue b/frontend/app/pages/(public)/signup.vue
index 3699cfc4..e823b3fd 100644
--- a/frontend/app/pages/(public)/signup.vue
+++ b/frontend/app/pages/(public)/signup.vue
@@ -1,20 +1,20 @@
<template>
<div class="body-container">
<IconApp style="width: 120px" />
- <h1>Account creation</h1>
+ <h1>{{ t('public.signup.title') }}</h1>
<form @submit.prevent="register">
<div class="form-group">
- <label for="username">Username <span class="required">*</span></label>
+ <label for="username">{{ t('public.signup.form.username') }} <span class="required">*</span></label>
<input id="username" v-model="username" type="text" :class="{ 'is-invalid': errors.username }" />
<p v-if="errors.username" class="invalid-feedback">{{ errors.username }}</p>
</div>
<div class="form-group">
- <label for="email">Email </label>
+ <label for="email">{{ t('public.signup.form.email') }}</label>
<input id="email" v-model="email" type="email" />
- <small>Email is only used for account recovery. It will not be shared publicly.</small>
+ <small>{{ t('public.signup.form.emailDescription') }}</small>
</div>
<div class="form-group">
- <label for="password">Password <span class="required">*</span></label>
+ <label for="password">{{ t('public.signup.form.password') }} <span class="required">*</span></label>
<div class="password-input">
<input
id="password"
@@ -33,7 +33,7 @@
<p v-if="errors.password" class="invalid-feedback">{{ errors.password }}</p>
</div>
<div class="form-group">
- <label for="confirmPassword">Confirm Password <span class="required">*</span></label>
+ <label for="confirmPassword">{{ t('public.signup.form.confirmPassword') }} <span class="required">*</span></label>
<div class="password-input">
<input
id="confirmPassword"
@@ -51,8 +51,8 @@
</div>
<p v-if="errors.confirmPassword" class="invalid-feedback">{{ errors.confirmPassword }}</p>
</div>
- <NuxtLink to="/login" class="login-link">Already have an account? Log in</NuxtLink>
- <button type="submit" class="btn">Sign Up</button>
+ <NuxtLinkLocale to="/login" class="login-link">{{ t('public.signup.alreadyHaveAccount') }}</NuxtLinkLocale>
+ <button type="submit" class="btn">{{ t('public.signup.form.submit') }}</button>
<p v-if="errors.general" class="invalid-feedback">{{ errors.general }}</p>
</form>
</div>
@@ -71,9 +71,11 @@ definePageMeta({
],
});
-const router = useRouter();
const userStore = useUserStore();
+const router = useRouter();
+const { t } = useI18nT();
+
// Form fields
const username = ref('');
const email = ref('');
@@ -105,7 +107,7 @@ watch([username, email, password, confirmPassword], () => {
async function createAccount(username: string, email: string, password: string) {
userStore
- .register({ username, email: email || undefined, password, role: 1 })
+ .register({ username, email: email || undefined, password, role: 1, totp_enabled: false })
.then(() => {
router.push('/login');
})
diff --git a/frontend/app/pages/dashboard.vue b/frontend/app/pages/dashboard.vue
index 88c3ffcc..d1231d9a 100644
--- a/frontend/app/pages/dashboard.vue
+++ b/frontend/app/pages/dashboard.vue
@@ -13,15 +13,47 @@
<script setup lang="ts">
const nodesStore = useNodesStore();
const userStore = useUserStore();
-const preferencesStore = usePreferencesStore();
+const preferences = usePreferencesStore();
+const { setAppColor } = useAppColors();
+const { locale: i18nLocale, loadLocaleMessages } = useI18n();
const { isLoading } = useAppState();
useStyleInjection(); // Custom styles for the app and documents
const { initGlobalListeners, destroyGlobalListeners } = useCommandCenter();
+const primaryColor = preferences.get('primaryColor');
+const interfaceStyle = preferences.get('style');
+const locale = preferences.get('locale');
+
+/* Watchers to make sure app state reflects preferences */
+watch(
+ primaryColor,
+ color => {
+ setAppColor(Number(color));
+ },
+ { immediate: true },
+);
+
+watch(
+ interfaceStyle,
+ style => {
+ if (import.meta.client) document.documentElement.classList.toggle('glassmorphism', style === 'glassmorphism');
+ },
+ { immediate: true },
+);
+
+watch(
+ locale,
+ async newLocale => {
+ await loadLocaleMessages(newLocale);
+ if (newLocale) i18nLocale.value = newLocale;
+ },
+ { immediate: true },
+);
+
nodesStore.init();
userStore.fetch();
-preferencesStore.fetchFromBackend();
+preferences.fetchFromBackend();
onMounted(() => {
initGlobalListeners();
diff --git a/frontend/app/pages/dashboard/settings/_views/apparence.vue b/frontend/app/pages/dashboard/settings/_views/apparence.vue
index 1d4ac636..22459ae9 100644
--- a/frontend/app/pages/dashboard/settings/_views/apparence.vue
+++ b/frontend/app/pages/dashboard/settings/_views/apparence.vue
@@ -12,7 +12,6 @@ const appColors = useAppColors();
const { t } = useI18nT();
const colorMode = useColorMode();
-const { setLocale } = useI18n();
const options = computed(
() =>
@@ -42,10 +41,6 @@ const options = computed(
{ label: '한국어', id: 'ko' },
{ label: 'Italian', id: 'it' },
],
- onChange: (option: unknown) => {
- const localeCode = option as 'en' | 'fr' | 'uk' | 'ko'| 'it';
- setLocale(localeCode);
- },
},
{
label: t('settings.appearance.chooseAccentColor'),
diff --git a/frontend/i18n/i18n.config.ts b/frontend/i18n/i18n.config.ts
index c4d87752..c96ccade 100644
--- a/frontend/i18n/i18n.config.ts
+++ b/frontend/i18n/i18n.config.ts
@@ -7,4 +7,3 @@ export default defineI18nConfig(() => ({
legacy: false,
locale: 'en',
}));
-
diff --git a/frontend/i18n/locales/de/index.ts b/frontend/i18n/locales/de/index.ts
index 4dc62439..ab306b7e 100644
--- a/frontend/i18n/locales/de/index.ts
+++ b/frontend/i18n/locales/de/index.ts
@@ -8,7 +8,9 @@ import components from './components';
import dashboard from './dashboard';
import importPage from './import';
import markdown from './markdown';
+import landing from './landing';
import nodes from './nodes';
+import publicPages from './public';
import settings from './settings';
import time from './time';
import user from './user';
@@ -22,8 +24,10 @@ export default {
components,
dashboard,
import: importPage,
+ landing,
markdown,
nodes,
+ public: publicPages,
settings,
time,
user,
diff --git a/frontend/i18n/locales/de/landing.ts b/frontend/i18n/locales/de/landing.ts
new file mode 100644
index 00000000..3385b33c
--- /dev/null
+++ b/frontend/i18n/locales/de/landing.ts
@@ -0,0 +1,236 @@
+export default {
+ seo: {
+ description:
+ 'Alexandrie ist ein schnelles, selbst hostbares Markdown-Arbeitsumfeld für Notizen, Wissensdatenbanken, Zusammenarbeit und öffentliche Dokumentation.',
+ keywords: 'Markdown-Notizen, Wissensdatenbank, selbst gehostete Notizen, öffentliche Dokumentation, Zusammenarbeit, Notiz-App',
+ title: 'Alexandrie | Moderne Markdown-Arbeitsumgebung',
+ },
+ hero: {
+ badges: {
+ markdown: 'Markdown',
+ openSource: 'Open Source',
+ organization: 'Organisation',
+ },
+ ctaPrimary: 'Loslegen',
+ ctaSecondary: 'GitHub',
+ titleHighlight: 'Deine Notizen',
+ titleSuffix: ', schön organisiert',
+ tagline: 'Eine leistungsstarke Markdown-Arbeitsumgebung für Geschwindigkeit, Klarheit und Kreativität.',
+ previewAlt: 'Vorschau der Alexandrie-App',
+ },
+ bento: {
+ title: 'Alles, was du zum besseren Schreiben brauchst',
+ subtitle: 'Leistungsstarke Funktionen in einer schönen, intuitiven Oberfläche',
+ editor: {
+ description:
+ 'Schreibe mit Syntax-Highlighting, Live-Vorschau und Tastenkürzeln. Tabellen, Codeblöcke, mathematische Gleichungen und mehr werden unterstützt.',
+ heading: 'Leistungsstarker Markdown-Editor',
+ sampleHeading: 'Willkommen bei Alexandrie',
+ sampleList: 'Listen sind einfach',
+ sampleMarkdown: 'Schreibe deine Notizen in Markdown',
+ sampleText: ' und ',
+ },
+ organization: {
+ description: 'Verschachtelte Ordner, Workspaces, Tags und leistungsstarke Suche halten alles am richtigen Platz.',
+ heading: 'Intelligente Organisation',
+ },
+ collaboration: {
+ description: 'Arbeite mit deinem Team zusammen. Teile Notizen, verwalte Berechtigungen und mehr.',
+ heading: 'Zusammenarbeiten und teilen',
+ editing: '3 Personen bearbeiten...',
+ },
+ cdn: {
+ description: 'Bilder und Dateien hochladen',
+ heading: 'Integriertes CDN',
+ },
+ themes: {
+ description: 'Themes für jede Stimmung',
+ extra: 'Ändere außerdem Farben, Dokument-Designs, füge benutzerdefinierte Farben, Icons und mehr hinzu.',
+ heading: 'Dunkel & Hell',
+ },
+ search: {
+ description: 'Volltextsuche über alle Dokumente. Finde alles in Millisekunden.',
+ heading: 'Blitzschnelle Suche',
+ input: 'react hooks...',
+ },
+ publish: {
+ description: 'Teile deine Arbeit öffentlich oder mit bestimmten Personen. Erzeuge schöne schreibgeschützte Seiten.',
+ heading: 'Veröffentlichen mit einem Klick',
+ status: 'Live',
+ url: 'docs.deineseite.com/guide',
+ },
+ organizationSamples: {
+ knowledgeBase: 'Wissensdatenbank',
+ projects: 'Projekte',
+ roadmap: 'Roadmap.md',
+ ideas: 'Ideen.md',
+ development: 'Entwicklung',
+ reactTips: 'React Tips.md',
+ },
+ searchResults: {
+ customHooks: 'Eigene Hooks',
+ reactHooksGuide: 'React-Hooks-Leitfaden',
+ path1: 'Wissensdatenbank / Entwicklung',
+ path2: 'Projekte / Frontend',
+ },
+ theme: {
+ subtitle: 'Ändere außerdem Farben, Dokumentdesigns, füge benutzerdefinierte Farben, Icons und mehr hinzu.',
+ },
+ },
+ showcase: {
+ features: [
+ {
+ description: 'Beginne sofort mit dem Schreiben dank ablenkungsfreiem Editor. Alles synchronisiert automatisch.',
+ points: ['Echtzeit-Autospeichern', 'Schnelle Tastenkürzel', 'Ablenkungsfreier Modus', 'Vorlagen für gängige Formate'],
+ shortDesc: 'Schnelle Notizen & Entwürfe',
+ title: 'Ideen sofort erfassen',
+ },
+ {
+ description: 'Erstelle eine leistungsstarke Wissensdatenbank mit verschachtelten Ordnern, Workspaces und intelligentem Tagging.',
+ points: ['Unbegrenzte verschachtelte Ordner', 'Mehrere Workspaces', 'Tag-basierte Organisation', 'Intelligente Filter und Ansichten'],
+ shortDesc: 'Strukturieren & kategorisieren',
+ title: 'Wissen organisieren',
+ },
+ {
+ description: 'Teile Notizen mit deinem Team, verwalte Berechtigungen und arbeite in Echtzeit zusammen.',
+ points: ['Feingranulare Berechtigungen', 'Echtzeit-Zusammenarbeit', 'Kommentare & Feedback', 'Aktivitätsverlauf'],
+ shortDesc: 'Team-Workflows',
+ title: 'Nahtlos zusammenarbeiten',
+ },
+ {
+ description: 'Verwandle deine Notizen mit einem Klick in schöne öffentliche Dokumentation.',
+ points: ['Eigene Domains', 'SEO-optimiert', 'Analytics integriert', 'Passwortschutz'],
+ shortDesc: 'Sofort live gehen',
+ title: 'Veröffentlichen & teilen',
+ },
+ ],
+ subtitle: 'Sieh, wie Alexandrie deinen gesamten Workflow vereinfacht',
+ title: 'Von der Idee zur veröffentlichten Doku',
+ },
+ selfHost: {
+ notes: ['Kein Telemetrie-Tracking', 'Volle Datenhoheit', 'MIT-Lizenz', 'Docker-bereit'],
+ steps: [
+ {
+ description:
+ 'Lade die Konfigurationsdateien von GitHub herunter <br /> <a target="_blank" style="color: var(--primary);text-decoration: underline;font-weight: 500;" href="https://github.com/Smaug6739/Alexandrie/blob/main/docker-compose.yml">docker-compose.yml herunterladen</a> <br /><a target="_blank" style="color: var(--primary);text-decoration: underline;font-weight: 500;" href="https://github.com/Smaug6739/Alexandrie/blob/main/.env.example">.env.example herunterladen</a> ',
+ title: 'Repository klonen',
+ },
+ {
+ code: 'cp .env.example .env && nano .env',
+ description: 'Passe die Umgebungsvariablen bei Bedarf an (optional)',
+ title: 'Konfigurieren',
+ },
+ {
+ code: 'docker compose up -d',
+ description: 'Starte alle Dienste mit Docker Compose',
+ title: 'Starten',
+ },
+ ],
+ subtitle: 'Beherrsche deine Daten mit einem einfachen Deployment vollständig selbst',
+ terminal: {
+ lines: ['[+] Running 3/3', '✓ Container alexandrie-db Started', '✓ Container alexandrie-minio Started', '✓ Container alexandrie-app Started'],
+ title: 'Terminal',
+ },
+ title: 'In wenigen Minuten selbst hosten',
+ },
+ stats: {
+ actions: {
+ contribute: 'Mitwirken',
+ star: 'Auf GitHub markieren',
+ tryApp: 'App ausprobieren',
+ },
+ badge: 'Open Source',
+ cardDescription: 'Die Open-Source-Arbeitsumgebung für Menschen, die in Markdown denken',
+ labels: {
+ contributors: 'Mitwirkende',
+ latestRelease: 'Neueste Version',
+ stars: 'GitHub-Sterne',
+ },
+ subtitle: 'Transparente Entwicklung, gemeinschaftsgetriebene Entscheidungen und voller Zugriff auf den Quellcode',
+ title: 'Offen entwickelt',
+ },
+ contributors: {
+ commitLabel: 'Commits',
+ cta: 'Mitwirkender werden',
+ subtitle: 'Lerne die großartigen Menschen kennen, die Alexandrie möglich machen',
+ title: 'Von der Community gebaut',
+ },
+ faq: {
+ answer1:
+ 'Ja, Alexandrie ist zu 100 % Open Source unter der MIT-Lizenz. Du kannst es frei nutzen, ändern und weitergeben. Keine versteckten Kosten, keine Premium-Stufen.',
+ answer2:
+ 'Absolut! Du kannst Alexandrie mit Docker auf deiner eigenen Infrastruktur betreiben. Eine vollständige Dokumentation hilft dir beim Start in wenigen Minuten.',
+ answer3:
+ 'Ja, Alexandrie ist nach Offline-First-Prinzipien gebaut. Deine Notizen sind lokal verfügbar und synchronisieren sich, sobald du dich wieder verbindest.',
+ answer4:
+ 'Beim Self-Hosting bleiben deine Daten auf deinem eigenen Server. Wir verwenden etablierte Sicherheitspraktiken und alle Datenübertragungen sind verschlüsselt.',
+ answer5:
+ 'Ja! Du kannst Markdown-Dateien aus anderen Apps wie Notion, Obsidian oder jedem Markdown-Editor importieren. Export zu PDF mit schöner Formatierung wird ebenfalls unterstützt.',
+ answer6: 'Auf jeden Fall! Wir unterstützen Syntax-Highlighting für über 100 Programmiersprachen und die Darstellung von LaTeX-Mathematikgleichungen.',
+ answer7: 'Alexandrie ist eine responsive Webanwendung, die auf Mobilgeräten hervorragend funktioniert. Native Apps sind auf der Roadmap.',
+ ctaDescription: 'Du findest nicht, wonach du suchst? Werde Teil unserer Community!',
+ ctaTitle: 'Noch Fragen?',
+ discord: 'Discord beitreten',
+ subtitle: 'Alles, was du über Alexandrie wissen musst',
+ title: 'Häufig gestellte Fragen',
+ questions: [
+ 'Ist Alexandrie wirklich kostenlos und Open Source?',
+ 'Kann ich Alexandrie auf meinem eigenen Server selbst hosten?',
+ 'Funktioniert Alexandrie offline?',
+ 'Wie werden meine Daten gespeichert und geschützt?',
+ 'Kann ich meine Notizen aus anderen Apps importieren?',
+ 'Unterstützt es Codeblöcke und mathematische Gleichungen?',
+ 'Gibt es eine mobile App?',
+ ],
+ },
+ cta: {
+ discord: 'Discord-Server',
+ description: 'Begleite uns auf dem Weg zu besserem Notieren.',
+ title: 'Bereit für bessere Notizen?',
+ button: 'Jetzt starten',
+ contributionPrefix: 'Möchtest du mitwirken oder dich austauschen? Schau dir unseren',
+ },
+ support: {
+ badge: 'Ein Wort vom Ersteller',
+ confirm: 'Ich verstehe, danke!',
+ paragraph1:
+ 'Alexandrie begann nicht als Geschäft. Es war zuerst ein Werkzeug, das ich für mich selbst wollte. Jahre später pflege und verbessere ich es immer noch in meiner Freizeit und teile es gern mit allen, die es nützlich finden.',
+ paragraph2:
+ 'Die Anwendung verfolgt dich nicht, zeigt keine Anzeigen und ist vollständig Open Source. Der Betrieb der Live-Plattform verursacht jedoch Hosting- und Infrastrukturkosten. Wenn Alexandrie deinem Arbeitsalltag hilft, erwäge, seine Unabhängigkeit zu unterstützen. Schon die kleinste Spende hilft, die Server monatelang zu bezahlen.',
+ title: 'Alexandrie ist kostenlos und bleibt es auch.',
+ signature: '— Smaug',
+ cards: {
+ sponsorDesc: 'Hilf dabei, Hosting, Backups und Entwicklungskosten zu decken, damit Alexandrie online und unabhängig bleibt.',
+ sponsorTitle: 'Finanziell unterstützen',
+ starDesc: 'Zeige deine Unterstützung und hilf anderen Entwicklern, das Projekt zu entdecken. Es kostet nichts und bedeutet alles.',
+ starTitle: 'Auf GitHub markieren',
+ },
+ },
+ footer: {
+ brandDescription: 'Die Open-Source-Arbeitsumgebung für Entwickler, die in Markdown denken. Schöne Doku, starke Organisation, kein Reibungsverlust.',
+ madeWith: 'Gemacht mit',
+ columns: {
+ community: 'Community',
+ legal: 'Rechtliches',
+ product: 'Produkt',
+ resources: 'Ressourcen',
+ },
+ links: {
+ about: 'Über uns',
+ apiReference: 'API-Referenz',
+ changelog: 'Änderungsprotokoll',
+ contribute: 'Mitwirken',
+ dashboard: 'Dashboard',
+ discord: 'Discord',
+ documentation: 'Dokumentation',
+ features: 'Funktionen',
+ github: 'GitHub',
+ issues: 'Issues',
+ mitLicense: 'MIT-Lizenz',
+ privacyPolicy: 'Datenschutzerklärung',
+ roadmap: 'Roadmap',
+ terms: 'Nutzungsbedingungen',
+ },
+ by: 'von',
+ },
+};
diff --git a/frontend/i18n/locales/de/public.ts b/frontend/i18n/locales/de/public.ts
new file mode 100644
index 00000000..118ce498
--- /dev/null
+++ b/frontend/i18n/locales/de/public.ts
@@ -0,0 +1,64 @@
+export default {
+ nav: {
+ login: 'Einloggen',
+ signup: 'Registrieren',
+ home: 'Startseite',
+ },
+ login: {
+ title: 'Anmeldung',
+ form: {
+ username: 'Benutzername',
+ password: 'Passwort',
+ confirmPassword: 'Passwort bestätigen',
+ submit: 'Einloggen',
+ },
+ disabled: 'Die lokale Anmeldung ist derzeit deaktiviert. Bitte nutzen Sie einen der unten verfügbaren Authentifizierungsanbieter.',
+ needAccount: 'Benötigen Sie ein Konto? Registrieren',
+ forgotPassword: 'Passwort vergessen?',
+ clickHere: 'Hier klicken',
+ OTP_2FA: {
+ title: 'Zwei-Faktor-Authentisierung',
+ description: 'Bitte geben Sie den 6-stelligen Code aus Ihrer Authentifikator-App ein.',
+ code: 'Authentifizierungscode',
+ submit: 'Verifizieren',
+ back: 'Zurück',
+ },
+ reset: {
+ title: 'Passwort zurücksetzen',
+ submit: 'Zurücksetzung anfordern',
+ change: 'Passwort ändern',
+ havingIssues: 'Haben Sie Probleme?',
+ contactUs: 'Kontaktieren Sie uns!',
+ done: {
+ title: 'Anweisungen gesendet',
+ description:
+ 'Überprüfen Sie Ihre E-Mails auf einen Link zum Zurücksetzen Ihres Passworts. Wenn dieser nicht innerhalb weniger Minuten erscheint, überprüfen Sie Ihren Spam-Ordner.',
+ returnToLogin: 'Zurück zum Login',
+ },
+ },
+ oidc: {
+ title: 'Authentifizierung...',
+ description: 'Bitte warten Sie, während wir Ihre Anmeldung abschließen.',
+ linked: 'Ihr {{ providerName }}-Konto wurde erfolgreich verknüpft.',
+ created: 'Ihr Konto wurde erfolgreich erstellt und verknüpft.',
+ signIn: 'Sie wurden erfolgreich angemeldet.',
+ redirectSettings: 'Weiterleitung zu den Einstellungen...',
+ redirectDashboard: 'Weiterleitung zum Dashboard...',
+ error: 'Authentifizierung fehlgeschlagen',
+ tryAgain: 'Erneut versuchen',
+ createAccount: 'Konto erstellen',
+ },
+ },
+ signup: {
+ title: 'Kontoerstellung',
+ form: {
+ username: 'Benutzername',
+ email: 'E-Mail',
+ emailDescription: 'Die E-Mail-Adresse wird nur zur Kontowiederherstellung verwendet und wird nicht öffentlich geteilt.',
+ password: 'Passwort',
+ confirmPassword: 'Passwort bestätigen',
+ submit: 'Registrieren',
+ },
+ alreadyHaveAccount: 'Haben Sie bereits ein Konto? Einloggen',
+ },
+};
diff --git a/frontend/i18n/locales/en/index.ts b/frontend/i18n/locales/en/index.ts
index ba2191b6..cc5cb711 100644
--- a/frontend/i18n/locales/en/index.ts
+++ b/frontend/i18n/locales/en/index.ts
@@ -6,7 +6,9 @@ import components from './components';
import dashboard from './dashboard';
import importPage from './import';
import markdown from './markdown';
+import landing from './landing';
import nodes from './nodes';
+import publicPages from './public';
import settings from './settings';
import time from './time';
import user from './user';
@@ -20,8 +22,10 @@ export default {
components,
dashboard,
import: importPage,
+ landing,
markdown,
nodes,
+ public: publicPages,
settings,
time,
user,
diff --git a/frontend/i18n/locales/en/landing.ts b/frontend/i18n/locales/en/landing.ts
new file mode 100644
index 00000000..3f60fbe1
--- /dev/null
+++ b/frontend/i18n/locales/en/landing.ts
@@ -0,0 +1,231 @@
+export default {
+ seo: {
+ description: 'Alexandrie is a fast, self-hostable Markdown workspace for notes, knowledge bases, collaboration, and public documentation.',
+ keywords: 'Markdown notes, knowledge base, self-hosted notes, public documentation, collaboration, note taking app',
+ title: 'Alexandrie | Modern Markdown workspace',
+ },
+ hero: {
+ badges: {
+ markdown: 'Markdown',
+ openSource: 'Open-source',
+ organization: 'Organization',
+ },
+ ctaPrimary: 'Get Started',
+ ctaSecondary: 'GitHub',
+ titleHighlight: 'Your Notes',
+ titleSuffix: ', Beautifully Organized',
+ tagline: 'A powerful Markdown workspace designed for speed, clarity, and creativity.',
+ previewAlt: 'Alexandrie app preview',
+ },
+ bento: {
+ title: 'Everything you need to write better',
+ subtitle: 'Powerful features packed into a beautiful, intuitive interface',
+ editor: {
+ description: 'Write with syntax highlighting, live preview, and keyboard shortcuts. Support for tables, code blocks, math equations, and more.',
+ heading: 'Powerful Markdown Editor',
+ sampleHeading: 'Welcome to Alexandrie',
+ sampleList: 'Lists are easy',
+ sampleMarkdown: 'Write your notes in Markdown',
+ sampleText: ' and ',
+ },
+ organization: {
+ description: 'Nested folders, workspaces, tags, and powerful search to keep everything in its place.',
+ heading: 'Smart Organization',
+ },
+ collaboration: {
+ description: 'Work together with your team. Share notes, manage permissions, and more.',
+ heading: 'Collaborate and share',
+ editing: '3 people editing...',
+ },
+ cdn: {
+ description: 'Upload images & files',
+ heading: 'Built-in CDN',
+ },
+ themes: {
+ description: 'Themes for every mood',
+ extra: 'Also change the colors, document themes, add some custom colors, icons, and more.',
+ heading: 'Dark & Light',
+ },
+ search: {
+ description: 'Full-text search across all your documents. Find anything in milliseconds.',
+ heading: 'Lightning Fast Search',
+ input: 'react hooks...',
+ },
+ publish: {
+ description: 'Share your work publicly or with specific people. Generate beautiful read-only pages.',
+ heading: 'One-Click Publish',
+ status: 'Live',
+ url: 'docs.yoursite.com/guide',
+ },
+ organizationSamples: {
+ knowledgeBase: 'Knowledge Base',
+ projects: 'Projects',
+ roadmap: 'Roadmap.md',
+ ideas: 'Ideas.md',
+ development: 'Development',
+ reactTips: 'React Tips.md',
+ },
+ searchResults: {
+ customHooks: 'Custom Hooks',
+ reactHooksGuide: 'React Hooks Guide',
+ path1: 'Knowledge Base / Development',
+ path2: 'Projects / Frontend',
+ },
+ theme: {
+ subtitle: 'Also change the colors, document themes, add some custom colors, icons, and more.',
+ },
+ },
+ showcase: {
+ features: [
+ {
+ description: 'Start writing immediately with our distraction-free editor. Everything syncs automatically.',
+ points: ['Real-time autosave', 'Quick keyboard shortcuts', 'Distraction-free mode', 'Templates for common formats'],
+ shortDesc: 'Quick notes & drafts',
+ title: 'Capture Ideas Instantly',
+ },
+ {
+ description: 'Create a powerful knowledge base with nested folders, workspaces, and smart tagging.',
+ points: ['Unlimited nested folders', 'Multiple workspaces', 'Tag-based organization', 'Smart filters & views'],
+ shortDesc: 'Structure & categorize',
+ title: 'Organize Your Knowledge',
+ },
+ {
+ description: 'Share notes with your team, manage permissions, and work together in real-time.',
+ points: ['Granular permissions', 'Real-time collaboration', 'Comment & feedback', 'Activity history'],
+ shortDesc: 'Team workflows',
+ title: 'Collaborate Seamlessly',
+ },
+ {
+ description: 'Transform your notes into beautiful public documentation with one click.',
+ points: ['Custom domains', 'SEO optimized', 'Analytics built-in', 'Password protection'],
+ shortDesc: 'Go live instantly',
+ title: 'Publish & Share',
+ },
+ ],
+ subtitle: 'See how Alexandrie streamlines your entire workflow',
+ title: 'From idea to published docs',
+ },
+ selfHost: {
+ notes: ['No telemetry', 'Full data ownership', 'MIT License', 'Docker ready'],
+ steps: [
+ {
+ description:
+ 'Get the config files from GitHub <br /> <a target="_blank" style="color: var(--primary);text-decoration: underline;font-weight: 500;" href="https://github.com/Smaug6739/Alexandrie/blob/main/docker-compose.yml">Download the docker-compose.yml file</a> <br /><a target="_blank" style="color: var(--primary);text-decoration: underline;font-weight: 500;" href="https://github.com/Smaug6739/Alexandrie/blob/main/.env.example">Download the .env.example file</a> ',
+ title: 'Clone the repo',
+ },
+ {
+ code: 'cp .env.example .env && nano .env',
+ description: 'Change environment variables as needed (optional)',
+ title: 'Configure',
+ },
+ {
+ code: 'docker compose up -d',
+ description: 'Start all services with Docker Compose',
+ title: 'Launch',
+ },
+ ],
+ subtitle: 'Take full control of your data with a simple deployment',
+ terminal: {
+ lines: ['[+] Running 3/3', '✓ Container alexandrie-db Started', '✓ Container alexandrie-minio Started', '✓ Container alexandrie-app Started'],
+ title: 'Terminal',
+ },
+ title: 'Self-host in minutes',
+ },
+ stats: {
+ actions: {
+ contribute: 'Contribute',
+ star: 'Star on GitHub',
+ tryApp: 'Try the app',
+ },
+ badge: 'Open Source',
+ cardDescription: 'The open-source workspace for developers who think in Markdown',
+ labels: {
+ contributors: 'Contributors',
+ latestRelease: 'Latest release',
+ stars: 'GitHub stars',
+ },
+ subtitle: 'Transparent development, community-driven decisions, and full access to the source code',
+ title: 'Built in the open',
+ },
+ contributors: {
+ commitLabel: 'commits',
+ cta: 'Become a contributor',
+ subtitle: 'Meet the amazing people who make Alexandrie possible',
+ title: 'Built by the community',
+ },
+ faq: {
+ answer1:
+ 'Yes, Alexandrie is 100% open-source under the MIT license. You can use it, modify it, and distribute it freely. No hidden costs, no premium tiers.',
+ answer2: 'Absolutely! You can run Alexandrie on your own infrastructure using Docker. Full documentation is available to help you get started in minutes.',
+ answer3: 'Yes, Alexandrie is designed with offline-first principles. Your notes are available locally and sync when you reconnect.',
+ answer4: 'When self-hosting, your data stays on your own server. We use industry-standard security practices, and all data transmission is encrypted.',
+ answer5:
+ 'Yes! You can import Markdown files from other apps like Notion, Obsidian, or any Markdown editor. Export to PDF with beautiful formatting is also supported.',
+ answer6: 'Definitely! We support syntax highlighting for 100+ programming languages and LaTeX math equations rendering.',
+ answer7: 'Alexandrie is a responsive web application that works great on mobile browsers. Native apps are on our roadmap.',
+ ctaDescription: "Can't find what you're looking for? Join our community!",
+ ctaTitle: 'Still have questions?',
+ discord: 'Join Discord',
+ subtitle: 'Everything you need to know about Alexandrie',
+ title: 'Frequently asked questions',
+ questions: [
+ 'Is Alexandrie really free and open-source?',
+ 'Can I self-host Alexandrie on my own server?',
+ 'Does Alexandrie work offline?',
+ 'How is my data stored and secured?',
+ 'Can I import my notes from other apps?',
+ 'Does it support code blocks and math equations?',
+ 'Is there a mobile app available?',
+ ],
+ },
+ cta: {
+ discord: 'Discord server',
+ description: 'Join us on this journey to better note-taking.',
+ title: 'Ready to Take Better Notes?',
+ button: 'Start Now',
+ contributionPrefix: 'Want to contribute or discuss? Check out our',
+ },
+ support: {
+ badge: 'A word from the creator',
+ confirm: 'I understand, thank you!',
+ paragraph1:
+ "Alexandrie didn't start as a business. It started as a tool I wanted for myself. Years later, I'm still maintaining and improving it in my spare time, and I'm happy to share it with anyone who finds it useful.",
+ paragraph2:
+ 'The application does not track you, does not serve ads, and is fully open-source. However, keeping the live platform running involves hosting and infrastructure costs. If Alexandrie adds value to your daily workflow, consider supporting its independence. Even the smallest donation helps cover the servers for months.',
+ title: 'Alexandrie is free, and it will stay that way.',
+ signature: '— Smaug',
+ cards: {
+ sponsorDesc: 'Help cover hosting, backup infrastructure, and development costs to keep Alexandrie online and independent.',
+ sponsorTitle: 'Support financially',
+ starDesc: 'Show your support and help other developers discover the project. It costs nothing but means everything.',
+ starTitle: 'Star on GitHub',
+ },
+ },
+ footer: {
+ brandDescription: 'The open-source workspace for developers who think in Markdown. Beautiful docs, powerful organization, zero friction.',
+ madeWith: 'Made with',
+ columns: {
+ community: 'Community',
+ legal: 'Legal',
+ product: 'Product',
+ resources: 'Resources',
+ },
+ links: {
+ about: 'About',
+ apiReference: 'API Reference',
+ changelog: 'Changelog',
+ contribute: 'Contribute',
+ dashboard: 'Dashboard',
+ discord: 'Discord',
+ documentation: 'Documentation',
+ features: 'Features',
+ github: 'GitHub',
+ issues: 'Issues',
+ mitLicense: 'MIT License',
+ privacyPolicy: 'Privacy Policy',
+ roadmap: 'Roadmap',
+ terms: 'Terms of Service',
+ },
+ by: 'by',
+ },
+};
diff --git a/frontend/i18n/locales/en/public.ts b/frontend/i18n/locales/en/public.ts
new file mode 100644
index 00000000..308c95c4
--- /dev/null
+++ b/frontend/i18n/locales/en/public.ts
@@ -0,0 +1,64 @@
+export default {
+ nav: {
+ login: 'Login',
+ signup: 'Sign up',
+ home: 'Home',
+ },
+ login: {
+ title: 'Connection',
+ form: {
+ username: 'Username',
+ password: 'Password',
+ confirmPassword: 'Confirm Password',
+ submit: 'Login',
+ },
+ disabled: 'Native login is currently disabled. Please use one of the available authentication providers below.',
+ needAccount: 'Need an account? Sign up',
+ forgotPassword: 'Forgot your password?',
+ clickHere: 'Click here',
+ OTP_2FA: {
+ title: 'Two-Factor Authentication',
+ description: 'Please enter the 6-digit code from your authenticator app.',
+ code: 'Authentication code',
+ submit: 'Verify',
+ back: 'Back',
+ },
+ reset: {
+ title: 'Reset password',
+ submit: 'Request reset',
+ change: 'Change password',
+ havingIssues: 'Having issues?',
+ contactUs: 'Contact us !',
+ done: {
+ title: 'Instructions sent',
+ description: 'Check your email for a link to reset your password. If it doesn’t appear within a few minutes, check your spam folder.',
+ returnToLogin: 'Return to login',
+ },
+ },
+ oidc: {
+ title: 'Authenticating...',
+ description: 'Please wait while we complete your sign-in.',
+
+ linked: 'Your {{ providerName }} account has been linked successfully.',
+ created: 'Your account has been created and linked successfully.',
+ signIn: 'You have been signed in successfully.',
+ redirectSettings: 'Redirecting to settings...',
+ redirectDashboard: 'Redirecting to dashboard...',
+ error: 'Authentication Failed',
+ tryAgain: 'Try again',
+ createAccount: 'Create an account',
+ },
+ },
+ signup: {
+ title: 'Account creation',
+ form: {
+ username: 'Username',
+ email: 'Email',
+ emailDescription: 'Email is only used for account recovery. It will not be shared publicly.',
+ password: 'Password',
+ confirmPassword: 'Confirm Password',
+ submit: 'Sign up',
+ },
+ alreadyHaveAccount: 'Already have an account? Login',
+ },
+};
diff --git a/frontend/i18n/locales/fr/index.ts b/frontend/i18n/locales/fr/index.ts
index 4dc62439..ab306b7e 100644
--- a/frontend/i18n/locales/fr/index.ts
+++ b/frontend/i18n/locales/fr/index.ts
@@ -8,7 +8,9 @@ import components from './components';
import dashboard from './dashboard';
import importPage from './import';
import markdown from './markdown';
+import landing from './landing';
import nodes from './nodes';
+import publicPages from './public';
import settings from './settings';
import time from './time';
import user from './user';
@@ -22,8 +24,10 @@ export default {
components,
dashboard,
import: importPage,
+ landing,
markdown,
nodes,
+ public: publicPages,
settings,
time,
user,
diff --git a/frontend/i18n/locales/fr/landing.ts b/frontend/i18n/locales/fr/landing.ts
new file mode 100644
index 00000000..d27f2b81
--- /dev/null
+++ b/frontend/i18n/locales/fr/landing.ts
@@ -0,0 +1,237 @@
+export default {
+ seo: {
+ description:
+ 'Alexandrie est un espace Markdown rapide et auto-hébergeable pour les notes, bases de connaissances, la collaboration et la documentation publique.',
+ keywords: 'notes Markdown, base de connaissances, notes auto-hébergées, documentation publique, collaboration, prise de notes',
+ title: 'Alexandrie | Espace Markdown moderne',
+ },
+ hero: {
+ badges: {
+ markdown: 'Markdown',
+ openSource: 'Open source',
+ organization: 'Organisation',
+ },
+ ctaPrimary: 'Commencer',
+ ctaSecondary: 'GitHub',
+ titleHighlight: 'Vos notes',
+ titleSuffix: ', organisées avec élégance',
+ tagline: 'Un espace Markdown puissant conçu pour la vitesse, la clarté et la créativité.',
+ previewAlt: 'Aperçu de l’application Alexandrie',
+ },
+ bento: {
+ title: 'Tout ce qu’il faut pour mieux écrire',
+ subtitle: 'Des fonctionnalités puissantes dans une interface belle et intuitive',
+ editor: {
+ description: 'Écrivez avec coloration syntaxique, aperçu en direct et raccourcis clavier. Tables, blocs de code, équations mathématiques et plus encore.',
+ heading: 'Éditeur Markdown puissant',
+ sampleHeading: 'Bienvenue sur Alexandrie',
+ sampleList: 'Les listes sont simples',
+ sampleMarkdown: 'Rédigez vos notes en Markdown',
+ sampleText: ' et ',
+ },
+ organization: {
+ description: 'Dossiers imbriqués, espaces de travail, tags et recherche avancée pour tout garder à sa place.',
+ heading: 'Organisation intelligente',
+ },
+ collaboration: {
+ description: 'Travaillez avec votre équipe. Partagez des notes, gérez les permissions et plus encore.',
+ heading: 'Collaborer et partager',
+ editing: '3 personnes en train d’éditer...',
+ },
+ cdn: {
+ description: 'Téléversez des images et fichiers',
+ heading: 'CDN intégré',
+ },
+ themes: {
+ description: 'Des thèmes pour toutes les envies',
+ extra: 'Changez aussi les couleurs, les thèmes de documents, ajoutez des couleurs personnalisées, des icônes et plus encore.',
+ heading: 'Clair & sombre',
+ },
+ search: {
+ description: 'Recherche plein texte dans tous vos documents. Trouvez n’importe quoi en quelques millisecondes.',
+ heading: 'Recherche ultra rapide',
+ input: 'react hooks...',
+ },
+ publish: {
+ description: 'Partagez votre travail publiquement ou avec des personnes précises. Générez de belles pages en lecture seule.',
+ heading: 'Publication en un clic',
+ status: 'En ligne',
+ url: 'docs.votresite.com/guide',
+ },
+ organizationSamples: {
+ knowledgeBase: 'Base de connaissances',
+ projects: 'Projets',
+ roadmap: 'Roadmap.md',
+ ideas: 'Idées.md',
+ development: 'Développement',
+ reactTips: 'React Tips.md',
+ },
+ searchResults: {
+ customHooks: 'Hooks personnalisés',
+ reactHooksGuide: 'Guide des React Hooks',
+ path1: 'Base de connaissances / Développement',
+ path2: 'Projets / Frontend',
+ },
+ theme: {
+ subtitle: 'Changez aussi les couleurs, les thèmes de documents, ajoutez des couleurs personnalisées, des icônes et plus encore.',
+ },
+ },
+ showcase: {
+ features: [
+ {
+ description: 'Commencez à écrire immédiatement avec un éditeur sans distraction. Tout se synchronise automatiquement.',
+ points: ['Sauvegarde automatique en temps réel', 'Raccourcis clavier rapides', 'Mode sans distraction', 'Modèles pour les formats courants'],
+ shortDesc: 'Notes et brouillons rapides',
+ title: 'Capturez vos idées instantanément',
+ },
+ {
+ description: 'Créez une base de connaissances puissante avec dossiers imbriqués, espaces de travail et balisage intelligent.',
+ points: ['Dossiers imbriqués illimités', 'Espaces de travail multiples', 'Organisation par tags', 'Filtres et vues intelligents'],
+ shortDesc: 'Structurer et classer',
+ title: 'Organisez votre savoir',
+ },
+ {
+ description: 'Partagez des notes avec votre équipe, gérez les permissions et collaborez en temps réel.',
+ points: ['Permissions granulaires', 'Collaboration en temps réel', 'Commentaires et retours', 'Historique d’activité'],
+ shortDesc: 'Flux d’équipe',
+ title: 'Collaborez sans friction',
+ },
+ {
+ description: 'Transformez vos notes en belle documentation publique en un clic.',
+ points: ['Domaines personnalisés', 'SEO optimisé', 'Statistiques intégrées', 'Protection par mot de passe'],
+ shortDesc: 'Mise en ligne instantanée',
+ title: 'Publier et partager',
+ },
+ ],
+ subtitle: 'Découvrez comment Alexandrie simplifie tout votre flux de travail',
+ title: 'De l’idée aux docs publiées',
+ },
+ selfHost: {
+ notes: ['Aucune télémétrie', 'Propriété totale des données', 'Licence MIT', 'Prêt pour Docker'],
+ steps: [
+ {
+ description:
+ 'Récupérez les fichiers de configuration depuis GitHub <br /> <a target="_blank" style="color: var(--primary);text-decoration: underline;font-weight: 500;" href="https://github.com/Smaug6739/Alexandrie/blob/main/docker-compose.yml">Télécharger le fichier docker-compose.yml</a> <br /><a target="_blank" style="color: var(--primary);text-decoration: underline;font-weight: 500;" href="https://github.com/Smaug6739/Alexandrie/blob/main/.env.example">Télécharger le fichier .env.example</a> ',
+ title: 'Cloner le dépôt',
+ },
+ {
+ code: 'cp .env.example .env && nano .env',
+ description: 'Modifiez les variables d’environnement si nécessaire (optionnel)',
+ title: 'Configurer',
+ },
+ {
+ code: 'docker compose up -d',
+ description: 'Démarrez tous les services avec Docker Compose',
+ title: 'Lancer',
+ },
+ ],
+ subtitle: 'Gardez le contrôle total de vos données avec un déploiement simple',
+ terminal: {
+ lines: ['[+] Running 3/3', '✓ Container alexandrie-db Started', '✓ Container alexandrie-minio Started', '✓ Container alexandrie-app Started'],
+ title: 'Terminal',
+ },
+ title: 'Auto-hébergez en quelques minutes',
+ },
+ stats: {
+ actions: {
+ contribute: 'Contribuer',
+ star: 'Mettre une étoile sur GitHub',
+ tryApp: 'Essayer l’application',
+ },
+ badge: 'Open source',
+ cardDescription: 'L’espace de travail open source pour celles et ceux qui pensent en Markdown',
+ labels: {
+ contributors: 'Contributeurs',
+ latestRelease: 'Dernière version',
+ stars: 'Étoiles GitHub',
+ },
+ subtitle: 'Développement transparent, décisions portées par la communauté et accès total au code source',
+ title: 'Construit au grand jour',
+ },
+ contributors: {
+ commitLabel: 'commits',
+ cta: 'Devenir contributeur',
+ subtitle: 'Rencontrez les personnes formidables qui rendent Alexandrie possible',
+ title: 'Construit par la communauté',
+ },
+ faq: {
+ answer1:
+ 'Oui, Alexandrie est 100 % open source sous licence MIT. Vous pouvez l’utiliser, le modifier et le redistribuer librement. Aucun coût caché, aucun palier premium.',
+ answer2:
+ 'Absolument ! Vous pouvez exécuter Alexandrie sur votre propre infrastructure avec Docker. Une documentation complète vous aide à démarrer en quelques minutes.',
+ answer3:
+ 'Oui, Alexandrie est conçu selon des principes offline-first. Vos notes sont disponibles localement et se synchronisent dès que vous vous reconnectez.',
+ answer4:
+ 'En auto-hébergement, vos données restent sur votre propre serveur. Nous utilisons des pratiques de sécurité standard et tout le trafic est chiffré.',
+ answer5:
+ 'Oui ! Vous pouvez importer des fichiers Markdown depuis Notion, Obsidian ou tout autre éditeur Markdown. L’export PDF avec une belle mise en forme est aussi pris en charge.',
+ answer6: 'Bien sûr ! Nous supportons la coloration syntaxique pour plus de 100 langages et le rendu des équations mathématiques LaTeX.',
+ answer7:
+ 'Alexandrie est une application web responsive qui fonctionne très bien sur mobile. Des applications natives sont prévues sur la feuille de route.',
+ ctaDescription: 'Vous ne trouvez pas ce que vous cherchez ? Rejoignez notre communauté !',
+ ctaTitle: 'Vous avez encore des questions ?',
+ discord: 'Rejoindre Discord',
+ subtitle: 'Tout ce qu’il faut savoir sur Alexandrie',
+ title: 'Questions fréquentes',
+ questions: [
+ 'Alexandrie est-il vraiment gratuit et open source ?',
+ 'Puis-je auto-héberger Alexandrie sur mon propre serveur ?',
+ 'Alexandrie fonctionne-t-il hors ligne ?',
+ 'Comment mes données sont-elles stockées et sécurisées ?',
+ 'Puis-je importer mes notes depuis d’autres applications ?',
+ 'Prend-il en charge les blocs de code et les équations mathématiques ?',
+ 'Existe-t-il une application mobile ?',
+ ],
+ },
+ cta: {
+ discord: 'serveur Discord',
+ description: 'Rejoignez-nous dans cette aventure pour une meilleure prise de notes.',
+ title: 'Prêt à mieux prendre vos notes ?',
+ button: 'Commencer maintenant',
+ contributionPrefix: 'Vous voulez contribuer ou discuter ? Découvrez notre',
+ },
+ support: {
+ badge: 'Un mot du créateur',
+ confirm: 'Je comprends, merci !',
+ paragraph1:
+ 'Alexandrie n’a pas commencé comme une entreprise. C’était d’abord un outil que je voulais pour moi. Des années plus tard, je continue à le maintenir et à l’améliorer pendant mon temps libre, et je suis heureux de le partager avec toute personne qui le trouve utile.',
+ paragraph2:
+ 'L’application ne vous piste pas, n’affiche pas de publicités et est totalement open source. En revanche, maintenir la plateforme en ligne implique des coûts d’hébergement et d’infrastructure. Si Alexandrie apporte de la valeur à votre quotidien, pensez à soutenir son indépendance. Même un petit don aide à couvrir les serveurs pendant des mois.',
+ title: 'Alexandrie est gratuit, et il le restera.',
+ signature: '— Smaug',
+ cards: {
+ sponsorDesc: 'Aidez à couvrir l’hébergement, les sauvegardes et les coûts de développement pour garder Alexandrie en ligne et indépendant.',
+ sponsorTitle: 'Soutenir financièrement',
+ starDesc: 'Montrez votre soutien et aidez d’autres développeurs à découvrir le projet. Cela ne coûte rien mais change tout.',
+ starTitle: 'Mettre une étoile sur GitHub',
+ },
+ },
+ footer: {
+ brandDescription:
+ 'L’espace de travail open source pour les développeurs qui pensent en Markdown. De beaux documents, une organisation puissante, zéro friction.',
+ madeWith: 'Fait avec',
+ columns: {
+ community: 'Communauté',
+ legal: 'Légal',
+ product: 'Produit',
+ resources: 'Ressources',
+ },
+ links: {
+ about: 'À propos',
+ apiReference: 'Référence API',
+ changelog: 'Journal des modifications',
+ contribute: 'Contribuer',
+ dashboard: 'Tableau de bord',
+ discord: 'Discord',
+ documentation: 'Documentation',
+ features: 'Fonctionnalités',
+ github: 'GitHub',
+ issues: 'Issues',
+ mitLicense: 'Licence MIT',
+ privacyPolicy: 'Politique de confidentialité',
+ roadmap: 'Feuille de route',
+ terms: 'Conditions d’utilisation',
+ },
+ by: 'par',
+ },
+};
diff --git a/frontend/i18n/locales/fr/public.ts b/frontend/i18n/locales/fr/public.ts
new file mode 100644
index 00000000..b815988f
--- /dev/null
+++ b/frontend/i18n/locales/fr/public.ts
@@ -0,0 +1,64 @@
+export default {
+ nav: {
+ login: 'Connexion',
+ signup: "S'inscrire",
+ home: 'Accueil',
+ },
+ login: {
+ title: 'Connexion',
+ form: {
+ username: "Nom d'utilisateur",
+ password: 'Mot de passe',
+ confirmPassword: 'Confirmer le mot de passe',
+ submit: 'Se connecter',
+ },
+ disabled: "La connexion native est actuellement désactivée. Veuillez utiliser l'un des fournisseurs d'authentification disponibles ci-dessous.",
+ needAccount: "Besoin d'un compte ? S'inscrire",
+ forgotPassword: 'Mot de passe oublié ?',
+ clickHere: 'Cliquez ici',
+ OTP_2FA: {
+ title: 'Authentification à deux facteurs',
+ description: "Veuillez saisir le code à 6 chiffres de votre application d'authentification.",
+ code: "Code d'authentification",
+ submit: 'Vérifier',
+ back: 'Retour',
+ },
+ reset: {
+ title: 'Réinitialiser le mot de passe',
+ submit: 'Demander la réinitialisation',
+ change: 'Modifier le mot de passe',
+ havingIssues: 'Vous rencontrez des problèmes ?',
+ contactUs: 'Contactez-nous !',
+ done: {
+ title: 'Instructions envoyées',
+ description:
+ "Consultez votre boîte de réception pour trouver le lien de réinitialisation de votre mot de passe. S'il n'apparaît pas dans quelques minutes, vérifiez votre dossier de courrier indésirable.",
+ returnToLogin: 'Retour à la page de connexion',
+ },
+ },
+ oidc: {
+ title: 'Authentification en cours...',
+ description: 'Veuillez patienter pendant que nous finalisons votre connexion.',
+ linked: 'Votre compte {{ providerName }} a été lié avec succès.',
+ created: 'Votre compte a été créé et lié avec succès.',
+ signIn: 'Vous vous êtes connecté avec succès.',
+ redirectSettings: 'Redirection vers les paramètres...',
+ redirectDashboard: 'Redirection vers le tableau de bord...',
+ error: "Échec de l'authentification",
+ tryAgain: 'Réessayer',
+ createAccount: 'Créer un compte',
+ },
+ },
+ signup: {
+ title: 'Création de compte',
+ form: {
+ username: "Nom d'utilisateur",
+ email: 'Adresse e-mail',
+ emailDescription: "L'adresse e-mail est uniquement utilisée pour la récupération de compte. Elle ne sera pas partagée publiquement.",
+ password: 'Mot de passe',
+ confirmPassword: 'Confirmer le mot de passe',
+ submit: "S'inscrire",
+ },
+ alreadyHaveAccount: 'Vous avez déjà un compte ? Se connecter',
+ },
+};
diff --git a/frontend/i18n/locales/it/index.ts b/frontend/i18n/locales/it/index.ts
index 4dc62439..ab306b7e 100644
--- a/frontend/i18n/locales/it/index.ts
+++ b/frontend/i18n/locales/it/index.ts
@@ -8,7 +8,9 @@ import components from './components';
import dashboard from './dashboard';
import importPage from './import';
import markdown from './markdown';
+import landing from './landing';
import nodes from './nodes';
+import publicPages from './public';
import settings from './settings';
import time from './time';
import user from './user';
@@ -22,8 +24,10 @@ export default {
components,
dashboard,
import: importPage,
+ landing,
markdown,
nodes,
+ public: publicPages,
settings,
time,
user,
diff --git a/frontend/i18n/locales/it/landing.ts b/frontend/i18n/locales/it/landing.ts
new file mode 100644
index 00000000..91ccc58d
--- /dev/null
+++ b/frontend/i18n/locales/it/landing.ts
@@ -0,0 +1,232 @@
+export default {
+ seo: {
+ description: 'Alexandrie è un workspace Markdown veloce e self-hostable per note, knowledge base, collaborazione e documentazione pubblica.',
+ keywords: 'note Markdown, knowledge base, note self-hosted, documentazione pubblica, collaborazione, app per prendere appunti',
+ title: 'Alexandrie | Workspace Markdown moderno',
+ },
+ hero: {
+ badges: {
+ markdown: 'Markdown',
+ openSource: 'Open source',
+ organization: 'Organizzazione',
+ },
+ ctaPrimary: 'Inizia',
+ ctaSecondary: 'GitHub',
+ titleHighlight: 'Le tue note',
+ titleSuffix: ', organizzate con eleganza',
+ tagline: 'Un potente workspace Markdown progettato per velocità, chiarezza e creatività.',
+ previewAlt: 'Anteprima dell’app Alexandrie',
+ },
+ bento: {
+ title: 'Tutto ciò che serve per scrivere meglio',
+ subtitle: 'Funzionalità potenti in un’interfaccia bella e intuitiva',
+ editor: {
+ description:
+ 'Scrivi con evidenziazione della sintassi, anteprima live e scorciatoie da tastiera. Supporto per tabelle, blocchi di codice, equazioni matematiche e altro.',
+ heading: 'Editor Markdown potente',
+ sampleHeading: 'Benvenuto in Alexandrie',
+ sampleList: 'Gli elenchi sono semplici',
+ sampleMarkdown: 'Scrivi le tue note in Markdown',
+ sampleText: ' e ',
+ },
+ organization: {
+ description: 'Cartelle annidate, workspace, tag e ricerca avanzata per tenere tutto al suo posto.',
+ heading: 'Organizzazione intelligente',
+ },
+ collaboration: {
+ description: 'Lavora insieme al tuo team. Condividi note, gestisci i permessi e molto altro.',
+ heading: 'Collabora e condividi',
+ editing: '3 persone stanno modificando...',
+ },
+ cdn: {
+ description: 'Carica immagini e file',
+ heading: 'CDN integrato',
+ },
+ themes: {
+ description: 'Temi per ogni umore',
+ extra: 'Cambia anche i colori, i temi dei documenti, aggiungi colori personalizzati, icone e altro.',
+ heading: 'Chiaro e scuro',
+ },
+ search: {
+ description: 'Ricerca full-text in tutti i tuoi documenti. Trova qualsiasi cosa in millisecondi.',
+ heading: 'Ricerca fulminea',
+ input: 'react hooks...',
+ },
+ publish: {
+ description: 'Condividi il tuo lavoro pubblicamente o con persone specifiche. Genera pagine di sola lettura bellissime.',
+ heading: 'Pubblica con un clic',
+ status: 'Live',
+ url: 'docs.tuosito.com/guide',
+ },
+ organizationSamples: {
+ knowledgeBase: 'Knowledge Base',
+ projects: 'Progetti',
+ roadmap: 'Roadmap.md',
+ ideas: 'Idee.md',
+ development: 'Sviluppo',
+ reactTips: 'React Tips.md',
+ },
+ searchResults: {
+ customHooks: 'Custom Hooks',
+ reactHooksGuide: 'Guida ai React Hooks',
+ path1: 'Knowledge Base / Sviluppo',
+ path2: 'Progetti / Frontend',
+ },
+ theme: {
+ subtitle: 'Cambia anche i colori, i temi dei documenti, aggiungi colori personalizzati, icone e altro.',
+ },
+ },
+ showcase: {
+ features: [
+ {
+ description: 'Inizia subito a scrivere con un editor senza distrazioni. Tutto si sincronizza automaticamente.',
+ points: ['Salvataggio automatico in tempo reale', 'Scorciatoie da tastiera rapide', 'Modalità senza distrazioni', 'Template per i formati più comuni'],
+ shortDesc: 'Note e bozze rapide',
+ title: 'Cattura le idee all’istante',
+ },
+ {
+ description: 'Crea una knowledge base potente con cartelle annidate, workspace e tagging intelligente.',
+ points: ['Cartelle annidate illimitate', 'Più workspace', 'Organizzazione basata sui tag', 'Filtri e viste intelligenti'],
+ shortDesc: 'Struttura e categorizza',
+ title: 'Organizza la tua conoscenza',
+ },
+ {
+ description: 'Condividi note con il tuo team, gestisci i permessi e collabora in tempo reale.',
+ points: ['Permessi granulari', 'Collaborazione in tempo reale', 'Commenti e feedback', 'Storico delle attività'],
+ shortDesc: 'Workflow di team',
+ title: 'Collabora senza attriti',
+ },
+ {
+ description: 'Trasforma le tue note in splendida documentazione pubblica con un clic.',
+ points: ['Domini personalizzati', 'SEO ottimizzato', 'Analytics integrate', 'Protezione con password'],
+ shortDesc: 'Vai online subito',
+ title: 'Pubblica e condividi',
+ },
+ ],
+ subtitle: 'Scopri come Alexandrie semplifica l’intero flusso di lavoro',
+ title: 'Dall’idea alla documentazione pubblicata',
+ },
+ selfHost: {
+ notes: ['Nessuna telemetria', 'Piena proprietà dei dati', 'Licenza MIT', 'Pronto per Docker'],
+ steps: [
+ {
+ description:
+ 'Scarica i file di configurazione da GitHub <br /> <a target="_blank" style="color: var(--primary);text-decoration: underline;font-weight: 500;" href="https://github.com/Smaug6739/Alexandrie/blob/main/docker-compose.yml">Scarica il file docker-compose.yml</a> <br /><a target="_blank" style="color: var(--primary);text-decoration: underline;font-weight: 500;" href="https://github.com/Smaug6739/Alexandrie/blob/main/.env.example">Scarica il file .env.example</a> ',
+ title: 'Clona il repository',
+ },
+ {
+ code: 'cp .env.example .env && nano .env',
+ description: 'Modifica le variabili d’ambiente se necessario (opzionale)',
+ title: 'Configura',
+ },
+ {
+ code: 'docker compose up -d',
+ description: 'Avvia tutti i servizi con Docker Compose',
+ title: 'Avvia',
+ },
+ ],
+ subtitle: 'Prendi il controllo completo dei tuoi dati con una semplice distribuzione',
+ terminal: {
+ lines: ['[+] Running 3/3', '✓ Container alexandrie-db Started', '✓ Container alexandrie-minio Started', '✓ Container alexandrie-app Started'],
+ title: 'Terminale',
+ },
+ title: 'Self-host in pochi minuti',
+ },
+ stats: {
+ actions: {
+ contribute: 'Contribuisci',
+ star: 'Metti una stella su GitHub',
+ tryApp: 'Prova l’app',
+ },
+ badge: 'Open source',
+ cardDescription: 'Lo spazio di lavoro open source per chi pensa in Markdown',
+ labels: {
+ contributors: 'Contributori',
+ latestRelease: 'Ultima release',
+ stars: 'Stelle GitHub',
+ },
+ subtitle: 'Sviluppo trasparente, decisioni guidate dalla comunità e accesso completo al codice sorgente',
+ title: 'Costruito in pubblico',
+ },
+ contributors: {
+ commitLabel: 'commit',
+ cta: 'Diventa un contributore',
+ subtitle: 'Incontra le persone straordinarie che rendono possibile Alexandrie',
+ title: 'Costruito dalla comunità',
+ },
+ faq: {
+ answer1:
+ 'Sì, Alexandrie è open source al 100% sotto licenza MIT. Puoi usarlo, modificarlo e distribuirlo liberamente. Nessun costo nascosto, nessun piano premium.',
+ answer2: 'Assolutamente! Puoi eseguire Alexandrie sulla tua infrastruttura usando Docker. La documentazione completa ti aiuta a partire in pochi minuti.',
+ answer3: 'Sì, Alexandrie è progettato secondo principi offline-first. Le tue note sono disponibili localmente e si sincronizzano quando torni online.',
+ answer4: 'Quando lo self-hosti, i tuoi dati restano sul tuo server. Usiamo pratiche di sicurezza standard e tutta la trasmissione dei dati è cifrata.',
+ answer5:
+ 'Sì! Puoi importare file Markdown da altre app come Notion, Obsidian o qualsiasi editor Markdown. È supportata anche l’esportazione in PDF ben formattata.',
+ answer6: 'Certamente! Supportiamo l’evidenziazione della sintassi per oltre 100 linguaggi di programmazione e il rendering di equazioni matematiche LaTeX.',
+ answer7: 'Alexandrie è una web app responsive che funziona benissimo sui browser mobili. Le app native sono nella roadmap.',
+ ctaDescription: 'Non trovi quello che cerchi? Unisciti alla nostra community!',
+ ctaTitle: 'Hai ancora domande?',
+ discord: 'Unisciti a Discord',
+ subtitle: 'Tutto quello che devi sapere su Alexandrie',
+ title: 'Domande frequenti',
+ questions: [
+ 'Alexandrie è davvero gratuito e open source?',
+ 'Posso self-hostare Alexandrie sul mio server?',
+ 'Alexandrie funziona offline?',
+ 'Come vengono archiviati e protetti i miei dati?',
+ 'Posso importare le mie note da altre app?',
+ 'Supporta blocchi di codice ed equazioni matematiche?',
+ 'Esiste un’app mobile?',
+ ],
+ },
+ cta: {
+ discord: 'server Discord',
+ description: 'Unisciti a noi in questo percorso per prendere note migliori.',
+ title: 'Pronto a prendere note migliori?',
+ button: 'Inizia ora',
+ contributionPrefix: 'Vuoi contribuire o discutere? Dai un’occhiata al nostro',
+ },
+ support: {
+ badge: 'Una parola dal creatore',
+ confirm: 'Capisco, grazie!',
+ paragraph1:
+ 'Alexandrie non è nato come un business. È iniziato come uno strumento che volevo per me stesso. Anni dopo, lo mantengo e lo miglioro nel tempo libero, e sono felice di condividerlo con chiunque lo trovi utile.',
+ paragraph2:
+ 'L’applicazione non ti traccia, non mostra pubblicità ed è completamente open source. Tuttavia, mantenere attiva la piattaforma comporta costi di hosting e infrastruttura. Se Alexandrie aggiunge valore al tuo flusso di lavoro, considera di sostenerne l’indipendenza. Anche una piccola donazione aiuta a coprire i server per mesi.',
+ title: 'Alexandrie è gratuito, e lo resterà.',
+ signature: '— Smaug',
+ cards: {
+ sponsorDesc: 'Aiuta a coprire hosting, backup e costi di sviluppo per mantenere Alexandrie online e indipendente.',
+ sponsorTitle: 'Sostieni economicamente',
+ starDesc: 'Mostra il tuo supporto e aiuta altri sviluppatori a scoprire il progetto. Non costa nulla ma vale moltissimo.',
+ starTitle: 'Metti una stella su GitHub',
+ },
+ },
+ footer: {
+ brandDescription: 'Lo spazio di lavoro open source per sviluppatori che pensano in Markdown. Documenti belli, organizzazione potente, zero attrito.',
+ madeWith: 'Realizzato con',
+ columns: {
+ community: 'Community',
+ legal: 'Legale',
+ product: 'Prodotto',
+ resources: 'Risorse',
+ },
+ links: {
+ about: 'Informazioni',
+ apiReference: 'Riferimento API',
+ changelog: 'Changelog',
+ contribute: 'Contribuisci',
+ dashboard: 'Dashboard',
+ discord: 'Discord',
+ documentation: 'Documentazione',
+ features: 'Funzionalità',
+ github: 'GitHub',
+ issues: 'Issue',
+ mitLicense: 'Licenza MIT',
+ privacyPolicy: 'Informativa sulla privacy',
+ roadmap: 'Roadmap',
+ terms: 'Termini di servizio',
+ },
+ by: 'da',
+ },
+};
diff --git a/frontend/i18n/locales/it/public.ts b/frontend/i18n/locales/it/public.ts
new file mode 100644
index 00000000..54ac9229
--- /dev/null
+++ b/frontend/i18n/locales/it/public.ts
@@ -0,0 +1,63 @@
+export default {
+ nav: {
+ login: 'Accedi',
+ signup: 'Registrati',
+ home: 'Home',
+ },
+ login: {
+ title: 'Connessione',
+ form: {
+ username: 'Nome utente',
+ password: 'Password',
+ confirmPassword: 'Conferma password',
+ submit: 'Accedi',
+ },
+ disabled: "L'accesso nativo è attualmente disabilitato. Si prega di utilizzare uno dei provider di autenticazione disponibili di seguito.",
+ needAccount: 'Hai bisogno di un account? Registrati',
+ forgotPassword: 'Password dimenticata?',
+ clickHere: 'Clicca qui',
+ OTP_2FA: {
+ title: 'Autenticazione a due fattori',
+ description: 'Inserisci il codice a 6 cifre della tua app di autenticazione.',
+ code: 'Codice di autenticazione',
+ submit: 'Verifica',
+ back: 'Indietro',
+ },
+ reset: {
+ title: 'Reimposta password',
+ submit: 'Richiedi reimpostazione',
+ change: 'Cambia password',
+ havingIssues: 'Problemi?',
+ contactUs: 'Contattaci!',
+ done: {
+ title: 'Istruzioni inviate',
+ description: 'Controlla la tua email per il link di reimpostazione della password. Se non appare entro pochi minuti, controlla la cartella dello spam.',
+ returnToLogin: "Torna all'accesso",
+ },
+ },
+ oidc: {
+ title: 'Autenticazione in corso...',
+ description: "Si prega di attendere il completamento dell'accesso.",
+ linked: 'Il tuo account {{ providerName }} è stato collegato con successo.',
+ created: 'Il tuo account è stato creato e collegato con successo.',
+ signIn: 'Accesso effettuato con successo.',
+ redirectSettings: 'Reindirizzamento alle impostazioni...',
+ redirectDashboard: 'Reindirizzamento alla dashboard...',
+ error: 'Autenticazione non riuscita',
+ tryAgain: 'Riprova',
+ createAccount: 'Crea un account',
+ },
+ },
+ signup: {
+ title: 'Creazione account',
+ form: {
+ username: 'Nome utente',
+ email: 'Email',
+ emailDescription: "L'email viene utilizzata solo per il recupero dell'account. Non sarà condivisa pubblicamente.",
+ password: 'Password',
+ confirmPassword: 'Conferma password',
+ submit: 'Registrati',
+ },
+ alreadyHaveAccount: 'Hai già un account? Accedi',
+ },
+};
diff --git a/frontend/i18n/locales/ko/index.ts b/frontend/i18n/locales/ko/index.ts
index ba2191b6..ab306b7e 100644
--- a/frontend/i18n/locales/ko/index.ts
+++ b/frontend/i18n/locales/ko/index.ts
@@ -1,3 +1,5 @@
+import type { MessageSchema } from '../../i18n.config';
+
import admin from './admin';
import application from './application';
import cdn from './cdn';
@@ -6,7 +8,9 @@ import components from './components';
import dashboard from './dashboard';
import importPage from './import';
import markdown from './markdown';
+import landing from './landing';
import nodes from './nodes';
+import publicPages from './public';
import settings from './settings';
import time from './time';
import user from './user';
@@ -20,10 +24,12 @@ export default {
components,
dashboard,
import: importPage,
+ landing,
markdown,
nodes,
+ public: publicPages,
settings,
time,
user,
teams,
-};
+} satisfies MessageSchema;
diff --git a/frontend/i18n/locales/ko/landing.ts b/frontend/i18n/locales/ko/landing.ts
new file mode 100644
index 00000000..61171ad7
--- /dev/null
+++ b/frontend/i18n/locales/ko/landing.ts
@@ -0,0 +1,229 @@
+export default {
+ seo: {
+ description: 'Alexandrie는 노트, 지식 베이스, 협업, 공개 문서를 위한 빠르고 자체 호스팅 가능한 Markdown 작업 공간입니다.',
+ keywords: 'Markdown 노트, 지식 베이스, 자체 호스팅 노트, 공개 문서, 협업, 노트 앱',
+ title: 'Alexandrie | 현대적인 Markdown 작업 공간',
+ },
+ hero: {
+ badges: {
+ markdown: 'Markdown',
+ openSource: '오픈 소스',
+ organization: '정리',
+ },
+ ctaPrimary: '시작하기',
+ ctaSecondary: 'GitHub',
+ titleHighlight: '당신의 노트',
+ titleSuffix: ', 아름답게 정리된',
+ tagline: '속도, 명확성, 창의성을 위해 설계된 강력한 Markdown 작업 공간입니다.',
+ previewAlt: 'Alexandrie 앱 미리보기',
+ },
+ bento: {
+ title: '더 잘 쓰기 위해 필요한 모든 것',
+ subtitle: '아름답고 직관적인 인터페이스에 담긴 강력한 기능들',
+ editor: {
+ description: '구문 강조, 실시간 미리보기, 키보드 단축키를 사용해 작성하세요. 표, 코드 블록, 수학 방정식 등을 지원합니다.',
+ heading: '강력한 Markdown 편집기',
+ sampleHeading: 'Alexandrie에 오신 것을 환영합니다',
+ sampleList: '목록은 쉽습니다',
+ sampleMarkdown: 'Markdown으로 노트를 작성하세요',
+ sampleText: ' 그리고 ',
+ },
+ organization: {
+ description: '중첩 폴더, 워크스페이스, 태그, 강력한 검색으로 모든 것을 제자리에 유지하세요.',
+ heading: '스마트한 정리',
+ },
+ collaboration: {
+ description: '팀과 함께 작업하세요. 노트를 공유하고 권한을 관리하고 더 많은 기능을 사용할 수 있습니다.',
+ heading: '협업하고 공유하기',
+ editing: '3명이 편집 중...',
+ },
+ cdn: {
+ description: '이미지와 파일 업로드',
+ heading: '내장 CDN',
+ },
+ themes: {
+ description: '모든 분위기에 맞는 테마',
+ extra: '색상, 문서 테마도 바꾸고 사용자 정의 색상, 아이콘 등을 추가할 수 있습니다.',
+ heading: '다크 & 라이트',
+ },
+ search: {
+ description: '모든 문서를 대상으로 한 전체 텍스트 검색. 몇 밀리초 만에 무엇이든 찾을 수 있습니다.',
+ heading: '번개처럼 빠른 검색',
+ input: 'react hooks...',
+ },
+ publish: {
+ description: '작업물을 공개하거나 특정 사람과만 공유하세요. 아름다운 읽기 전용 페이지를 만들 수 있습니다.',
+ heading: '원클릭 게시',
+ status: '실행 중',
+ url: 'docs.yoursite.com/guide',
+ },
+ organizationSamples: {
+ knowledgeBase: '지식 베이스',
+ projects: '프로젝트',
+ roadmap: 'Roadmap.md',
+ ideas: 'Ideas.md',
+ development: '개발',
+ reactTips: 'React Tips.md',
+ },
+ searchResults: {
+ customHooks: '커스텀 훅',
+ reactHooksGuide: 'React Hooks 가이드',
+ path1: '지식 베이스 / 개발',
+ path2: '프로젝트 / 프론트엔드',
+ },
+ theme: {
+ subtitle: '색상, 문서 테마도 바꾸고 사용자 정의 색상, 아이콘 등을 추가할 수 있습니다.',
+ },
+ },
+ showcase: {
+ features: [
+ {
+ description: '방해 요소 없는 편집기로 즉시 작성하세요. 모든 것이 자동으로 동기화됩니다.',
+ points: ['실시간 자동 저장', '빠른 키보드 단축키', '방해 요소 없는 모드', '자주 쓰는 형식용 템플릿'],
+ shortDesc: '빠른 메모 & 초안',
+ title: '아이디어를 즉시 기록',
+ },
+ {
+ description: '중첩 폴더, 워크스페이스, 스마트 태깅으로 강력한 지식 베이스를 만드세요.',
+ points: ['무제한 중첩 폴더', '여러 워크스페이스', '태그 기반 정리', '스마트 필터와 보기'],
+ shortDesc: '구조화 & 분류',
+ title: '지식을 정리하세요',
+ },
+ {
+ description: '팀과 노트를 공유하고 권한을 관리하며 실시간으로 함께 작업하세요.',
+ points: ['세분화된 권한', '실시간 협업', '댓글과 피드백', '활동 기록'],
+ shortDesc: '팀 워크플로우',
+ title: '매끄럽게 협업',
+ },
+ {
+ description: '한 번의 클릭으로 노트를 아름다운 공개 문서로 바꾸세요.',
+ points: ['사용자 도메인', 'SEO 최적화', '내장 분석', '비밀번호 보호'],
+ shortDesc: '즉시 공개',
+ title: '게시하고 공유',
+ },
+ ],
+ subtitle: 'Alexandrie가 전체 워크플로우를 어떻게 단순화하는지 확인하세요',
+ title: '아이디어에서 게시된 문서까지',
+ },
+ selfHost: {
+ notes: ['텔레메트리 없음', '완전한 데이터 소유권', 'MIT 라이선스', 'Docker 준비 완료'],
+ steps: [
+ {
+ description:
+ 'GitHub에서 설정 파일을 받으세요 <br /> <a target="_blank" style="color: var(--primary);text-decoration: underline;font-weight: 500;" href="https://github.com/Smaug6739/Alexandrie/blob/main/docker-compose.yml">docker-compose.yml 파일 다운로드</a> <br /><a target="_blank" style="color: var(--primary);text-decoration: underline;font-weight: 500;" href="https://github.com/Smaug6739/Alexandrie/blob/main/.env.example">.env.example 파일 다운로드</a> ',
+ title: '저장소 복제',
+ },
+ {
+ code: 'cp .env.example .env && nano .env',
+ description: '필요에 따라 환경 변수를 수정하세요 (선택 사항)',
+ title: '설정',
+ },
+ {
+ code: 'docker compose up -d',
+ description: 'Docker Compose로 모든 서비스를 시작하세요',
+ title: '실행',
+ },
+ ],
+ subtitle: '간단한 배포로 데이터를 완전히 제어하세요',
+ terminal: {
+ lines: ['[+] Running 3/3', '✓ Container alexandrie-db Started', '✓ Container alexandrie-minio Started', '✓ Container alexandrie-app Started'],
+ title: '터미널',
+ },
+ title: '몇 분 안에 자체 호스팅',
+ },
+ stats: {
+ actions: {
+ contribute: '기여하기',
+ star: 'GitHub에서 별표',
+ tryApp: '앱 사용해 보기',
+ },
+ badge: '오픈 소스',
+ cardDescription: 'Markdown으로 생각하는 개발자를 위한 오픈 소스 작업 공간',
+ labels: {
+ contributors: '기여자',
+ latestRelease: '최신 릴리스',
+ stars: 'GitHub 별',
+ },
+ subtitle: '투명한 개발, 커뮤니티 주도 의사결정, 그리고 소스 코드에 대한 완전한 접근',
+ title: '열린 개발',
+ },
+ contributors: {
+ commitLabel: '커밋',
+ cta: '기여자가 되기',
+ subtitle: 'Alexandrie를 가능하게 하는 멋진 사람들을 만나보세요',
+ title: '커뮤니티가 만든',
+ },
+ faq: {
+ answer1: '네, Alexandrie는 MIT 라이선스 하에 100% 오픈 소스입니다. 자유롭게 사용, 수정, 배포할 수 있습니다. 숨은 비용도, 프리미엄 요금제도 없습니다.',
+ answer2: '물론입니다! Docker를 사용해 자신의 인프라에서 Alexandrie를 실행할 수 있습니다. 완전한 문서가 몇 분 만에 시작할 수 있도록 도와줍니다.',
+ answer3: '네, Alexandrie는 오프라인 우선 원칙으로 설계되었습니다. 노트는 로컬에서 사용 가능하며 다시 연결되면 동기화됩니다.',
+ answer4: '자체 호스팅 시 데이터는 자신의 서버에 남아 있습니다. 업계 표준 보안 관행을 사용하며 모든 데이터 전송은 암호화됩니다.',
+ answer5: '네! Notion, Obsidian 또는 다른 Markdown 편집기에서 Markdown 파일을 가져올 수 있습니다. 아름답게 서식이 적용된 PDF 내보내기도 지원됩니다.',
+ answer6: '물론입니다! 100개 이상의 프로그래밍 언어에 대한 구문 강조와 LaTeX 수학식 렌더링을 지원합니다.',
+ answer7: 'Alexandrie는 모바일 브라우저에서 잘 작동하는 반응형 웹 애플리케이션입니다. 네이티브 앱은 로드맵에 있습니다.',
+ ctaDescription: '찾고 있는 것을 못 찾으셨나요? 커뮤니티에 참여하세요!',
+ ctaTitle: '아직 궁금한가요?',
+ discord: 'Discord 참여',
+ subtitle: 'Alexandrie에 대해 알아야 할 모든 것',
+ title: '자주 묻는 질문',
+ questions: [
+ 'Alexandrie는 정말 무료이고 오픈 소스인가요?',
+ '내 서버에서 Alexandrie를 자체 호스팅할 수 있나요?',
+ 'Alexandrie는 오프라인에서도 작동하나요?',
+ '내 데이터는 어떻게 저장되고 보호되나요?',
+ '다른 앱에서 노트를 가져올 수 있나요?',
+ '코드 블록과 수학 방정식을 지원하나요?',
+ '모바일 앱이 있나요?',
+ ],
+ },
+ cta: {
+ discord: 'Discord 서버',
+ description: '더 나은 노트 필기를 위한 여정에 함께하세요.',
+ title: '더 나은 노트를 준비되셨나요?',
+ button: '지금 시작하기',
+ contributionPrefix: '기여하거나 이야기하고 싶으신가요? 우리의',
+ },
+ support: {
+ badge: '제작자의 한마디',
+ confirm: '알겠습니다, 감사합니다!',
+ paragraph1:
+ 'Alexandrie는 사업으로 시작된 것이 아닙니다. 제가 스스로 쓰고 싶어서 만든 도구로 시작했습니다. 몇 년이 지난 지금도 여가 시간에 유지보수와 개선을 계속하고 있으며, 유용하다고 느끼는 사람들과 기꺼이 공유하고 있습니다.',
+ paragraph2:
+ '이 애플리케이션은 사용자를 추적하지 않고 광고도 없으며 완전히 오픈 소스입니다. 하지만 실서비스를 유지하려면 호스팅과 인프라 비용이 듭니다. Alexandrie가 당신의 일상 업무에 가치를 더한다면 독립성을 지원해 주세요. 작은 후원도 서버 비용을 몇 달이나 충당하는 데 도움이 됩니다.',
+ title: 'Alexandrie는 무료이며 앞으로도 그럴 것입니다.',
+ signature: '— Smaug',
+ cards: {
+ sponsorDesc: '호스팅, 백업 인프라, 개발 비용을 지원해 Alexandrie가 온라인과 독립성을 유지하도록 도와주세요.',
+ sponsorTitle: '재정적으로 지원하기',
+ starDesc: '지원을 보여주고 다른 개발자들이 프로젝트를 발견하도록 도와주세요. 비용은 들지 않지만 의미는 큽니다.',
+ starTitle: 'GitHub에서 별표',
+ },
+ },
+ footer: {
+ brandDescription: 'Markdown으로 생각하는 개발자를 위한 오픈 소스 작업 공간. 아름다운 문서, 강력한 정리, 마찰 없는 경험.',
+ madeWith: '함께 만든',
+ columns: {
+ community: '커뮤니티',
+ legal: '법적 정보',
+ product: '제품',
+ resources: '리소스',
+ },
+ links: {
+ about: '소개',
+ apiReference: 'API 참고',
+ changelog: '변경 기록',
+ contribute: '기여하기',
+ dashboard: '대시보드',
+ discord: 'Discord',
+ documentation: '문서',
+ features: '기능',
+ github: 'GitHub',
+ issues: '이슈',
+ mitLicense: 'MIT 라이선스',
+ privacyPolicy: '개인정보 처리방침',
+ roadmap: '로드맵',
+ terms: '이용 약관',
+ },
+ by: 'by',
+ },
+};
diff --git a/frontend/i18n/locales/ko/public.ts b/frontend/i18n/locales/ko/public.ts
new file mode 100644
index 00000000..8c62500c
--- /dev/null
+++ b/frontend/i18n/locales/ko/public.ts
@@ -0,0 +1,63 @@
+export default {
+ nav: {
+ login: '로그인',
+ signup: '회원가입',
+ home: '홈',
+ },
+ login: {
+ title: '로그인',
+ form: {
+ username: '사용자 이름',
+ password: '비밀번호',
+ confirmPassword: '비밀번호 확인',
+ submit: '로그인',
+ },
+ disabled: '현재 자체 로그인이 비활성화되어 있습니다. 아래의 사용 가능한 인증 제공업체 중 하나를 이용해 주세요.',
+ needAccount: '계정이 필요하신가요? 회원가입',
+ forgotPassword: '비밀번호를 잊으셨나요?',
+ clickHere: '여기를 클릭하세요',
+ OTP_2FA: {
+ title: '2단계 인증',
+ description: '인증 앱의 6자리 코드를 입력해 주세요.',
+ code: '인증 코드',
+ submit: '확인',
+ back: '뒤로 가기',
+ },
+ reset: {
+ title: '비밀번호 초기화',
+ submit: '초기화 요청',
+ change: '비밀번호 변경',
+ havingIssues: '문제가 발생하셨나요?',
+ contactUs: '문의하기 !',
+ done: {
+ title: '안내 메일 발송 완료',
+ description: '이메일로 전송된 비밀번호 초기화 링크를 확인해 주세요. 몇 분 내로 메일이 도착하지 않으면 스팸 메일함을 확인해 주세요.',
+ returnToLogin: '로그인 화면으로 돌아가기',
+ },
+ },
+ oidc: {
+ title: '인증 중...',
+ description: '로그인 완료를 위해 잠시만 기다려 주세요.',
+ linked: '{{ providerName }} 계정이 성공적으로 연동되었습니다.',
+ created: '계정이 성공적으로 생성되고 연동되었습니다.',
+ signIn: '성공적으로 로그인되었습니다.',
+ redirectSettings: '설정 페이지로 이동 중...',
+ redirectDashboard: '대시보드로 이동 중...',
+ error: '인증 실패',
+ tryAgain: '다시 시도',
+ createAccount: '계정 만들기',
+ },
+ },
+ signup: {
+ title: '계정 생성',
+ form: {
+ username: '사용자 이름',
+ email: '이메일',
+ emailDescription: '이메일은 계정 복구 목적으로만 사용되며, 공개적으로 공유되지 않습니다.',
+ password: '비밀번호',
+ confirmPassword: '비밀번호 확인',
+ submit: '회원가입',
+ },
+ alreadyHaveAccount: '이미 계정이 있으신가요? 로그인',
+ },
+};
diff --git a/frontend/i18n/locales/uk/index.ts b/frontend/i18n/locales/uk/index.ts
index 4dc62439..ab306b7e 100644
--- a/frontend/i18n/locales/uk/index.ts
+++ b/frontend/i18n/locales/uk/index.ts
@@ -8,7 +8,9 @@ import components from './components';
import dashboard from './dashboard';
import importPage from './import';
import markdown from './markdown';
+import landing from './landing';
import nodes from './nodes';
+import publicPages from './public';
import settings from './settings';
import time from './time';
import user from './user';
@@ -22,8 +24,10 @@ export default {
components,
dashboard,
import: importPage,
+ landing,
markdown,
nodes,
+ public: publicPages,
settings,
time,
user,
diff --git a/frontend/i18n/locales/uk/landing.ts b/frontend/i18n/locales/uk/landing.ts
new file mode 100644
index 00000000..ce9426f3
--- /dev/null
+++ b/frontend/i18n/locales/uk/landing.ts
@@ -0,0 +1,233 @@
+export default {
+ seo: {
+ description:
+ 'Alexandrie — це швидкий Markdown-робочий простір, який можна самостійно хостити, для нотаток, баз знань, співпраці та публічної документації.',
+ keywords: 'Markdown нотатки, база знань, self-hosted нотатки, публічна документація, співпраця, застосунок для нотаток',
+ title: 'Alexandrie | Сучасний Markdown-робочий простір',
+ },
+ hero: {
+ badges: {
+ markdown: 'Markdown',
+ openSource: 'Open source',
+ organization: 'Організація',
+ },
+ ctaPrimary: 'Почати',
+ ctaSecondary: 'GitHub',
+ titleHighlight: 'Ваші нотатки',
+ titleSuffix: ', красиво впорядковані',
+ tagline: 'Потужний Markdown-робочий простір, створений для швидкості, ясності та творчості.',
+ previewAlt: 'Попередній перегляд застосунку Alexandrie',
+ },
+ bento: {
+ title: 'Усе, що потрібно для кращого письма',
+ subtitle: 'Потужні можливості в красивому та інтуїтивному інтерфейсі',
+ editor: {
+ description:
+ 'Пишіть із підсвічуванням синтаксису, живим попереднім переглядом і гарячими клавішами. Підтримуються таблиці, блоки коду, математичні формули та інше.',
+ heading: 'Потужний Markdown-редактор',
+ sampleHeading: 'Ласкаво просимо до Alexandrie',
+ sampleList: 'Списки прості',
+ sampleMarkdown: 'Пишіть нотатки у Markdown',
+ sampleText: ' та ',
+ },
+ organization: {
+ description: 'Вкладені папки, робочі простори, теги та потужний пошук, щоб усе залишалося на своєму місці.',
+ heading: 'Розумна організація',
+ },
+ collaboration: {
+ description: 'Працюйте разом із командою. Діліться нотатками, керуйте правами доступу та багато інше.',
+ heading: 'Співпраця та обмін',
+ editing: '3 людини редагують...',
+ },
+ cdn: {
+ description: 'Завантажуйте зображення та файли',
+ heading: 'Вбудований CDN',
+ },
+ themes: {
+ description: 'Теми на будь-який настрій',
+ extra: 'Також змінюйте кольори, теми документів, додавайте власні кольори, іконки та інше.',
+ heading: 'Темна та світла',
+ },
+ search: {
+ description: 'Повнотекстовий пошук по всіх документах. Знаходьте будь-що за мілісекунди.',
+ heading: 'Миттєвий пошук',
+ input: 'react hooks...',
+ },
+ publish: {
+ description: 'Діліться своєю роботою публічно або з окремими людьми. Створюйте красиві сторінки лише для читання.',
+ heading: 'Публікація в один клік',
+ status: 'Онлайн',
+ url: 'docs.vashsait.com/guide',
+ },
+ organizationSamples: {
+ knowledgeBase: 'База знань',
+ projects: 'Проєкти',
+ roadmap: 'Roadmap.md',
+ ideas: 'Ідеї.md',
+ development: 'Розробка',
+ reactTips: 'React Tips.md',
+ },
+ searchResults: {
+ customHooks: 'Користувацькі хуки',
+ reactHooksGuide: 'Підручник з React Hooks',
+ path1: 'База знань / Розробка',
+ path2: 'Проєкти / Frontend',
+ },
+ theme: {
+ subtitle: 'Також змінюйте кольори, теми документів, додавайте власні кольори, іконки та інше.',
+ },
+ },
+ showcase: {
+ features: [
+ {
+ description: 'Почніть писати відразу з редактором без відволікань. Усе синхронізується автоматично.',
+ points: ['Автозбереження в реальному часі', 'Швидкі гарячі клавіші', 'Режим без відволікань', 'Шаблони для поширених форматів'],
+ shortDesc: 'Швидкі нотатки й чернетки',
+ title: 'Фіксуйте ідеї миттєво',
+ },
+ {
+ description: 'Створіть потужну базу знань із вкладеними папками, робочими просторами та розумним тегуванням.',
+ points: ['Необмежені вкладені папки', 'Кілька робочих просторів', 'Організація за тегами', 'Розумні фільтри та подання'],
+ shortDesc: 'Структура й категоризація',
+ title: 'Організуйте свої знання',
+ },
+ {
+ description: 'Діліться нотатками з командою, керуйте правами доступу та працюйте разом у реальному часі.',
+ points: ['Гранульовані дозволи', 'Співпраця в реальному часі', 'Коментарі та відгуки', 'Історія активності'],
+ shortDesc: 'Командні процеси',
+ title: 'Співпрацюйте без зайвого тертя',
+ },
+ {
+ description: 'Перетворюйте нотатки на красиву публічну документацію одним кліком.',
+ points: ['Власні домени', 'SEO-оптимізація', 'Вбудована аналітика', 'Захист паролем'],
+ shortDesc: 'Миттєвий запуск',
+ title: 'Публікуйте та діліться',
+ },
+ ],
+ subtitle: 'Подивіться, як Alexandrie спрощує весь ваш робочий процес',
+ title: 'Від ідеї до опублікованої документації',
+ },
+ selfHost: {
+ notes: ['Без телеметрії', 'Повне володіння даними', 'Ліцензія MIT', 'Готово для Docker'],
+ steps: [
+ {
+ description:
+ 'Завантажте файли конфігурації з GitHub <br /> <a target="_blank" style="color: var(--primary);text-decoration: underline;font-weight: 500;" href="https://github.com/Smaug6739/Alexandrie/blob/main/docker-compose.yml">Завантажити docker-compose.yml</a> <br /><a target="_blank" style="color: var(--primary);text-decoration: underline;font-weight: 500;" href="https://github.com/Smaug6739/Alexandrie/blob/main/.env.example">Завантажити .env.example</a> ',
+ title: 'Клонувати репозиторій',
+ },
+ {
+ code: 'cp .env.example .env && nano .env',
+ description: 'За потреби змініть змінні середовища (необов’язково)',
+ title: 'Налаштувати',
+ },
+ {
+ code: 'docker compose up -d',
+ description: 'Запустіть усі служби через Docker Compose',
+ title: 'Запустити',
+ },
+ ],
+ subtitle: 'Повністю контролюйте свої дані за допомогою простого розгортання',
+ terminal: {
+ lines: ['[+] Running 3/3', '✓ Container alexandrie-db Started', '✓ Container alexandrie-minio Started', '✓ Container alexandrie-app Started'],
+ title: 'Термінал',
+ },
+ title: 'Self-host за кілька хвилин',
+ },
+ stats: {
+ actions: {
+ contribute: 'Долучитися',
+ star: 'Поставити зірку на GitHub',
+ tryApp: 'Спробувати застосунок',
+ },
+ badge: 'Open source',
+ cardDescription: 'Open-source робочий простір для тих, хто мислить у Markdown',
+ labels: {
+ contributors: 'Учасники',
+ latestRelease: 'Останній реліз',
+ stars: 'Зірки GitHub',
+ },
+ subtitle: 'Прозора розробка, рішення, що приймаються спільнотою, і повний доступ до коду',
+ title: 'Створено відкрито',
+ },
+ contributors: {
+ commitLabel: 'комітів',
+ cta: 'Стати учасником',
+ subtitle: 'Познайомтеся з чудовими людьми, які роблять Alexandrie можливим',
+ title: 'Створено спільнотою',
+ },
+ faq: {
+ answer1:
+ 'Так, Alexandrie на 100 % open source під ліцензією MIT. Ви можете вільно використовувати, змінювати й поширювати його. Жодних прихованих витрат, жодних преміум-рівнів.',
+ answer2: 'Безумовно! Ви можете запускати Alexandrie на власній інфраструктурі з Docker. Повна документація допоможе почати за кілька хвилин.',
+ answer3: 'Так, Alexandrie створено за принципами offline-first. Ваші нотатки доступні локально і синхронізуються після повторного підключення.',
+ answer4: 'Під час self-hosting ваші дані залишаються на вашому сервері. Ми використовуємо стандартні практики безпеки, а передача даних зашифрована.',
+ answer5:
+ 'Так! Ви можете імпортувати Markdown-файли з інших застосунків, як-от Notion, Obsidian або будь-якого Markdown-редактора. Експорт у PDF також підтримується.',
+ answer6: 'Звичайно! Ми підтримуємо підсвічування синтаксису для понад 100 мов програмування та рендеринг LaTeX-формул.',
+ answer7: 'Alexandrie — це адаптивний вебзастосунок, який чудово працює на мобільних браузерах. Нативні застосунки є в дорожній карті.',
+ ctaDescription: 'Не можете знайти те, що шукаєте? Приєднуйтесь до нашої спільноти!',
+ ctaTitle: 'Ще є запитання?',
+ discord: 'Приєднатися до Discord',
+ subtitle: 'Усе, що потрібно знати про Alexandrie',
+ title: 'Часті запитання',
+ questions: [
+ 'Alexandrie справді безкоштовний і open source?',
+ 'Чи можу я self-host Alexandrie на власному сервері?',
+ 'Чи працює Alexandrie офлайн?',
+ 'Як зберігаються та захищаються мої дані?',
+ 'Чи можу я імпортувати нотатки з інших застосунків?',
+ 'Чи підтримує він блоки коду та математичні формули?',
+ 'Чи є мобільний застосунок?',
+ ],
+ },
+ cta: {
+ discord: 'сервер Discord',
+ description: 'Приєднуйтесь до нас у цій подорожі до кращих нотаток.',
+ title: 'Готові краще вести нотатки?',
+ button: 'Почати зараз',
+ contributionPrefix: 'Хочете долучитися або обговорити? Подивіться на наш',
+ },
+ support: {
+ badge: 'Слово від творця',
+ confirm: 'Розумію, дякую!',
+ paragraph1:
+ 'Alexandrie не починався як бізнес. Спочатку це був інструмент, який я хотів для себе. Через роки я все ще підтримую та покращую його у вільний час і радий ділитися ним з усіма, кому він корисний.',
+ paragraph2:
+ 'Застосунок не відстежує вас, не показує рекламу і є повністю open source. Проте підтримка живої платформи потребує витрат на хостинг та інфраструктуру. Якщо Alexandrie додає цінності вашому робочому процесу, подумайте про підтримку його незалежності. Навіть невеликий донат допомагає покривати сервери на місяці.',
+ title: 'Alexandrie безкоштовний і таким залишиться.',
+ signature: '— Smaug',
+ cards: {
+ sponsorDesc: 'Допоможіть покрити хостинг, резервні копії та витрати на розробку, щоб Alexandrie залишався онлайн і незалежним.',
+ sponsorTitle: 'Підтримати фінансово',
+ starDesc: 'Покажіть свою підтримку й допоможіть іншим розробникам відкрити проєкт. Це нічого не коштує, але означає дуже багато.',
+ starTitle: 'Поставити зірку на GitHub',
+ },
+ },
+ footer: {
+ brandDescription: 'Open-source робочий простір для розробників, які мислять у Markdown. Гарна документація, потужна організація, жодного тертя.',
+ madeWith: 'Зроблено з',
+ columns: {
+ community: 'Спільнота',
+ legal: 'Правова інформація',
+ product: 'Продукт',
+ resources: 'Ресурси',
+ },
+ links: {
+ about: 'Про проєкт',
+ apiReference: 'Довідка API',
+ changelog: 'Журнал змін',
+ contribute: 'Долучитися',
+ dashboard: 'Панель',
+ discord: 'Discord',
+ documentation: 'Документація',
+ features: 'Можливості',
+ github: 'GitHub',
+ issues: 'Проблеми',
+ mitLicense: 'Ліцензія MIT',
+ privacyPolicy: 'Політика приватності',
+ roadmap: 'Дорожня карта',
+ terms: 'Умови користування',
+ },
+ by: 'від',
+ },
+};
diff --git a/frontend/i18n/locales/uk/public.ts b/frontend/i18n/locales/uk/public.ts
new file mode 100644
index 00000000..1e1eb95c
--- /dev/null
+++ b/frontend/i18n/locales/uk/public.ts
@@ -0,0 +1,64 @@
+export default {
+ nav: {
+ login: 'Увійти',
+ signup: 'Зареєструватися',
+ home: 'Головна',
+ },
+ login: {
+ title: 'Вхід',
+ form: {
+ username: "Ім'я користувача",
+ password: 'Пароль',
+ confirmPassword: 'Підтвердити пароль',
+ submit: 'Увійти',
+ },
+ disabled: 'Вхід через локальні облікові записи наразі вимкнено. Будь ласка, скористайтеся одним із доступних провайдерів автентифікації нижче.',
+ needAccount: 'Потрібен обліковий запис? Зареєструватися',
+ forgotPassword: 'Забули пароль?',
+ clickHere: 'Натисніть тут',
+ OTP_2FA: {
+ title: 'Двофакторна автентифікація',
+ description: 'Будь ласка, введіть 6-значний код із вашого додатку для автентифікації.',
+ code: 'Код автентифікації',
+ submit: 'Підтвердити',
+ back: 'Назад',
+ },
+ reset: {
+ title: 'Скинути пароль',
+ submit: 'Запросити скидання',
+ change: 'Змінити пароль',
+ havingIssues: 'Виникли проблеми?',
+ contactUs: "Зв'яжіться з нами!",
+ done: {
+ title: 'Інструкції надіслано',
+ description:
+ "Перевірте свою електронну пошту на наявність посилання для скидання пароля. Якщо воно не з'явиться протягом кількох хвилин, перевірте папку зі спамом.",
+ returnToLogin: 'Повернутися до входу',
+ },
+ },
+ oidc: {
+ title: 'Автентифікація...',
+ description: 'Будь ласка, зачекайте, поки ми завершимо ваш вхід.',
+ linked: "Ваш обліковий запис {{ providerName }} успішно пов'язано.",
+ created: "Ваш обліковий запис успішно створено та пов'язано.",
+ signIn: 'Ви успішно увійшли в систему.',
+ redirectSettings: 'Перенаправлення до налаштувань...',
+ redirectDashboard: 'Перенаправлення до панелі керування...',
+ error: 'Помилка автентифікації',
+ tryAgain: 'Спробувати знову',
+ createAccount: 'Створити обліковий запис',
+ },
+ },
+ signup: {
+ title: 'Створення облікового запису',
+ form: {
+ username: "Ім'я користувача",
+ email: 'Електронна пошта',
+ emailDescription: 'Електронна пошта використовується лише для відновлення облікового запису. Вона не буде опублікована.',
+ password: 'Пароль',
+ confirmPassword: 'Підтвердити пароль',
+ submit: 'Зареєструватися',
+ },
+ alreadyHaveAccount: 'Вже маєте обліковий запис? Увійти',
+ },
+};
diff --git a/frontend/nuxt.config.ts b/frontend/nuxt.config.ts
index 54cda916..4892a9e7 100644
--- a/frontend/nuxt.config.ts
+++ b/frontend/nuxt.config.ts
@@ -132,6 +132,10 @@ export default defineNuxtConfig({
stripMessagesPayload: true,
typedOptionsAndMessages: 'default',
},
+ detectBrowserLanguage: {
+ useCookie: false,
+ redirectOn: 'root',
+ },
locales: [
{ code: 'en', file: 'en/index.ts', language: 'en-US' },
{ code: 'fr', file: 'fr/index.ts', language: 'fr-FR' },
@@ -140,7 +144,12 @@ export default defineNuxtConfig({
{ code: 'ko', file: 'ko/index.ts', language: 'ko-KR' },
{ code: 'it', file: 'it/index.ts', language: 'it-IT' },
],
- strategy: 'no_prefix',
+ strategy: 'prefix_except_default',
+ baseUrl: import.meta.env.NUXT_PUBLIC_BASE_URL,
+ pages: {
+ 'dashboard/index': false,
+ 'dashboard/[...all]': false,
+ },
},
/**
************************ Experimental ************************
@@ -177,6 +186,9 @@ export default defineNuxtConfig({
nitro: {
compressPublicAssets: true,
minify: true,
+ experimental: {
+ // envExpansion: true,
+ },
},
/**
************************ PWA ************************