diff --git a/README.md b/README.md index f9d98f8f..fbec2cc8 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`, `is`, `it`, `ko`, `nb`, `nl`, `pl`, `pt`, `pt-BR`, `ro`, `ru`, `sk`, `sl`, `sv`, `th`, `tr`, `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`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-TW` diff --git a/src/localize/languages/ur.json b/src/localize/languages/ur.json new file mode 100644 index 00000000..3830a7eb --- /dev/null +++ b/src/localize/languages/ur.json @@ -0,0 +1,28 @@ +{ + "weather": { + "clear-night": "صاف", + "cloudy": "ابر آلود", + "fog": "دھند", + "hail": "اولے", + "lightning": "گرج چمک", + "lightning-rainy": "گرج چمک کے ساتھ بارش", + "partlycloudy": "جزوی طور پر ابر آلود", + "pouring": "موسلا دھار بارش", + "rainy": "بارش", + "snowy": "برفانی", + "snowy-rainy": "ژالہ باری", + "sunny": "دھوپ", + "windy": "آندھی", + "windy-variant": "تیز آندھی", + "exceptional": "غیر معمولی" + }, + "day": { + "1": "پیر", + "2": "منگل", + "3": "بدھ", + "4": "جمعرات", + "5": "جمعہ", + "6": "ہفتہ", + "7": "اتوار" + } +} diff --git a/src/localize/localize.ts b/src/localize/localize.ts index f7c33850..c5828029 100644 --- a/src/localize/localize.ts +++ b/src/localize/localize.ts @@ -27,6 +27,7 @@ import * as sv from './languages/sv.json' import * as th from './languages/th.json' import * as tr from './languages/tr.json' import * as uk from './languages/uk.json' +import * as ur from './languages/ur.json' import * as vi from './languages/vi.json' import * as zhcn from './languages/zh-cn.json' import * as zhtw from './languages/zh-tw.json' @@ -62,6 +63,7 @@ const languages: any = { th, tr, uk, + ur, vi, zhcn, zhtw