mirror of
https://github.com/Lissy93/dashy.git
synced 2024-11-23 21:23:28 +03:00
Add nl locale in README and languages.json
This commit is contained in:
parent
bf026e9992
commit
3081303bd1
@ -349,6 +349,7 @@ Dashy has the ability to support multiple languages and locales. When available,
|
|||||||
#### Supported Languages
|
#### Supported Languages
|
||||||
- 🇬🇧 **English**: `en`
|
- 🇬🇧 **English**: `en`
|
||||||
- 🇩🇪 **German**: `de`
|
- 🇩🇪 **German**: `de`
|
||||||
|
- 🇳🇱 **Dutch**: `nl`
|
||||||
|
|
||||||
#### Add your Language
|
#### 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.
|
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.
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Locales - Import translation files here!
|
// Locales - Import translation files here!
|
||||||
import en from '@/assets/locales/en.json';
|
import en from '@/assets/locales/en.json';
|
||||||
import de from '@/assets/locales/de.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
|
// Language data - Add your country name, locale code and imported file here
|
||||||
export const languages = [
|
export const languages = [
|
||||||
@ -16,6 +17,12 @@ export const languages = [
|
|||||||
locale: de,
|
locale: de,
|
||||||
flag: '🇩🇪',
|
flag: '🇩🇪',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'Dutch',
|
||||||
|
code: 'nl',
|
||||||
|
locale: nl,
|
||||||
|
flag: '🇳🇱',
|
||||||
|
},
|
||||||
// Including:
|
// Including:
|
||||||
// name - Human readable name for your language (e.g German)
|
// name - Human readable name for your language (e.g German)
|
||||||
// code - ISO language code (e.g. de)
|
// code - ISO language code (e.g. de)
|
||||||
|
Loading…
Reference in New Issue
Block a user