From 170be1d04dd4966145010472c70081e704c55674 Mon Sep 17 00:00:00 2001 From: Hyeonho Kang Date: Fri, 24 Jan 2025 12:24:59 +0900 Subject: [PATCH] Add Korean translation --- astro.config.mjs | 5 +-- src/components/Header.astro | 6 +++- src/content/apps/ko/calendar.json | 14 +++++++++ src/content/apps/ko/contacts.json | 14 +++++++++ src/content/apps/ko/filemanager.json | 14 +++++++++ src/content/apps/ko/gallery.json | 15 +++++++++ src/content/apps/ko/messages.json | 14 +++++++++ src/content/strings/ko/strings.json | 46 ++++++++++++++++++++++++++++ src/pages/ko/about.astro | 8 +++++ src/pages/ko/apps.astro | 8 +++++ src/pages/ko/donate.astro | 16 ++++++++++ src/pages/ko/index.astro | 16 ++++++++++ 12 files changed, 173 insertions(+), 3 deletions(-) create mode 100644 src/content/apps/ko/calendar.json create mode 100644 src/content/apps/ko/contacts.json create mode 100644 src/content/apps/ko/filemanager.json create mode 100644 src/content/apps/ko/gallery.json create mode 100644 src/content/apps/ko/messages.json create mode 100644 src/content/strings/ko/strings.json create mode 100644 src/pages/ko/about.astro create mode 100644 src/pages/ko/apps.astro create mode 100644 src/pages/ko/donate.astro create mode 100644 src/pages/ko/index.astro diff --git a/astro.config.mjs b/astro.config.mjs index dec9257..fae0c48 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -7,9 +7,10 @@ export default defineConfig({ site: 'https://www.fossify.org', i18n: { defaultLocale: "en", - locales: ["en", 'ar'], + locales: ["en", 'ar', 'ko'], fallback: { - ar: "en" + ar: "en", + ko: "en" }, routing: { prefixDefaultLocale: false diff --git a/src/components/Header.astro b/src/components/Header.astro index 77c409e..420fa09 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -17,6 +17,7 @@ const blogURL = getRelativeLocaleUrl(lang, "blog"); const enURL = getRelativeLocaleUrl("en"); const arURL = getRelativeLocaleUrl("ar"); +const koURL = getRelativeLocaleUrl("ko"); ---
@@ -39,7 +40,7 @@ const arURL = getRelativeLocaleUrl("ar");
{ - lang === "en" ? "English" : lang === "ar" ? "العربية" : "lang" + lang === "en" ? "English" : lang === "ar" ? "العربية" : lang === "ko" ? "한국어" : "lang" }
diff --git a/src/content/apps/ko/calendar.json b/src/content/apps/ko/calendar.json new file mode 100644 index 0000000..9ed75dd --- /dev/null +++ b/src/content/apps/ko/calendar.json @@ -0,0 +1,14 @@ +{ + "isDraft": false, + "title": "캘린더", + "description": "Your open-source powerhouse for managing life, designed with privacy as its core and packed with powerful features to keep you organized.", + "featuresTitle": "Top features", + "features": [ + "Ad-free and private", + "Flexible and customizable", + "Seamless syncing", + "Import celebrations", + "Filter and map views" + ], + "img": "/src/assets/app-screenshots/calendar.png" +} \ No newline at end of file diff --git a/src/content/apps/ko/contacts.json b/src/content/apps/ko/contacts.json new file mode 100644 index 0000000..ac802b0 --- /dev/null +++ b/src/content/apps/ko/contacts.json @@ -0,0 +1,14 @@ +{ + "isDraft": false, + "title": "전화", + "description": "The next evolution in contact management. Poised to redefine how you manage your contacts, our app combines simplicity with advanced features, tailored for both personal and professional use.", + "featuresTitle": "Top features", + "features": [ + "Smart search & field customization", + "Group management & communication", + "Reliable backup & export options", + "Advanced synchronization", + "Privacy-first approach" + ], + "img": "/src/assets/app-screenshots/contacts.png" +} \ No newline at end of file diff --git a/src/content/apps/ko/filemanager.json b/src/content/apps/ko/filemanager.json new file mode 100644 index 0000000..e59449d --- /dev/null +++ b/src/content/apps/ko/filemanager.json @@ -0,0 +1,14 @@ +{ + "isDraft": false, + "title": "파일 관리자", + "description": "Tired of file managers that slow you down and invade your privacy? Unlock a lightning-fast, secure, and completely customizable experience with Fossify File Manager.", + "featuresTitle": "Top features", + "features": [ + "Dominate your digital world with blazing-fast navigation", + "Fortify your data with unparalleled privacy and security", + "Master your storage like a pro", + "Optimize your workflow with handy tools", + "Make it your own with endless customization" + ], + "img": "/src/assets/app-screenshots/filemanager.png" +} \ No newline at end of file diff --git a/src/content/apps/ko/gallery.json b/src/content/apps/ko/gallery.json new file mode 100644 index 0000000..dfe68f9 --- /dev/null +++ b/src/content/apps/ko/gallery.json @@ -0,0 +1,15 @@ +{ + "isDraft": false, + "title": "갤러리", + "description": "Unleash memories, not personal data. Fossify Gallery is the ultimate photo and video app that's as powerful as it is private. No ads, no unnecessary permissions – just a seamless experience tailored for you.", + "featuresTitle": "Top Features", + "features": [ + "Photo editing at your fingertips", + "Privacy first, always", + "Superior security", + "Recover with ease", + "Your gallery, your style", + "Universal format freedom" + ], + "img": "/src/assets/app-screenshots/gallery.png" +} \ No newline at end of file diff --git a/src/content/apps/ko/messages.json b/src/content/apps/ko/messages.json new file mode 100644 index 0000000..0e07389 --- /dev/null +++ b/src/content/apps/ko/messages.json @@ -0,0 +1,14 @@ +{ + "isDraft": false, + "title": "메시지", + "description": "Fossify Messenger is your trusted messaging companion, designed to enhance your messaging experience in various ways.", + "featuresTitle": "Top features", + "features": [ + "Block unwanted messages", + "Effortless sms backup", + "Lightning-fast and lightweight", + "Enhanced privacy", + "Efficient message search" + ], + "img": "/src/assets/app-screenshots/messages.png" +} \ No newline at end of file diff --git a/src/content/strings/ko/strings.json b/src/content/strings/ko/strings.json new file mode 100644 index 0000000..740b034 --- /dev/null +++ b/src/content/strings/ko/strings.json @@ -0,0 +1,46 @@ +{ + "header": { + "apps": "앱", + "blog": "블로그", + "team": "팀", + "about": "소개" + }, + "hero": { + "title": "Fossify에 오신 것을 환영합니다!", + "subtitle": "⚠️ 웹사이트 정비중입니다. 나중에 다시 확인해주세요.", + "donate": "기부하기" + }, +"profile": { + "title": "우리에 대해서", + "subtitle": "우리가 추구하는 가치", + "about": { + "description": "광고와 불필요한 권한이 없는 간단한 오픈 소스 앱 그룹으로, 사용자 지정 가능한 색상을 제공합니다. @SimpleMobileTools의 포크입니다." + }, + "vision": { + "title": "우리의 비전", + "text": "모바일 앱이 개인 정보를 침해하지 않으면서도 우리의 삶을 향상시키는 세상을 상상해 보세요. 이것이 바로 Fossify가 추구하는 목표입니다. 우리는 모든 사람에게 혜택을 주는 무료 오픈 소스 앱을 만들기 위해 함께 일하는 사람들로 구성된 번성하는 커뮤니티를 상상합니다. 저희와 함께 더 안전하고 사용자 친화적인 디지털 미래를 구축해 보세요." + }, + "mission": { + "title": "우리의 임무", + "text": "모두를 위한 개인정보 보호 우선 모바일 앱 구축. Fossify는 광고가 없고 사용하기 쉬운 오픈 소스 도구를 제작하여 @SimpleMobileTools의 유산을 되살리고 있습니다. 개인과 커뮤니티의 프라이버시를 존중하고 일을 단순하게 만드는 기술을 통해 개인과 커뮤니티의 역량을 강화합니다." + } + }, + "products": { + "title": "우리의 제품", + "description": "Fossify 앱은 커뮤니티가 지원하는 오픈 소스이며 광고가 없는 모바일 앱 그룹입니다. 더 이상 유지 관리되지 않는 @SimpleMobileTools의 포크이며, 모든 사용자에게 간편하고 비공개적인 기술을 제공함으로써 그 유산을 이어가고자 합니다.", + "hint": "슬라이드하여 자세히 보기", + "label": "더 읽기", + "close": "닫기" + }, + "contributors": { + "title": "상위 기여자", + "description": "Lorem ipsum dolor sit amet consectetur adipisicing elit. Enim, expedita!" + }, + "donors": { + "title": "우리의 기부자", + "description": "Lorem ipsum dolor sit amet consectetur adipisicing elit. Enim, expedita!" + }, + "footer": { + "copyright": "Copyright © 2025, All Rights Reserved" + } +} diff --git a/src/pages/ko/about.astro b/src/pages/ko/about.astro new file mode 100644 index 0000000..0e62023 --- /dev/null +++ b/src/pages/ko/about.astro @@ -0,0 +1,8 @@ +--- +import Layout from "../../layouts/Layout.astro"; +import Profile from "../../components/Profile.astro"; +--- + + + + diff --git a/src/pages/ko/apps.astro b/src/pages/ko/apps.astro new file mode 100644 index 0000000..5e19377 --- /dev/null +++ b/src/pages/ko/apps.astro @@ -0,0 +1,8 @@ +--- +import Layout from "../../layouts/Layout.astro"; +import AppsGrid from "../../components/Apps-grid.astro"; +--- + + + + diff --git a/src/pages/ko/donate.astro b/src/pages/ko/donate.astro new file mode 100644 index 0000000..d12c694 --- /dev/null +++ b/src/pages/ko/donate.astro @@ -0,0 +1,16 @@ +--- +const redirectUrl = "https://github.com/FossifyOrg/#support-fossify-heart"; +--- + + + + + 기부 페이지로 리다이렉트하는 중... + + + +

+ 리다이렉트되지 않는다면 여기를 클릭하세요. +

+ + diff --git a/src/pages/ko/index.astro b/src/pages/ko/index.astro new file mode 100644 index 0000000..3525820 --- /dev/null +++ b/src/pages/ko/index.astro @@ -0,0 +1,16 @@ +--- +import Layout from "../../layouts/Layout.astro"; +import Hero from "../../components/Hero.astro"; +import Profile from "../../components/Profile.astro"; +import Products from "../../components/Products.astro"; +import Contributors from "../../components/Contributors.astro"; +import Donors from "../../components/Donors.astro"; +--- + + + + + + + +