From 26f059a7c7bf4a8b61888877f7da8cfb18259228 Mon Sep 17 00:00:00 2001 From: Jan Date: Mon, 18 May 2026 12:26:37 +0200 Subject: [PATCH] feat(i18n): homepage selector, readme localization update --- README.md | 23 ++++++++++++++++ src/layout/components/HomepageLanguage.vue | 32 ++++++++++++++++++++++ src/lib/i18n/index.ts | 24 ++++++++-------- src/views/HomepageView.vue | 19 ++++++++++++- 4 files changed, 85 insertions(+), 13 deletions(-) create mode 100644 src/layout/components/HomepageLanguage.vue diff --git a/README.md b/README.md index bcf1a212..ea293d97 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,30 @@ - Advanced Optimization Tools like ROI & Profit Calculator: Detailed calculations for production costs and profit per area. - Efficient Material I/O: Visual and data-based analysis of production vs. consumption to identify bottlenecks and resource gaps. + +# Localization & Community Translations + +Driven by the incredible efforts of the PRUNplanner community, our planning tools and features are accessible globally. The platform natively supports multiple languages, with more on the horizon: + +**🇺🇸 English** (Native) | **🇩🇪 Deutsch** | **🇷🇺 Русский** | **🇨🇳 简体中文** + +Want to see PRUNplanner in your language or help refine existing strings? + +[![Crowdin](https://badges.crowdin.net/prunplanner/localized.svg)](https://crowdin.com/project/prunplanner) + +👉 **[Join our translation project on Crowdin](https://crowdin.com/project/prunplanner)** + +A huge thank you to the following community members who volunteered their time to translate and maintain PRUNplanner translations: + +| Language | Core Contributors | +| :--- | :--- | +| **🇩🇪 Deutsch** | `Eisberi` | +| **🇷🇺 Русский** | `hameronlive`, `Razenpok` | +| **🇨🇳 简体中文** | `YuLun-bili`, `PHANTOMSPACE`, `MioandMeow` | + + # Development + ## Stack - [Vue3](https://vuejs.org/) diff --git a/src/layout/components/HomepageLanguage.vue b/src/layout/components/HomepageLanguage.vue new file mode 100644 index 00000000..a5194b58 --- /dev/null +++ b/src/layout/components/HomepageLanguage.vue @@ -0,0 +1,32 @@ + + + diff --git a/src/lib/i18n/index.ts b/src/lib/i18n/index.ts index 30d978a6..13cac440 100644 --- a/src/lib/i18n/index.ts +++ b/src/lib/i18n/index.ts @@ -49,14 +49,14 @@ export const SupportedLanguages: PSelectOption[] = [ // label: "Español", // value: "es_ES", // }, - { - label: "Français", - value: "fr_FR", - }, - { - label: "Italiano", - value: "it_IT", - }, + // { + // label: "Français", + // value: "fr_FR", + // }, + // { + // label: "Italiano", + // value: "it_IT", + // }, // { // label: "日本", // value: "ja_JP", @@ -65,10 +65,10 @@ export const SupportedLanguages: PSelectOption[] = [ // label: "한국어", // value: "ko_KR", // }, - { - label: "Nederlands", - value: "nl_NL", - }, + // { + // label: "Nederlands", + // value: "nl_NL", + // }, // { // label: "Português", // value: "pt_PT", diff --git a/src/views/HomepageView.vue b/src/views/HomepageView.vue index 4f943c11..2ee8264b 100644 --- a/src/views/HomepageView.vue +++ b/src/views/HomepageView.vue @@ -1,4 +1,9 @@