Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

feat(lang): add english uk language (#2715)

Jack Weller93c64baec294
diff --git a/packages/translation/src/config.ts b/packages/translation/src/config.ts
index e30789ae9..04f9a32fb 100644
--- a/packages/translation/src/config.ts
+++ b/packages/translation/src/config.ts
@@ -60,9 +60,20 @@ export const localeConfigurations = {
return import("dayjs/locale/de").then((module) => module.default);
},
},
+ "en-gb": {
+ name: "English (UK)",
+ translatedName: "English (UK)",
+ flagIcon: "gb",
+ importMrtLocalization() {
+ return import("mantine-react-table/locales/en/index.esm.mjs").then((module) => module.MRT_Localization_EN);
+ },
+ importDayJsLocale() {
+ return import("dayjs/locale/en-gb").then((module) => module.default);
+ },
+ },
en: {
- name: "English",
- translatedName: "English",
+ name: "English (US)",
+ translatedName: "English (US)",
flagIcon: "us",
importMrtLocalization() {
return import("mantine-react-table/locales/en/index.esm.mjs").then((module) => module.MRT_Localization_EN);
diff --git a/packages/translation/src/lang/en-gb.json b/packages/translation/src/lang/en-gb.json
new file mode 100644
index 000000000..8f34bbaf8
--- /dev/null
+++ b/packages/translation/src/lang/en-gb.json
@@ -0,0 +1,22 @@
+{
+ "init": {},
+ "user": {},
+ "group": {},
+ "app": {},
+ "integration": {},
+ "media": {},
+ "common": {},
+ "section": {},
+ "item": {},
+ "widget": {},
+ "widgetPreview": {},
+ "board": {},
+ "layout": {},
+ "management": {},
+ "docker": {},
+ "kubernetes": {},
+ "permission": {},
+ "navigationStructure": {},
+ "search": {},
+ "certificate": {}
+}