Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Manually merge PR #1879.
Mike Caod406564af364
diff --git a/lib/lang.js b/lib/lang.jsindex 918f97835..0e294887f 100644--- a/lib/lang.js+++ b/lib/lang.js@@ -47,12 +47,11 @@ export const languages = {'ar-SA': { label: 'العربية', dateLocale: arSA, dir: 'rtl' },'be-BY': { label: 'Беларуская', dateLocale: be },'bn-BD': { label: 'বাংলা', dateLocale: bn },- 'zh-CN': { label: '中文', dateLocale: zhCN },- 'zh-TW': { label: '中文(繁體)', dateLocale: zhTW },'ca-ES': { label: 'Català', dateLocale: ca },'cs-CZ': { label: 'Čeština', dateLocale: cs },'da-DK': { label: 'Dansk', dateLocale: da },'de-DE': { label: 'Deutsch', dateLocale: de },+ 'el-GR': { label: 'Ελληνικά', dateLocale: el },'en-US': { label: 'English (US)', dateLocale: enUS },'en-GB': { label: 'English (UK)', dateLocale: enGB },'es-MX': { label: 'Español', dateLocale: es },@@ -60,23 +59,22 @@ export const languages = {'fo-FO': { label: 'Føroyskt' },'fr-FR': { label: 'Français', dateLocale: fr },'ga-ES': { label: 'Galacian (Spain)', dateLocale: es },- 'el-GR': { label: 'Ελληνικά', dateLocale: el },'he-IL': { label: 'עברית', dateLocale: he },'hi-IN': { label: 'हिन्दी', dateLocale: hi },'hu-HU': { label: 'Hungarian', dateLocale: hu },- 'it-IT': { label: 'Italiano', dateLocale: it },'id-ID': { label: 'Bahasa Indonesia', dateLocale: id },+ 'it-IT': { label: 'Italiano', dateLocale: it },'ja-JP': { label: '日本語', dateLocale: ja },'km-KH': { label: 'ភាសាខ្មែរ', dateLocale: km },'ko-KR': { label: '한국어', dateLocale: ko },'lt-LT': { label: 'Lietuvių', dateLocale: lt },- 'ms-MY': { label: 'Malay', dateLocale: ms },'mn-MN': { label: 'Монгол', dateLocale: mn },+ 'ms-MY': { label: 'Malay', dateLocale: ms },'nl-NL': { label: 'Nederlands', dateLocale: nl },'nb-NO': { label: 'Norsk Bokmål', dateLocale: nb },'pl-PL': { label: 'Polski', dateLocale: pl },- 'pt-PT': { label: 'Português', dateLocale: pt },'pt-BR': { label: 'Português do Brasil', dateLocale: ptBR },+ 'pt-PT': { label: 'Português', dateLocale: pt },'ru-RU': { label: 'Русский', dateLocale: ru },'ro-RO': { label: 'Română', dateLocale: ro },'sk-SK': { label: 'Slovenčina', dateLocale: sk },@@ -90,6 +88,8 @@ export const languages = {'uk-UA': { label: 'українська', dateLocale: uk },'ur-PK': { label: 'Urdu (Pakistan)', dateLocale: uk, dir: 'rtl' },'vi-VN': { label: 'Tiếng Việt', dateLocale: vi },+ 'zh-CN': { label: '中文', dateLocale: zhCN },+ 'zh-TW': { label: '中文(繁體)', dateLocale: zhTW },};export function getDateLocale(locale) {