- Where the developer has advised the Planning
- Inspectorate in writing that they intend to submit an
- application to us in the future
-
-
- Where an application has already been made to the
- Planning Inspectorate and is undergoing the examination
- process
-
-
Where a proposal has been decided.
+
{t("dnsApplications:page-intro-list-item-1")}
+
+
{t("dnsApplications:page-intro-list-item-2")}
+
+
{t("dnsApplications:page-intro-list-item-3")}
-
- Use the table below to find applications by stage or type.
- Alternatively, use the map by clicking on the markers to go
- to the applications page. A list of key events and deadlines
- for all applications is available on our calendar page.
+
- A list of all the Developments of National
- Significance that have already been submitted
- and those we are expecting to be submitted.
+ {t(
+ "dnsHome:links-applications-intro-paragraph"
+ )}
- An overview and detailed guidance on the
- Developments of National Significance
- application process
+ {t("dnsHome:links-guidance-intro-paragraph")}
- Developments of National Significance
+ {t("dnsCommon:service-name")}
-
- A Development of National Significance (DNS) is a type of
- planning application for a large infrastructure project of
- national importance in Wales. Here you can find out about
- proposed DNS applications. This site is managed by the
- Planning Inspectorate.
-
diff --git a/components/footer.js b/components/footer.js
index a4ae1592..803574e9 100644
--- a/components/footer.js
+++ b/components/footer.js
@@ -47,7 +47,7 @@ export default function Footer(props) {
shareState();
}}
>
- Share this page
+ {t("common:social-bar-share-link")}
- Share this page via{" "}
+ {t(
+ "common:social-bar-share-via-link"
+ )}{" "}
Twitter
@@ -97,7 +99,9 @@ export default function Footer(props) {
id="sharebar__backtotop"
className="btn--outlined btn--arrow-up"
>
- Back to top
+
+ {t("common:back-to-top-link")}
+
diff --git a/i18n.json b/i18n.json
index a506b4d8..c8b814d2 100644
--- a/i18n.json
+++ b/i18n.json
@@ -40,6 +40,21 @@
],
"/newappeal/*": [
"newappeal"
+ ],
+ "/dns/*": [
+ "dnsCommon"
+ ],
+ "/dns": [
+ "dnsCommon",
+ "dnsHome"
+ ],
+ "/dns/applications": [
+ "dnsCommon",
+ "dnsApplications"
+ ],
+ "/dns/application-view": [
+ "dnsCommon",
+ "dnsApplicationView"
]
}
}
\ No newline at end of file
diff --git a/locales/cy/common.json b/locales/cy/common.json
index 426633bf..80655000 100644
--- a/locales/cy/common.json
+++ b/locales/cy/common.json
@@ -13,5 +13,8 @@
"footer-accessibility-link": "Hygyrchedd",
"footer-feedback-link": "Adborth",
"mobile-nav-label": "Dewislen",
- "signout-label": "Cofrestrwch allan"
+ "signout-label": "Cofrestrwch allan",
+ "back-to-top-link": "Nôl i dop y dudalen",
+ "social-bar-share-link": "Rhannu’r dudalen hon",
+ "social-bar-share-via-link": "Rhannu’r dudalen hon ar"
}
\ No newline at end of file
diff --git a/locales/cy/dnsApplicationView.json b/locales/cy/dnsApplicationView.json
new file mode 100644
index 00000000..9928509d
--- /dev/null
+++ b/locales/cy/dnsApplicationView.json
@@ -0,0 +1,3 @@
+{
+ "page-parent-title": "Tudalen Ceisiadau"
+}
\ No newline at end of file
diff --git a/locales/cy/dnsApplications.json b/locales/cy/dnsApplications.json
new file mode 100644
index 00000000..519ff63b
--- /dev/null
+++ b/locales/cy/dnsApplications.json
@@ -0,0 +1,14 @@
+{
+ "page-title": "Tudalen Ceisiadau",
+ "page-intro-paragraph-1": "Y ceisiadau a restrir yw’r rhai:",
+ "page-intro-list-item-1": "Lle mae’r datblygwr wedi hysbysu’r Arolygiaeth Gynllunio yn ysgrifenedig eu bod yn bwriadu cyflwyno cais i ni yn y dyfodol",
+ "page-intro-list-item-2": "Lle cafodd cais ei wneud eisoes i’r Arolygiaeth Gynllunio ac mae’n mynd drwy’r broses archwilio",
+ "page-intro-list-item-3": "Lle penderfynwyd ar y cynnig.",
+ "page-intro-paragraph-2": "Defnyddiwch y tabl isod i ddod o hyd i geisiadau fesul cam neu fath. Fel arall, defnyddiwch y map trwy glicio ar y marcwyr i fynd i’r dudalen geisiadau. Mae rhestr o ddigwyddiadau a therfynau amser allweddol ar gyfer pob cais ar gael ar ein ",
+ "page-intro-paragraph-2-link": "tudalen galendr",
+ "result-list-heading-label-reference": "Cyfeirnod",
+ "result-list-heading-label-application": "Cais",
+ "result-list-heading-label-developer": "Datblygwr",
+ "result-list-heading-label-type": "Math",
+ "result-list-heading-label-status": "Statws"
+}
\ No newline at end of file
diff --git a/locales/cy/dnsCommon.json b/locales/cy/dnsCommon.json
new file mode 100644
index 00000000..b9d52db9
--- /dev/null
+++ b/locales/cy/dnsCommon.json
@@ -0,0 +1,9 @@
+{
+ "service-name": "Datblygiadau o Arwyddocâd Cenedlaethol",
+ "result-list-show-label": "Dangos",
+ "result-list-entries-label": "o gofnodion",
+ "result-list-showing-label": "Dangos {{recordIndex}} i {{pagingIndex}} o {{totalRecords}} o gofnodion",
+ "result-list-search-label": "Hidlo",
+ "result-list-previous-label": "Blaenorol",
+ "result-list-next-label": "Nesaf"
+}
\ No newline at end of file
diff --git a/locales/cy/dnsHome.json b/locales/cy/dnsHome.json
new file mode 100644
index 00000000..380771f1
--- /dev/null
+++ b/locales/cy/dnsHome.json
@@ -0,0 +1,15 @@
+{
+ "title-paragraph": "Mae Datblygiad o Arwyddocâd Cenedlaethol (DAC) yn fath o gais cynllunio ar gyfer prosiect seilwaith mawr sydd o bwysigrwydd cenedlaethol yng Nghymru. Yn y fan hon, gallwch gael gwybod am geisiadau DAC arfaethedig. Rheolir y safle hwn gan yr Arolygiaeth Gynllunio.",
+ "title-application-search-placeholder": "Chwilio enw'r cais",
+ "title-application-search-button": "Chwilio",
+ "links-applications-title": "Ceisiadau",
+ "links-applications-intro-paragraph": "Rhestr o’r holl Ddatblygiadau o Arwyddocâd Cenedlaethol sydd eisoes wedi cael eu cyflwyno a’r rhai hynny rydym yn disgwyl iddynt gael eu cyflwyno.",
+ "links-help-title": "Cymorth",
+ "links-help-intro-paragraph": "Gwybodaeth am y wefan hon.",
+ "links-guidance-title": "Canllawiau",
+ "links-guidance-intro-paragraph": "Trosolwg a chanllawiau manwl ar y broses ymgeisio ar gyfer Datblygiadau o Arwyddocâd Cenedlaethol.",
+ "links-contactus-title": "Cysylltu â ni",
+ "links-contactus-intro-paragraph": "Cysylltu â ni.",
+ "latest-applications-title": "Ceisiadau Diweddaraf",
+ "applications-for-comment-title": "Ceisiadau sy’n agored ar gyfer sylwadau"
+}
\ No newline at end of file
diff --git a/locales/en/common.json b/locales/en/common.json
index 930c5fe9..26798d7f 100644
--- a/locales/en/common.json
+++ b/locales/en/common.json
@@ -13,5 +13,8 @@
"footer-accessibility-link": "Accessibility",
"footer-feedback-link": "Feedback",
"mobile-nav-label": "Menu",
- "signout-label": "Sign out"
+ "signout-label": "Sign out",
+ "back-to-top-link": "Back to top",
+ "social-bar-share-link": "Share this page",
+ "social-bar-share-via-link": "Share this page via"
}
\ No newline at end of file
diff --git a/locales/en/dnsApplicationView.json b/locales/en/dnsApplicationView.json
new file mode 100644
index 00000000..be66b419
--- /dev/null
+++ b/locales/en/dnsApplicationView.json
@@ -0,0 +1,3 @@
+{
+ "page-parent-title": "Applications"
+}
\ No newline at end of file
diff --git a/locales/en/dnsApplications.json b/locales/en/dnsApplications.json
new file mode 100644
index 00000000..57527e82
--- /dev/null
+++ b/locales/en/dnsApplications.json
@@ -0,0 +1,14 @@
+{
+ "page-title": "Applications",
+ "page-intro-paragraph-1": "The applications listed are those:",
+ "page-intro-list-item-1": "Where the developer has advised the Planning Inspectorate in writing that they intend to submit an application to us in the future",
+ "page-intro-list-item-2": "Where an application has already been made to the Planning Inspectorate and is undergoing the examination process",
+ "page-intro-list-item-3": "Where a proposal has been decided.",
+ "page-intro-paragraph-2": "Use the table below to find applications by stage or type. Alternatively, use the map by clicking on the markers to go to the applications page. A list of key events and deadlines for all applications is available on our ",
+ "page-intro-paragraph-2-link": "calendar page",
+ "result-list-heading-label-reference": "Reference",
+ "result-list-heading-label-application": "Application",
+ "result-list-heading-label-developer": "Developer",
+ "result-list-heading-label-type": "Type",
+ "result-list-heading-label-status": "Status"
+}
\ No newline at end of file
diff --git a/locales/en/dnsCommon.json b/locales/en/dnsCommon.json
new file mode 100644
index 00000000..44cd86d6
--- /dev/null
+++ b/locales/en/dnsCommon.json
@@ -0,0 +1,9 @@
+{
+ "service-name": "Developments of National Significance",
+ "result-list-show-label": "Show",
+ "result-list-entries-label": "entries",
+ "result-list-showing-label": "Showing {{recordIndex}} to {{pagingIndex}} of {{totalRecords}} entries",
+ "result-list-search-label": "Search",
+ "result-list-previous-label": "Previous",
+ "result-list-next-label": "Next"
+}
\ No newline at end of file
diff --git a/locales/en/dnsHome.json b/locales/en/dnsHome.json
new file mode 100644
index 00000000..6776d01f
--- /dev/null
+++ b/locales/en/dnsHome.json
@@ -0,0 +1,15 @@
+{
+ "title-paragraph": "A Development of National Significance (DNS) is a type of planning application for a large infrastructure project of national importance in Wales. Here you can find out about proposed DNS applications. This site is managed by the Planning Inspectorate.",
+ "title-application-search-placeholder": "Search application name",
+ "title-application-search-button": "Go",
+ "links-applications-title": "Applications",
+ "links-applications-intro-paragraph": "A list of all the Developments of National Significance that have already been submitted and those we are expecting to be submitted.",
+ "links-help-title": "Help",
+ "links-help-intro-paragraph": "Information about this website.",
+ "links-guidance-title": "Guidance",
+ "links-guidance-intro-paragraph": "An overview and detailed guidance on the Developments of National Significance application process",
+ "links-contactus-title": "Contact us",
+ "links-contactus-intro-paragraph": "How to get in touch with The Planning Inspectorate.",
+ "latest-applications-title": "Latest applications",
+ "applications-for-comment-title": "Applications open for comments"
+}
\ No newline at end of file
diff --git a/pages/api/lookups/pinswg_appealcasetype.js b/pages/api/lookups/pinswg_appealcasetype.js
index 42dd844d..2a46bf88 100644
--- a/pages/api/lookups/pinswg_appealcasetype.js
+++ b/pages/api/lookups/pinswg_appealcasetype.js
@@ -14,7 +14,7 @@ const ApiResponse = (req, res) => {
"LocalizedLabels": [
{
"Label":
- "Listed Building and Convention S73 + S79",
+ "Listed Building and Conservation Area Consent S73 + S79",
"LanguageCode": 1033,
"IsManaged": false,
"MetadataId":
@@ -23,7 +23,8 @@ const ApiResponse = (req, res) => {
},
],
"UserLocalizedLabel": {
- "Label": "Listed Building and Convention S73 + S79",
+ "Label":
+ "Listed Building and Conservation Area Consent S73 + S79",
"LanguageCode": 1033,
"IsManaged": false,
"MetadataId":
diff --git a/pages/dns/applications.js b/pages/dns/applications.js
index 6102959a..7d075fe3 100644
--- a/pages/dns/applications.js
+++ b/pages/dns/applications.js
@@ -29,7 +29,8 @@ const Applications = (props) => {
{" "}
- Applications - Developments of National Significance
+ {t("dnsApplications:page-title")} -{" "}
+ {t("dnsCommon:service-name")}