Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

Add nl locale in README and languages.json

Erik Vroon3081303bd1bd
diff --git a/README.md b/README.md
index a9b795ce..548fe21c 100644
--- a/README.md
+++ b/README.md
@@ -349,6 +349,7 @@ Dashy has the ability to support multiple languages and locales. When available,
#### Supported Languages
- πŸ‡¬πŸ‡§ **English**: `en`
- πŸ‡©πŸ‡ͺ **German**: `de`
+- πŸ‡³πŸ‡± **Dutch**: `nl`
#### Add your Language
It would be awesome for open source projects to be available to everyone, without language being a barrier to entry for non-native English speakers. If you have a few minutes to sapir, you're help with translating it would be very much appreciated.
diff --git a/src/utils/languages.js b/src/utils/languages.js
index 334e4574..2270a94d 100644
--- a/src/utils/languages.js
+++ b/src/utils/languages.js
@@ -1,6 +1,7 @@
// Locales - Import translation files here!
import en from '@/assets/locales/en.json';
import de from '@/assets/locales/de.json';
+import nl from '@/assets/locales/nl.json';
// Language data - Add your country name, locale code and imported file here
export const languages = [
@@ -16,6 +17,12 @@ export const languages = [
locale: de,
flag: 'πŸ‡©πŸ‡ͺ',
},
+ {
+ name: 'Dutch',
+ code: 'nl',
+ locale: nl,
+ flag: 'πŸ‡³πŸ‡±',
+ },
// Including:
// name - Human readable name for your language (e.g German)
// code - ISO language code (e.g. de)