Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
# Translations
airflow-core/src/airflow/ui/src/i18n/locales/de/ @jscheffl
airflow-core/src/airflow/ui/src/i18n/locales/zh_TW/ @Lee-W
airflow-core/src/airflow/ui/src/i18n/locales/nl/ @BasPH @DjVinnii

# Security/Permissions
/airflow-core/src/airflow/security/permissions.py @vincbeck
Expand Down
7 changes: 7 additions & 0 deletions airflow-core/src/airflow/ui/src/i18n/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ import enCommon from "./locales/en/common.json";
import enDashboard from "./locales/en/dashboard.json";
import koCommon from "./locales/ko/common.json";
import koDashboard from "./locales/ko/dashboard.json";
import nlCommon from "./locales/nl/common.json";
import nlDashboard from "./locales/nl/dashboard.json";
import zhTWCommon from "./locales/zh-TW/common.json";
import zhTWDashboard from "./locales/zh-TW/dashboard.json";

Expand All @@ -36,6 +38,7 @@ export const supportedLanguages = [
{ code: "de", name: "Deutsch" },
{ code: "en", name: "English" },
{ code: "ko", name: "한국어" },
{ code: "nl", name: "Nederlands" },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mhm is this correct? Thisis not the "country code" but the name of the language. Does it need to be "Dutch"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jscheffl If all the names should be in English, then yes. However, to me it seems like the name in here should be the in represented language.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks correct to me

{ code: "zh-TW", name: "繁體中文" },
] as const;

Expand All @@ -55,6 +58,10 @@ const resources = {
common: koCommon,
dashboard: koDashboard,
},
nl: {
common: nlCommon,
dashboard: nlDashboard,
},
"zh-TW": {
common: zhTWCommon,
dashboard: zhTWDashboard,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"en": "Englisch",
"de": "Deutsch",
"ko": "Koreanisch",
"nl": "Niederländisch",
"select": "Sprache wählen"
},
"nav": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"en": "English",
"de": "German",
"ko": "Korean",
"nl": "Dutch",
"select": "Select Language"
},
"nav": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"en": "영어",
"de": "독일어",
"ko": "한국어",
"nl": "네덜란드 사람",
"select": "언어 선택"
},
"nav": {
Expand Down
80 changes: 80 additions & 0 deletions airflow-core/src/airflow/ui/src/i18n/locales/nl/common.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"defaultToGraphView": "Standaard grafiekweergave",
"defaultToGridView": "Standaard rasterweergave",
"logout": "Uitloggen",
"switchToDarkMode": "Schakel over naar donkere modus",
"switchToLightMode": "Schakel over naar lichte modus",
"timezone": "Tijdzone",
"user": "Gebruiker",
"language": {
"zh-TW": "Traditioneel Chinees",
"en": "Engels",
"de": "Duits",
"ko": "Koreaans",
"nl": "Nederlands",
"select": "Selecteer taal"
},
"nav": {
"home": "Home",
"assets": "Assets",
"browse": "Verken",
"admin": "Beheer",
"docs": "Documentatie",
"plugins": "Plugins"
},
"browse": {
"auditLog": "Audit Log",
"xcoms": "XComs"
},
"admin": {
"Variables": "Variabelen",
"Pools": "Pools",
"Providers": "Providers",
"Plugins": "Plugins",
"Connections": "Connecties",
"Config": "Configuratie"
},
"timeRange": {
"duration": "Duur",
"lastHour": "Laatste uur",
"last12Hours": "Laatste 12 uur",
"last24Hours": "Laatste 24 uur",
"pastWeek": "Laatste week"
},
"docs": {
"documentation": "Documentatie",
"githubRepo": "GitHub Repo",
"restApiReference": "REST API referentie"
},
"states": {
"queued": "Wachtend",
"running": "Lopend",
"success": "Succesvol",
"failed": "Mislukt",
"skipped": "Overgeslagen",
"removed": "Verwijderd",
"scheduled": "Gepland",
"restarting": "Herstartend",
"up_for_retry": "Wachtend op een nieuwe poging",
"up_for_reschedule": "Wachtend op herplanning",
"upstream_failed": "Upstream mislukt",
"deferred": "Uitgesteld",
"no_status": "Geen Status"
},
"dagRun_one": "Dag Run",
"dagRun_other": "Dag Runs",
"taskInstance_one": "Task Instance",
"taskInstance_other": "Task Instances",
"assetEvent_one": "Asset Event",
"assetEvent_other": "Asset Events",
"triggered": "Triggered",
"pools": {
"open": "Open",
"running": "Lopend",
"queued": "Wachtend",
"scheduled": "Gepland",
"deferred": "Uitgesteld",
"pools_one": "pool",
"pools_other": "pools"
}
}
38 changes: 38 additions & 0 deletions airflow-core/src/airflow/ui/src/i18n/locales/nl/dashboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"welcome": "Welkom",
"stats": {
"stats": "Statistieken",
"failedDags": "Mislukte Dags",
"runningDags": "Lopende Dags",
"activeDags": "Actieve Dags",
"queuedDags": "Dags in de wachtrij"
},
"health": {
"health": "Status",
"metaDatabase": "MetaDatabase",
"scheduler": "Scheduler",
"triggerer": "Triggerer",
"dagProcessor": "Dag Processor",
"status": "Status",
"lastHeartbeat": "Laatste hartslag",
"healthy": "OK",
"unhealthy": "Fout"
},
"importErrors": {
"searchByFile": "Zoek op bestand",
"dagImportError_one": "Dag leesfout",
"dagImportError_other": "Dag leesfouten",
"timestamp": "Tijd"
},
"poolSlots": "Pool Slots",
"managePools": "Beheer Pools",
"history": "Geschiedenis",
"sortBy": {
"newestFirst": "Nieuwste eerst",
"oldestFirst": "Oudste eerst"
},
"source": "Bron",
"group": "Groep",
"uri": "Uri",
"noAssetEvents": "Geen Asset Events gevonden."
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"en": "英文",
"de": "德文",
"ko": "韓國人",
"nl": "荷蘭語",
"select": "選擇語言"
},
"nav": {
Expand Down
Loading