diff --git a/AKPlan/templates/AKPlan/plan_akslot.html b/AKPlan/templates/AKPlan/plan_akslot.html index ffa9dae9a65641c85a797e6a54ade5ce1441b07b..95b6ac0eb488dba8d6a7fcbbb96fd86968503c83 100644 --- a/AKPlan/templates/AKPlan/plan_akslot.html +++ b/AKPlan/templates/AKPlan/plan_akslot.html @@ -13,6 +13,8 @@ // Adapt to timezone of the connected event timeZone: '{{ ak.event.timezone }}', initialView: 'timeGrid', + // Adapt to user selected locale + locale: '{{ LANGUAGE_CODE }}', // No header, not buttons headerToolbar: false, aspectRatio: 2.5, diff --git a/AKPlan/templates/AKPlan/plan_detail.html b/AKPlan/templates/AKPlan/plan_detail.html index 430596fa5b8b9b70f1fb4574b53aa4cfe2f445e7..7c4423dac832d3a6d45e5c78efca62800381d8ec 100644 --- a/AKPlan/templates/AKPlan/plan_detail.html +++ b/AKPlan/templates/AKPlan/plan_detail.html @@ -18,6 +18,8 @@ // Adapt to timezone of the connected event timeZone: '{{ event.timezone }}', initialView: 'timeGrid', + // Adapt to user selected locale + locale: '{{ LANGUAGE_CODE }}', // No header, not buttons headerToolbar: { left: '', diff --git a/AKPlan/templates/AKPlan/plan_index.html b/AKPlan/templates/AKPlan/plan_index.html index f1270d7356265d74a7089196b566298fd8460e43..0f2129bcddb16252171f11028d329fff929abbc3 100644 --- a/AKPlan/templates/AKPlan/plan_index.html +++ b/AKPlan/templates/AKPlan/plan_index.html @@ -22,6 +22,8 @@ right: 'resourceTimelineDay,resourceTimelineEvent' }, themeSystem: 'bootstrap', + // Adapt to user selected locale + locale: '{{ LANGUAGE_CODE }}', initialView: 'resourceTimelineEvent', views: { resourceTimelineDay: { diff --git a/AKPlan/templates/AKPlan/plan_wall.html b/AKPlan/templates/AKPlan/plan_wall.html index ac49b82e3228645552a4636cfcba7a78344520e7..d4ae656b8923004b6983186579e0110b8f5aadfd 100644 --- a/AKPlan/templates/AKPlan/plan_wall.html +++ b/AKPlan/templates/AKPlan/plan_wall.html @@ -29,6 +29,8 @@ timeZone: '{{ event.timezone }}', headerToolbar: false, themeSystem: 'bootstrap', + // Adapt to user selected locale + locale: '{{ LANGUAGE_CODE }}', slotDuration: '01:00', initialView: 'resourceTimeline', visibleRange: { diff --git a/AKScheduling/templates/admin/AKScheduling/scheduling.html b/AKScheduling/templates/admin/AKScheduling/scheduling.html index 980b3bea0885e82ef397e848c36e53a096d7d6d3..62b672364187ebce313c6e62654a750f752cbd82 100644 --- a/AKScheduling/templates/admin/AKScheduling/scheduling.html +++ b/AKScheduling/templates/admin/AKScheduling/scheduling.html @@ -78,6 +78,8 @@ }, //aspectRatio: 2, themeSystem: 'bootstrap', + // Adapt to user selected locale + locale: '{{ LANGUAGE_CODE }}', initialView: 'resourceTimelineEventVert', views: { resourceTimelineDayHoriz: {