Add nl locale in README and languages.json

This commit is contained in:
Erik Vroon 2021-08-05 00:12:45 +02:00
parent bf026e9992
commit 3081303bd1
2 changed files with 8 additions and 0 deletions

View File

@ -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.

View File

@ -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)