diff --git a/README.md b/README.md index ccb6076d..772bdbba 100644 --- a/README.md +++ b/README.md @@ -142,4 +142,4 @@ time_zone: null ## Footnotes [^1]: Theme used: [lovelace-ios-themes](https://github.com/basnijholt/lovelace-ios-themes). -[^2]: Supported languages: `bg`, `ca`, `cs` `da`, `de`, `el`,`en`, `es`, `et`, `fi`, `fr`, `he`, `hu`, `it`, `ko`, `nb`, `nl`, `pl`, `pt`, `pt-BR`, `ro`, `ru`, `sk`, `sl`, `sv`, `th`, `uk`, `vi`, `zh-CN`, `zh-TW` +[^2]: Supported languages: `bg`, `ca`, `cs` `da`, `de`, `el`,`en`, `es`, `et`, `fi`, `fr`, `he`, `hu`, `is`, `it`, `ko`, `nb`, `nl`, `pl`, `pt`, `pt-BR`, `ro`, `ru`, `sk`, `sl`, `sv`, `th`, `uk`, `vi`, `zh-CN`, `zh-TW` diff --git a/src/localize/languages/is.json b/src/localize/languages/is.json new file mode 100644 index 00000000..b4d00433 --- /dev/null +++ b/src/localize/languages/is.json @@ -0,0 +1,28 @@ +{ + "weather": { + "clear-night": "Heiðskýrt", + "cloudy": "Skýjað", + "fog": "Þoka", + "hail": "Hagl", + "lightning": "Eldingar", + "lightning-rainy": "Þrumur", + "partlycloudy": "Skýjað að hluta", + "pouring": "mikil rigning", + "rainy": "Rigning", + "snowy": "Snjókoma", + "snowy-rainy": "Él", + "sunny": "Sólríkt", + "windy": "Hvasst", + "windy-variant": "Stórmur", + "exceptional": "Óveður" + }, + "day": { + "1": "Mán", + "2": "Þri", + "3": "Mið", + "4": "Fim", + "5": "Fös", + "6": "Lau", + "7": "Sun" + } + } \ No newline at end of file diff --git a/src/localize/localize.ts b/src/localize/localize.ts index 7f697b31..722e03e5 100644 --- a/src/localize/localize.ts +++ b/src/localize/localize.ts @@ -11,6 +11,7 @@ import * as fi from './languages/fi.json' import * as fr from './languages/fr.json' import * as he from './languages/he.json' import * as hu from './languages/hu.json' +import * as is from './languages/is.json' import * as it from './languages/it.json' import * as ko from './languages/ko.json' import * as nb from './languages/nb.json' @@ -44,6 +45,7 @@ const languages: any = { fr, he, hu, + is, it, ko, nb,