diff --git a/config/locales/ar.yml b/config/locales/ar.yml new file mode 100644 index 0000000000..e8afbb3efe --- /dev/null +++ b/config/locales/ar.yml @@ -0,0 +1,3 @@ +--- +ar: + diff --git a/config/locales/az.yml b/config/locales/az.yml new file mode 100644 index 0000000000..f744c1cb8d --- /dev/null +++ b/config/locales/az.yml @@ -0,0 +1,3 @@ +--- +az: + diff --git a/config/locales/be.yml b/config/locales/be.yml new file mode 100644 index 0000000000..d3eaec50f4 --- /dev/null +++ b/config/locales/be.yml @@ -0,0 +1,3 @@ +--- +be: + diff --git a/config/locales/bg.yml b/config/locales/bg.yml new file mode 100644 index 0000000000..b28a420cae --- /dev/null +++ b/config/locales/bg.yml @@ -0,0 +1,3 @@ +--- +bg: + diff --git a/config/locales/bn.yml b/config/locales/bn.yml new file mode 100644 index 0000000000..992f199af4 --- /dev/null +++ b/config/locales/bn.yml @@ -0,0 +1,3 @@ +--- +bn: + diff --git a/config/locales/cs.yml b/config/locales/cs.yml new file mode 100644 index 0000000000..84626801ab --- /dev/null +++ b/config/locales/cs.yml @@ -0,0 +1,3 @@ +--- +cs: + diff --git a/config/locales/cy.yml b/config/locales/cy.yml index 8b3baad4a1..21cf44fa70 100644 --- a/config/locales/cy.yml +++ b/config/locales/cy.yml @@ -21,17 +21,17 @@ cy: heading: success: your_account: + about_description_html: + about_detail_description_html: + about_detail_title: + about_heading: emails: heading: - no_emails_inset: + manage_emails_link_text: no_emails_description: + no_emails_inset: see_and_manage: - manage_emails_link_text: heading: - about_heading: - about_description_html: - about_detail_title: - about_detail_description_html: and: a attachment: virus_check: @@ -43,7 +43,6 @@ cy: 2nd_january: 2il o Ionawr add_clock_changes_to_calendar: Ychwanegwch newidiadau i'r cloc yn y DU at eich calendr (ICS, 2KB) bank_holiday: Gŵyl y banc - queens_bank_holiday: Gŵyl y Banc ar gyfer Angladd Gwladol y Frenhines Elizabeth II battle_boyne: Brwydr y Boyne (Dydd yr Orenwyr) boxing_day: Dydd San Steffan bst_explanation: Yr enw ar y cyfnod pan mae'r clociau 1 awr ymlaen yw Amser Haf Prydain (BST). Mae mwy o olau dydd gyda'r nos a llai yn y bore (gelwir weithiau'n Amser Arbed Golau Dydd). @@ -67,6 +66,7 @@ cy: new_year: Dydd Calan queen_diamond: Jiwbilî Ddiemwnt y Frenhines queen_platinum: Gŵyl banc Jiwbilî Blatinwm + queens_bank_holiday: Gŵyl y Banc ar gyfer Angladd Gwladol y Frenhines Elizabeth II spring: Gŵyl banc y gwanwyn st_andrew: Gŵyl Andreas st_patrick: Gŵyl Sant Padrig @@ -76,8 +76,8 @@ cy: common: add_holiday_ics: Ychwanegu'r gwyliau banc %{for_nation} at eich calendr (ICS, 14KB) bank_holiday_benefits_html: Efallai bydd gwyliau banc yn effeithio ar sut a phryd caiff eich budd-daliadau eu talu. - bank_holiday_translation_html: Mae'r canllaw hwn hefyd ar gael yn Saesneg (English). bank_holiday_on_wkend: Os yw gŵyl banc yn cwympo ar benwythnos, bydd dydd o'r wythnos yn dod yn ŵyl banc 'amgen' yn ei le, fel arfer y dydd Llun canlynol. + bank_holiday_translation_html: Mae'r canllaw hwn hefyd ar gael yn Saesneg (English). download_ics: Llwythwch y dyddiadau hyn i lawr er mwyn eu hychwanegu at raglen calendr fel iCal neu Outlook extra_bank_holiday: Gŵyl banc ychwanegol holiday_entitlement_html: Nid oes yn rhaid i'ch cyflogwr roi gwyliau â thâl i chi ar wyliau banc neu gyhoeddus. @@ -113,16 +113,16 @@ cy: explanation: Ffeiliau wedi'u cadw ar eich ffôn, eich tabled neu eich cyfrifiadur pan fyddwch chi'n ymweld â gwefan yw cwcis. explanation_html: four_types: Rydyn ni'n defnyddio 4 math o gwci. Gallwch ddewis pa gwcis rydych chi'n hapus i ni eu defnyddio. - google_info: Mae Google Analytics yn gosod cwcis sy'n storio gwybodaeth yn ddi-enw am google_collection: + google_info: Mae Google Analytics yn gosod cwcis sy'n storio gwybodaeth yn ddi-enw am google_share: how_we_use: Rydyn ni'n defnyddio cwcis i storio gwybodaeth am sut rydych chi'n defnyddio gwefan GOV.UK, fel y tudalennau rydych chi'n ymweld â nhw. how_you_got: sut gyrhaeddoch chi'r wefan javascript: 'Rydyn ni''n defnyddio Javascript i osod y rhan fwyaf o''n cwcis. Yn anffodus, nid yw Javascript yn rhedeg ar eich porwr, felly nid oes modd i chi newid eich gosodiadau. Gallwch drio:' + javascript_extra: javascript_list: - ail-lwytho'r dudalen - troi Javascript ymlaen yn eich porwr - javascript_extra: lux_explain: lux_info: Mae meddalwedd LUX yn storio gwybodaeth yn ddi-enw am ba mor dda y gwnaeth tudalennau berfformio ar eich dyfais (gan gynnwys gwallau JavaScript). off-campaigns: Peidiwch â defnyddio cwcis sy'n helpu gyda chyfathrebu a marchnata @@ -144,8 +144,8 @@ cy: usage_info: Rydyn ni'n defnyddio Google Analytics a meddalwedd Real User Monitoring LUX gan SpeedCurve i fesur sut rydych chi'n defnyddio'r wefan a'ch profiad o berfformiad gwe tra byddwch chi'n ymweld â'r wefan fel y gallwn ni ei wella ar sail anghenion defnyddwyr. Dydyn ni ddim yn caniatáu i Google na SpeedCurve ddefnyddio na rhannu'r data am sut rydych chi'n defnyddio'r wefan hon. csv_preview: access_limited: - title: body: + title: document_type: aaib_report: few: @@ -676,8 +676,8 @@ cy: change: Newid local_transaction: change: Newid - contact_council: choose_address: Dewiswch eich cyfeiriad + contact_council: council_tax: treth gyngor county_council_services: Mae cynghorau sir yn gyfrifol am wasanaethau fel county_council_services_list: @@ -685,8 +685,8 @@ cy: - gofal cymdeithasol - trafnidiaeth county_district_council: - district_council_services: Mae cynghorau dosbarth yn gyfrifol am wasanaethau fel different_local_authorities: + district_council_services: Mae cynghorau dosbarth yn gyfrifol am wasanaethau fel enter_postcode: Ysgrifennwch god post error_summary_title: Mae problem wedi codi find_council: Dod o hyd i'ch cyngor lleol @@ -704,10 +704,8 @@ cy: invalid_postcode_sub: Gwiriwch a'i ysgrifennu eto. invalid_uprn: Nid yw hwn yn gyfeiriad dilys. invalid_uprn_sub: Ysgrifennwch y cod post eto. - search_for_a_different_postcode: local_authority_html: local_authority_website: Ewch i wefan %{local_authority_name} - what_you_need_to_know: Yr hyn y mae angen i chi ei wybod matched_postcode_html: Rydyn ni wedi paru'r cod post i %{local_authority}. no_local_authority: Doedden ni ddim yn gallu ffeindio cyngor ar gyfer y cod post hwn. no_local_authority_url_html: @@ -716,6 +714,7 @@ cy: postcode_hint: Er enghraifft CF99 1SN postcode_lookup: Chwilio am god post rubbish_recycling_collection: casglu sbwriel ac ailgylchu + search_for_a_different_postcode: search_result: select_address: Dewiswch gyfeiriad service_not_available: @@ -725,10 +724,11 @@ cy: valid_uprn_no_match: Doedden ni ddim yn gallu dod o hyd i'r cyfeiriad hwn. valid_uprn_no_match_sub_html: Gwiriwch ac ysgrifennu'r cod post eto. website: + what_you_need_to_know: Yr hyn y mae angen i chi ei wybod place: change: Newid - select_address: Dewiswch gyfeiriad postcode: Cod post + select_address: Dewiswch gyfeiriad simple_smart_answer: change: Newid next_step: Cam nesaf @@ -783,23 +783,23 @@ cy: intro_html: intro_simpler: intro_title: - text: - short_text: html: + short_text: + text: job_search: jobseekers_allowance: merged_websites_html: - ministerial_departments: - ministerial_departments_count: meta_description: meta_description_new: + ministerial_departments: + ministerial_departments_count: more: - popular_links_heading: - popular_links: more_links: other_agencies: other_agencies_count: popular: + popular_links: + popular_links_heading: promotion_slots: running_limited_company: search_button: @@ -868,11 +868,11 @@ cy: website: Gwefan when_do_the_clocks_change: calendar: + body: description: title: - body: - start_title: - start_notes: - end_title: - end_notes: + end_notes: + end_title: + start_notes: + start_title: 'yes': Ie diff --git a/config/locales/da.yml b/config/locales/da.yml new file mode 100644 index 0000000000..42464c9ad4 --- /dev/null +++ b/config/locales/da.yml @@ -0,0 +1,3 @@ +--- +da: + diff --git a/config/locales/de.yml b/config/locales/de.yml new file mode 100644 index 0000000000..613dedd68b --- /dev/null +++ b/config/locales/de.yml @@ -0,0 +1,3 @@ +--- +de: + diff --git a/config/locales/dr.yml b/config/locales/dr.yml new file mode 100644 index 0000000000..53bf9f2c7e --- /dev/null +++ b/config/locales/dr.yml @@ -0,0 +1,3 @@ +--- +dr: + diff --git a/config/locales/el.yml b/config/locales/el.yml new file mode 100644 index 0000000000..472f2c4dd2 --- /dev/null +++ b/config/locales/el.yml @@ -0,0 +1,3 @@ +--- +el: + diff --git a/config/locales/en.yml b/config/locales/en.yml index 4aa0bfa45c..4def9e9ece 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -21,17 +21,17 @@ en: heading: Cookie and feedback settings success: Your feedback and cookie settings have been changed. your_account: + about_description_html:

GOV.UK accounts are new. At the moment you can only use your account to manage your GOV.UK email subscriptions.

We’re working on adding more features and services.

+ about_detail_description_html:

GOV.UK accounts are a first step towards creating a single account that you can use to sign in to all government services.

They will eventually replace all other government accounts.

At the moment, GOV.UK accounts are separate from other government accounts (for example Government Gateway or Universal Credit).

+ about_detail_title: More about GOV.UK accounts + about_heading: About GOV.UK accounts emails: heading: Your GOV.UK email subscriptions - no_emails_inset: You do not currently have any GOV.UK email subscriptions. + manage_emails_link_text: Manage your GOV.UK email subscriptions no_emails_description: Some GOV.UK pages have a link to 'get emails'. You can use that link to subscribe to pages or topics you’re interested in. + no_emails_inset: You do not currently have any GOV.UK email subscriptions. see_and_manage: See and manage the emails you get about updates to pages on GOV.UK. - manage_emails_link_text: Manage your GOV.UK email subscriptions heading: Your GOV.UK account - about_heading: About GOV.UK accounts - about_description_html:

GOV.UK accounts are new. At the moment you can only use your account to manage your GOV.UK email subscriptions.

We’re working on adding more features and services.

- about_detail_title: More about GOV.UK accounts - about_detail_description_html:

GOV.UK accounts are a first step towards creating a single account that you can use to sign in to all government services.

They will eventually replace all other government accounts.

At the moment, GOV.UK accounts are separate from other government accounts (for example Government Gateway or Universal Credit).

and: and attachment: virus_check: @@ -43,7 +43,6 @@ en: 2nd_january: 2nd January add_clock_changes_to_calendar: Add clock changes in the UK to your calendar (ICS, 2KB) bank_holiday: Bank holiday - queens_bank_holiday: Bank Holiday for the State Funeral of Queen Elizabeth II battle_boyne: Battle of the Boyne (Orangemen’s Day) boxing_day: Boxing Day bst_explanation: The period when the clocks are 1 hour ahead is called British Summer Time (BST). There’s more daylight in the evenings and less in the mornings (sometimes called Daylight Saving Time). @@ -67,6 +66,7 @@ en: new_year: New Year’s Day queen_diamond: Queen’s Diamond Jubilee queen_platinum: Platinum Jubilee bank holiday + queens_bank_holiday: Bank Holiday for the State Funeral of Queen Elizabeth II spring: Spring bank holiday st_andrew: St Andrew’s Day st_patrick: St Patrick’s Day @@ -76,8 +76,8 @@ en: common: add_holiday_ics: Add bank holidays %{for_nation} to your calendar (ICS, 14KB) bank_holiday_benefits_html: Bank holidays might affect how and when your benefits are paid. - bank_holiday_translation_html: This guide is also available in Welsh (Cymraeg). bank_holiday_on_wkend: If a bank holiday is on a weekend, a ‘substitute’ weekday becomes a bank holiday, normally the following Monday. + bank_holiday_translation_html: This guide is also available in Welsh (Cymraeg). download_ics: Download these dates so you can add them to a calendar application such as iCal or Outlook extra_bank_holiday: Extra bank holiday holiday_entitlement_html: Your employer does not have to give you paid leave on bank or public holidays. @@ -107,22 +107,22 @@ en: confirmation_message: Government services may set additional cookies and, if so, will have their own cookie policy and banner. confirmation_previous_referrer_link: Go back to the page you were looking at confirmation_title: Your cookie settings were saved - explanation_html: This page has a brief explanation of each type of cookie we use. If you want more details, read our detailed cookie information. cookie_settings: Cookie settings cookies_on_govuk: Cookies on GOV.UK essential_explanation: These essential cookies do things like remember your progress through a form (for example a licence application) explanation: Cookies are files saved on your phone, tablet or computer when you visit a website. + explanation_html: This page has a brief explanation of each type of cookie we use. If you want more details, read our detailed cookie information. four_types: We use 4 types of cookie. You can choose which cookies you're happy for us to use. - google_info: 'These cookies collect information about:' google_collection: The information is collected in a way that does not directly identify you. + google_info: 'These cookies collect information about:' google_share: We do not allow Google or SpeedCurve to use or share this data for their own purposes. how_we_use: We use cookies to collect and store information about how you use the GOV.UK website and government digital services, such as the pages you visit. 'Government digital services' means any page with service.gov.uk in the URL. how_you_got: how you got to these sites javascript: 'We use Javascript to set most of our cookies. Unfortunately Javascript is not running on your browser, so you cannot change your settings on this page. You can try:' - javascript_list: - - reloading the page - - turning on Javascript in your browser javascript_extra: You can also remove any previously stored cookies through your browser. Look for 'Preferences', 'Settings', or 'Options' in your browser menu. + javascript_list: + - reloading the page + - turning on Javascript in your browser lux_explain: We also use LUX Real User Monitoring software cookies from SpeedCurve to measure your web performance experience while visiting GOV.UK. lux_info: LUX software cookies collect and store information about how well pages performed on your device, including whether there were any performance bottlenecks or JavaScript errors. off-campaigns: Do not use cookies that help with communications and marketing @@ -144,8 +144,8 @@ en: usage_info: We use Google Analytics cookies to measure how you use GOV.UK and government digital services. csv_preview: access_limited: - title: Access Forbidden body: You are not authorised to see the preview of this CSV file because it is attached to an access limited draft document. It is not possible to preview CSVs attached to access limited draft documents. You can download the CSV file if you belong to the same organisation as the person who is publishing it. + title: Access Forbidden document_type: aaib_report: one: Air Accidents Investigation Branch report @@ -384,17 +384,17 @@ en: change: Change local_transaction: change: Change - contact_council: contact your council choose_address: Choose your address + contact_council: contact your council council_tax: council tax county_council_services: County councils are responsible for services like county_council_services_list: - - education - - social care - - transport + - education + - social care + - transport county_district_council: Services in your area are provided by two local authorities - district_council_services: District councils are responsible for services like different_local_authorities: Different local authorities are responsible for different services. + district_council_services: District councils are responsible for services like enter_postcode: Enter a postcode error_summary_title: There is a problem find_council: Find your local council @@ -412,10 +412,8 @@ en: invalid_postcode_sub: Check it and enter it again. invalid_uprn: This isn't a valid address. invalid_uprn_sub: Enter the postcode again. - search_for_a_different_postcode: Search for a different postcode local_authority_html: Your local authority is %{local_authority_name}. local_authority_website: Go to %{local_authority_name} website - what_you_need_to_know: What you need to know matched_postcode_html: We’ve matched the postcode to %{local_authority}. no_local_authority: We couldn't find a council for this postcode. no_local_authority_url_html: We don't have a link for their website. Try the local council search instead. @@ -424,6 +422,7 @@ en: postcode_hint: For example SW1A 2AA postcode_lookup: Postcode lookup rubbish_recycling_collection: rubbish and recycling collection + search_for_a_different_postcode: Search for a different postcode search_result: search result select_address: Select an address service_not_available: This service is not available in %{country_name} @@ -433,10 +432,11 @@ en: valid_uprn_no_match: We couldn't find this address. valid_uprn_no_match_sub_html: Check it and enter the postcode again. website: You can get information on their website. + what_you_need_to_know: What you need to know place: - select_address: Select an address change: Change postcode: Postcode + select_address: Select an address simple_smart_answer: change: Change next_step: Next step @@ -481,73 +481,73 @@ en: service_not_listed_text: If you’re looking for a different service, you can search for it. homepage: categories: - - title: Benefits - description: Includes eligibility, appeals, tax credits and Universal Credit - link: /browse/benefits - - title: Births, deaths, marriages and care - description: Parenting, civil partnerships, divorce and Lasting Power of Attorney - link: /browse/births-deaths-marriages - - title: Business and self-employed - description: Tools and guidance for businesses - link: /browse/business - - title: Childcare and parenting - description: Includes giving birth, fostering, adopting, benefits for children, childcare and schools - link: /browse/childcare-parenting - - title: Citizenship and living in the UK - description: Voting, community participation, life in the UK, international projects - link: /browse/citizenship - - title: Crime, justice and the law - description: Legal processes, courts and the police - link: /browse/justice - - title: Disabled people - description: Includes carers, your rights, benefits and the Equality Act - link: /browse/disabilities - - title: Driving and transport - description: Includes vehicle tax, MOT and driving licences - link: /browse/driving - - title: Education and learning - description: Includes student loans, admissions and apprenticeships - link: /browse/education - - title: Employing people - description: Includes pay, contracts, hiring and redundancies - link: /browse/employing-people - - title: Environment and countryside - description: Includes flooding, recycling, farming and wildlife - link: /browse/environment-countryside - - title: Housing and local services - description: Owning or renting and council services - link: /browse/housing-local-services - - title: Money and tax - description: Includes debt and Self Assessment - link: /browse/tax - - title: Passports, travel and living abroad - description: Includes renewing passports and travel advice by country - link: /browse/abroad - - title: Visas and immigration - description: Apply to visit, work, study, settle or seek asylum in the UK - link: /browse/visas-immigration - - title: Working, jobs and pensions - description: Includes holidays, finding a job and redundancy - link: /browse/working + - title: Benefits + description: Includes eligibility, appeals, tax credits and Universal Credit + link: "/browse/benefits" + - title: Births, deaths, marriages and care + description: Parenting, civil partnerships, divorce and Lasting Power of Attorney + link: "/browse/births-deaths-marriages" + - title: Business and self-employed + description: Tools and guidance for businesses + link: "/browse/business" + - title: Childcare and parenting + description: Includes giving birth, fostering, adopting, benefits for children, childcare and schools + link: "/browse/childcare-parenting" + - title: Citizenship and living in the UK + description: Voting, community participation, life in the UK, international projects + link: "/browse/citizenship" + - title: Crime, justice and the law + description: Legal processes, courts and the police + link: "/browse/justice" + - title: Disabled people + description: Includes carers, your rights, benefits and the Equality Act + link: "/browse/disabilities" + - title: Driving and transport + description: Includes vehicle tax, MOT and driving licences + link: "/browse/driving" + - title: Education and learning + description: Includes student loans, admissions and apprenticeships + link: "/browse/education" + - title: Employing people + description: Includes pay, contracts, hiring and redundancies + link: "/browse/employing-people" + - title: Environment and countryside + description: Includes flooding, recycling, farming and wildlife + link: "/browse/environment-countryside" + - title: Housing and local services + description: Owning or renting and council services + link: "/browse/housing-local-services" + - title: Money and tax + description: Includes debt and Self Assessment + link: "/browse/tax" + - title: Passports, travel and living abroad + description: Includes renewing passports and travel advice by country + link: "/browse/abroad" + - title: Visas and immigration + description: Apply to visit, work, study, settle or seek asylum in the UK + link: "/browse/visas-immigration" + - title: Working, jobs and pensions + description: Includes holidays, finding a job and redundancy + link: "/browse/working" government_activity: - - title: Departments - description: Departments, agencies and public bodies - link: /government/organisations - - title: News - description: News stories, speeches, letters and notices - link: /search/news-and-communications - - title: Guidance and regulation - description: Detailed guidance, regulations and rules - link: /search/guidance-and-regulation - - title: Research and statistics - description: Reports, analysis and official statistics - link: /search/research-and-statistics - - title: Policy papers and consultations - description: Consultations and strategy - link: /search/policy-papers-and-consultations - - title: Transparency documents - description: Data, Freedom of Information releases and corporate reports - link: /search/transparency-and-freedom-of-information-releases + - title: Departments + description: Departments, agencies and public bodies + link: "/government/organisations" + - title: News + description: News stories, speeches, letters and notices + link: "/search/news-and-communications" + - title: Guidance and regulation + description: Detailed guidance, regulations and rules + link: "/search/guidance-and-regulation" + - title: Research and statistics + description: Reports, analysis and official statistics + link: "/search/research-and-statistics" + - title: Policy papers and consultations + description: Consultations and strategy + link: "/search/policy-papers-and-consultations" + - title: Transparency documents + description: Data, Freedom of Information releases and corporate reports + link: "/search/transparency-and-freedom-of-information-releases" index: brexit: 'Brexit: check what you need to do' covid: 'Coronavirus (COVID-19): guidance' @@ -557,68 +557,68 @@ en: intro_html: The best place to find government services and information intro_simpler: Simpler, clearer, faster intro_title: - text: Welcome to GOV.UK - short_text: GOV.UK html: Welcome to GOV.UK + short_text: GOV.UK + text: Welcome to GOV.UK job_search: Find a job jobseekers_allowance: Jobseeker’s Allowance merged_websites_html: The websites of all government departments and many other agencies and public bodies have been merged into GOV.UK. + meta_description: GOV.UK - The place to find government services and information - simpler, clearer, faster. + meta_description_new: GOV.UK - The best place to find government services and information. ministerial_departments: Ministerial departments ministerial_departments_count: 24 - meta_description_new: GOV.UK - The best place to find government services and information. - meta_description: GOV.UK - The place to find government services and information - simpler, clearer, faster. more: More on GOV.UK - popular_links_heading: Popular on GOV.UK - popular_links: - - title: 'HMRC account: sign in or set up' - url: /log-in-register-hmrc-online-services - - title: 'Universal Credit account: sign in' - url: /sign-in-universal-credit - - title: 'Personal tax account: sign in or set up' - url: /personal-tax-account - - title: 'Self Assessment tax return: sign in' - url: /log-in-file-self-assessment-tax-return - - title: 'Childcare account: sign in' - url: /sign-in-childcare-account - - title: 'Check your State Pension forecast' - url: /check-state-pension more_links: - - title: 'HMRC services: sign in' - link: /log-in-register-hmrc-online-services - - title: Check MOT history of a vehicle - link: /check-mot-history - - title: Tax your vehicle - link: /vehicle-tax - - title: Universal Credit - link: /universal-credit - - title: Foreign travel advice - link: /foreign-travel-advice - - title: Check your State Pension age - link: /state-pension-age - - title: 'Childcare account: sign in' - link: /sign-in-childcare-account - - title: 'Student finance: sign in' - link: /student-finance-register-login - - title: Self Assessment tax returns - link: /self-assessment-tax-returns - - title: Apply for a passport - link: /apply-renew-passport + - title: 'HMRC services: sign in' + link: "/log-in-register-hmrc-online-services" + - title: Check MOT history of a vehicle + link: "/check-mot-history" + - title: Tax your vehicle + link: "/vehicle-tax" + - title: Universal Credit + link: "/universal-credit" + - title: Foreign travel advice + link: "/foreign-travel-advice" + - title: Check your State Pension age + link: "/state-pension-age" + - title: 'Childcare account: sign in' + link: "/sign-in-childcare-account" + - title: 'Student finance: sign in' + link: "/student-finance-register-login" + - title: Self Assessment tax returns + link: "/self-assessment-tax-returns" + - title: Apply for a passport + link: "/apply-renew-passport" other_agencies: Other agencies and public bodies other_agencies_count: 400+ popular: Popular on GOV.UK + popular_links: + - title: 'HMRC account: sign in or set up' + url: "/log-in-register-hmrc-online-services" + - title: 'Universal Credit account: sign in' + url: "/sign-in-universal-credit" + - title: 'Personal tax account: sign in or set up' + url: "/personal-tax-account" + - title: 'Self Assessment tax return: sign in' + url: "/log-in-file-self-assessment-tax-return" + - title: 'Childcare account: sign in' + url: "/sign-in-childcare-account" + - title: Check your State Pension forecast + url: "/check-state-pension" + popular_links_heading: Popular on GOV.UK promotion_slots: - - text: Search and apply for jobs in England, Scotland and Wales. - title: Find a job - href: /find-a-job - image_src: homepage/find-a-job.png - - text: Check your record to see if you can add more contributions. - title: National Insurance - href: /check-national-insurance-record - image_src: homepage/national-insurance-featured.png - - text: Find out what support is available to help with the cost of living. - title: Cost of living support - href: /cost-of-living - image_src: homepage/cost-of-living.png + - text: Search and apply for jobs in England, Scotland and Wales. + title: Find a job + href: "/find-a-job" + image_src: homepage/find-a-job.png + - text: Check your record to see if you can add more contributions. + title: National Insurance + href: "/check-national-insurance-record" + image_src: homepage/national-insurance-featured.png + - text: Find out what support is available to help with the cost of living. + title: Cost of living support + href: "/cost-of-living" + image_src: homepage/cost-of-living.png running_limited_company: Running a limited company search_button: Search GOV.UK search_label: Search @@ -627,26 +627,26 @@ en: uk_bank_holidays: UK bank holidays universal_credit: Sign in to your Universal Credit account most_active: - - title: Find a job - link: /find-a-job - - title: Log in to student finance - link: /student-finance-register-login - - title: Passport fees - link: /passport-fees - - title: Jobseeker's Allowance - link: /jobseekers-allowance - - title: Council Tax bands - link: /council-tax-bands - - title: Running a limited company - link: /running-a-limited-company - - title: Driving theory test - link: /book-theory-test - - title: Vehicle tax rates - link: /calculate-tax-rates-for-new-cars - - title: Renew vehicle tax - link: /vehicle-tax - - title: VAT rates - link: /vat-rates + - title: Find a job + link: "/find-a-job" + - title: Log in to student finance + link: "/student-finance-register-login" + - title: Passport fees + link: "/passport-fees" + - title: Jobseeker's Allowance + link: "/jobseekers-allowance" + - title: Council Tax bands + link: "/council-tax-bands" + - title: Running a limited company + link: "/running-a-limited-company" + - title: Driving theory test + link: "/book-theory-test" + - title: Vehicle tax rates + link: "/calculate-tax-rates-for-new-cars" + - title: Renew vehicle tax + link: "/vehicle-tax" + - title: VAT rates + link: "/vat-rates" 'no': 'No' or: or place: @@ -656,99 +656,99 @@ en: actions_section: heading: What we’re working on items: - - heading: Be available, accessible and accurate - paragraph: Improve site resilience, security, navigation and publishing - steps: - - heading: Recently shipped - items: - - text: Made continuous updates and improvements to the most used content on GOV.UK - - text: Launched a new menu bar to appear at the top of all GOV.UK pages, which structures pages by topic, department and government activity - - text: Improved translations of page labels and headings on non-English language pages - - text: Improved the way we manage subdomains of GOV.UK for the rest of government - - text: Completed cookies work, including guidance for other government departments - - text: Built and tested updates to the design of the GOV.UK homepage - - heading: Working on now - items: - - text: Update the most used content on GOV.UK, such as guidance on visas, immigration, benefits, tax and the environment - - text: Iterate our postcode lookup tool, to improve how we provide content that’s different based on the user’s location (for example, contact details for local councils) - - text: Run the annual accessibility audit and make necessary changes - - text: Test a new hosting platform for GOV.UK applications with GOV.UK developers who will be affected by the move - - text: Improve our site-wide monitoring and alerts so we spot problems faster - - text: Start work on new publishing tools and processes to help government departments create and manage content more effectively - - text: Identify new ways of working to help us manage the most used content on GOV.UK more efficiently - - heading: Exploring - items: - - text: Test designs for improving our taxonomy to simplify the navigation system - - text: Identify applications that can be retired to reduce the support burden and make future enhancements to GOV.UK quicker and easier - - text: Test the new design for topic pages including mainstream browse (for example benefits) - - text: Design and test improvements to content page navigation including related links and breadcrumbs - - heading: Support the government’s priorities of the day - paragraph: Communicate critical, changing information, and support government’s goal to make complex tasks easier - steps: - - heading: Recently shipped - items: - - text: Added a new feature which allows users in devolved nations to see information specific to their location on the coronavirus landing page - - text: Highlighted live coronavirus statistics in a new feature on the coronavirus landing page - - text: Simplified the Brexit landing page, adding clear signposting for business and individual users - - text: Worked with departments to improve post-Brexit content on Rules of Origin and the Northern Ireland Protocol - - text: Built a tool that shows new business owners the next steps in setting up their company, all in one place - - text: Retired the Brexit checker in order to simplify user journeys to specific post-Brexit actions - - heading: Working on now - items: - - text: Continue iterating coronavirus guidance and products so that they reflect government policy and encourage people to protect themselves and others from coronavirus - - text: Improve user journeys to NHS coronavirus services and information - - text: Investigate content navigation tools to help users find and stay up to date with the latest travel rules - - heading: Exploring - items: - - text: Identify which complex user journeys we'll work on next, and define how we’ll work with multiple departments to improve them - - heading: Improve and connect data and insights to optimise user experience - paragraph: Understand our users and their needs by analysing trends, patterns and feedback - steps: - - heading: Recently shipped - items: - - text: Polled a representative sample of the UK population to understand their perception of GOV.UK and inform future developments - - heading: Working on now - items: - - text: Build tools to create data visualisations so it's easier to analyse how users interact with digital government services - - text: Analyse how users move across platforms and services, to improve their experience of ‘whole user journeys’ - - text: Simplify how feedback is analysed and gathered, so we can better measure our impact and identify issues - - heading: Exploring - items: - - text: Find more ways to automate feedback analysis, so government can identify and respond to user problems and suggestions faster - - text: Experiment with different metrics, such as reading time, to develop benchmarks we can measure user engagement against - - text: Improve our understanding of cookie opt-in rates, so we have a more accurate idea of actual visitor trends - - heading: Ensure user journeys are simple, joined up and personalised - paragraph: Develop site-wide account and personalisation features to offer users relevant and helpful information - steps: - - heading: Recently shipped - items: - - text: Tested a mockup user journey in the GOV.UK account, to see whether users would be comfortable with their information being shared between government departments - - text: Suggested relevant content to users looking at similar pages around starting a business - - text: Experimented with a page that routes users to different government accounts, to avoid confusion as we add more features to the GOV.UK account - - heading: Working on now - items: - - text: Allow users to more precisely tailor GOV.UK email updates, by letting them subscribe to individual pages on GOV.UK - - text: Pilot features that could be part of sitewide accounts on GOV.UK, such as personalised content and notifications - - text: Work with service teams across government to research and prototype ways the GOV.UK account can join up multiple-service journeys - - text: Think about how to tag and categorise content segments to support personalisation work - - heading: Exploring - items: - - text: Look at ways users could manage different profiles (for example business and personal) within their single GOV.UK account - - heading: Meet users where they are - paragraph: Make GOV.UK's content available across different channels, such as search engines and voice assistants - steps: - - heading: Recently shipped - items: - - text: Made use of schema.org standards to integrate content and services into search engine results - - heading: Working on now - items: - - text: Continue work to use schema.org standards on GOV.UK - - text: Structure content into small sections so it can be re-used across GOV.UK and other channels - - text: Develop our publishing applications so we’re able to create structured content that can be used on other channels - - heading: Exploring - items: - - text: Work with multiple third parties to test integrations of GOV.UK content and products where users are - - text: Through a discovery, research how app technologies could help users by offering more proactive and personalised government services + - heading: Be available, accessible and accurate + paragraph: Improve site resilience, security, navigation and publishing + steps: + - heading: Recently shipped + items: + - text: Made continuous updates and improvements to the most used content on GOV.UK + - text: Launched a new menu bar to appear at the top of all GOV.UK pages, which structures pages by topic, department and government activity + - text: Improved translations of page labels and headings on non-English language pages + - text: Improved the way we manage subdomains of GOV.UK for the rest of government + - text: Completed cookies work, including guidance for other government departments + - text: Built and tested updates to the design of the GOV.UK homepage + - heading: Working on now + items: + - text: Update the most used content on GOV.UK, such as guidance on visas, immigration, benefits, tax and the environment + - text: Iterate our postcode lookup tool, to improve how we provide content that’s different based on the user’s location (for example, contact details for local councils) + - text: Run the annual accessibility audit and make necessary changes + - text: Test a new hosting platform for GOV.UK applications with GOV.UK developers who will be affected by the move + - text: Improve our site-wide monitoring and alerts so we spot problems faster + - text: Start work on new publishing tools and processes to help government departments create and manage content more effectively + - text: Identify new ways of working to help us manage the most used content on GOV.UK more efficiently + - heading: Exploring + items: + - text: Test designs for improving our taxonomy to simplify the navigation system + - text: Identify applications that can be retired to reduce the support burden and make future enhancements to GOV.UK quicker and easier + - text: Test the new design for topic pages including mainstream browse (for example benefits) + - text: Design and test improvements to content page navigation including related links and breadcrumbs + - heading: Support the government’s priorities of the day + paragraph: Communicate critical, changing information, and support government’s goal to make complex tasks easier + steps: + - heading: Recently shipped + items: + - text: Added a new feature which allows users in devolved nations to see information specific to their location on the coronavirus landing page + - text: Highlighted live coronavirus statistics in a new feature on the coronavirus landing page + - text: Simplified the Brexit landing page, adding clear signposting for business and individual users + - text: Worked with departments to improve post-Brexit content on Rules of Origin and the Northern Ireland Protocol + - text: Built a tool that shows new business owners the next steps in setting up their company, all in one place + - text: Retired the Brexit checker in order to simplify user journeys to specific post-Brexit actions + - heading: Working on now + items: + - text: Continue iterating coronavirus guidance and products so that they reflect government policy and encourage people to protect themselves and others from coronavirus + - text: Improve user journeys to NHS coronavirus services and information + - text: Investigate content navigation tools to help users find and stay up to date with the latest travel rules + - heading: Exploring + items: + - text: Identify which complex user journeys we'll work on next, and define how we’ll work with multiple departments to improve them + - heading: Improve and connect data and insights to optimise user experience + paragraph: Understand our users and their needs by analysing trends, patterns and feedback + steps: + - heading: Recently shipped + items: + - text: Polled a representative sample of the UK population to understand their perception of GOV.UK and inform future developments + - heading: Working on now + items: + - text: Build tools to create data visualisations so it's easier to analyse how users interact with digital government services + - text: Analyse how users move across platforms and services, to improve their experience of ‘whole user journeys’ + - text: Simplify how feedback is analysed and gathered, so we can better measure our impact and identify issues + - heading: Exploring + items: + - text: Find more ways to automate feedback analysis, so government can identify and respond to user problems and suggestions faster + - text: Experiment with different metrics, such as reading time, to develop benchmarks we can measure user engagement against + - text: Improve our understanding of cookie opt-in rates, so we have a more accurate idea of actual visitor trends + - heading: Ensure user journeys are simple, joined up and personalised + paragraph: Develop site-wide account and personalisation features to offer users relevant and helpful information + steps: + - heading: Recently shipped + items: + - text: Tested a mockup user journey in the GOV.UK account, to see whether users would be comfortable with their information being shared between government departments + - text: Suggested relevant content to users looking at similar pages around starting a business + - text: Experimented with a page that routes users to different government accounts, to avoid confusion as we add more features to the GOV.UK account + - heading: Working on now + items: + - text: Allow users to more precisely tailor GOV.UK email updates, by letting them subscribe to individual pages on GOV.UK + - text: Pilot features that could be part of sitewide accounts on GOV.UK, such as personalised content and notifications + - text: Work with service teams across government to research and prototype ways the GOV.UK account can join up multiple-service journeys + - text: Think about how to tag and categorise content segments to support personalisation work + - heading: Exploring + items: + - text: Look at ways users could manage different profiles (for example business and personal) within their single GOV.UK account + - heading: Meet users where they are + paragraph: Make GOV.UK's content available across different channels, such as search engines and voice assistants + steps: + - heading: Recently shipped + items: + - text: Made use of schema.org standards to integrate content and services into search engine results + - heading: Working on now + items: + - text: Continue work to use schema.org standards on GOV.UK + - text: Structure content into small sections so it can be re-used across GOV.UK and other channels + - text: Develop our publishing applications so we’re able to create structured content that can be used on other channels + - heading: Exploring + items: + - text: Work with multiple third parties to test integrations of GOV.UK content and products where users are + - text: Through a discovery, research how app technologies could help users by offering more proactive and personalised government services hero: description: GOV.UK is the digital home for the UK government. It’s run by the Government Digital Service (GDS), and we’re always working to better meet user needs. This is our current roadmap, which takes us through to early 2022. heading: GOV.UK roadmap @@ -766,15 +766,15 @@ en: updates_section: heading: Updates items: - - href: https://gds.blog.gov.uk/2021/05/20/government-digital-service-our-strategy-for-2021-2024/ - image_src: roadmap/updates-goals.jpg - heading_text: Our vision - - href: https://gdscareers.gov.uk/ - image_src: roadmap/updates-work.jpg - heading_text: Work at GDS - - href: https://insidegovuk.blog.gov.uk/ - image_src: roadmap/updates-blog.jpg - heading_text: Inside GOV.UK blog + - href: https://gds.blog.gov.uk/2021/05/20/government-digital-service-our-strategy-for-2021-2024/ + image_src: roadmap/updates-goals.jpg + heading_text: Our vision + - href: https://gdscareers.gov.uk/ + image_src: roadmap/updates-work.jpg + heading_text: Work at GDS + - href: https://insidegovuk.blog.gov.uk/ + image_src: roadmap/updates-blog.jpg + heading_text: Inside GOV.UK blog save: Save sessions: first_time: @@ -798,8 +798,7 @@ en:

We may also use your information to produce anonymised reports to help us get a better understanding of GOV.UK account users. For example, to create a report on the proportion of users who are students in the UK. We’ll use this data to decide what features or services to add to GOV.UK accounts in future. These reports will not identify you personally.

You can read the full privacy notice for more detail on how your information is stored, shared and used.

feedback_consent: - description_html: - '

As we add more features to your account, we would like to email you to find out any thoughts or suggestions you might have.

+ description_html: '

As we add more features to your account, we would like to email you to find out any thoughts or suggestions you might have.

' field: @@ -813,11 +812,11 @@ en: website: Website when_do_the_clocks_change: calendar: + body: In the UK the clocks go forward 1 hour at 1am on the last Sunday in March, and back 1 hour at 2am on the last Sunday in October.\nThe period when the clocks are 1 hour ahead is called British Summer Time (BST). There’s more daylight in the evenings and less in the mornings (sometimes called Daylight Saving Time).\nWhen the clocks go back, the UK is on Greenwich Mean Time (GMT). description: Dates when the clocks go back or forward - includes British Summer Time, Greenwich Mean Time title: When do the clocks change? - body: In the UK the clocks go forward 1 hour at 1am on the last Sunday in March, and back 1 hour at 2am on the last Sunday in October.\nThe period when the clocks are 1 hour ahead is called British Summer Time (BST). There’s more daylight in the evenings and less in the mornings (sometimes called Daylight Saving Time).\nWhen the clocks go back, the UK is on Greenwich Mean Time (GMT). - start_title: Start of British Summer Time - start_notes: Clocks go forward one hour - end_title: End of British Summer Time end_notes: Clocks go back one hour + end_title: End of British Summer Time + start_notes: Clocks go forward one hour + start_title: Start of British Summer Time 'yes': 'Yes' diff --git a/config/locales/es-419.yml b/config/locales/es-419.yml new file mode 100644 index 0000000000..c6aa51c15f --- /dev/null +++ b/config/locales/es-419.yml @@ -0,0 +1,3 @@ +--- +es-419: + diff --git a/config/locales/es.yml b/config/locales/es.yml new file mode 100644 index 0000000000..b900290689 --- /dev/null +++ b/config/locales/es.yml @@ -0,0 +1,3 @@ +--- +es: + diff --git a/config/locales/et.yml b/config/locales/et.yml new file mode 100644 index 0000000000..35551a967f --- /dev/null +++ b/config/locales/et.yml @@ -0,0 +1,3 @@ +--- +et: + diff --git a/config/locales/fa.yml b/config/locales/fa.yml new file mode 100644 index 0000000000..e6c55b09cf --- /dev/null +++ b/config/locales/fa.yml @@ -0,0 +1,3 @@ +--- +fa: + diff --git a/config/locales/fi.yml b/config/locales/fi.yml new file mode 100644 index 0000000000..a2273c8372 --- /dev/null +++ b/config/locales/fi.yml @@ -0,0 +1,3 @@ +--- +fi: + diff --git a/config/locales/fr.yml b/config/locales/fr.yml new file mode 100644 index 0000000000..359e660573 --- /dev/null +++ b/config/locales/fr.yml @@ -0,0 +1,3 @@ +--- +fr: + diff --git a/config/locales/gd.yml b/config/locales/gd.yml new file mode 100644 index 0000000000..4b9ffb7b94 --- /dev/null +++ b/config/locales/gd.yml @@ -0,0 +1,3 @@ +--- +gd: + diff --git a/config/locales/gu.yml b/config/locales/gu.yml new file mode 100644 index 0000000000..83acc76fce --- /dev/null +++ b/config/locales/gu.yml @@ -0,0 +1,3 @@ +--- +gu: + diff --git a/config/locales/he.yml b/config/locales/he.yml new file mode 100644 index 0000000000..7394727740 --- /dev/null +++ b/config/locales/he.yml @@ -0,0 +1,3 @@ +--- +he: + diff --git a/config/locales/hi.yml b/config/locales/hi.yml new file mode 100644 index 0000000000..83899acec2 --- /dev/null +++ b/config/locales/hi.yml @@ -0,0 +1,3 @@ +--- +hi: + diff --git a/config/locales/hr.yml b/config/locales/hr.yml new file mode 100644 index 0000000000..d7a6239445 --- /dev/null +++ b/config/locales/hr.yml @@ -0,0 +1,3 @@ +--- +hr: + diff --git a/config/locales/hu.yml b/config/locales/hu.yml new file mode 100644 index 0000000000..f2c1c324f8 --- /dev/null +++ b/config/locales/hu.yml @@ -0,0 +1,3 @@ +--- +hu: + diff --git a/config/locales/hy.yml b/config/locales/hy.yml new file mode 100644 index 0000000000..fdfa4337d6 --- /dev/null +++ b/config/locales/hy.yml @@ -0,0 +1,3 @@ +--- +hy: + diff --git a/config/locales/id.yml b/config/locales/id.yml new file mode 100644 index 0000000000..dcc0ecbb37 --- /dev/null +++ b/config/locales/id.yml @@ -0,0 +1,3 @@ +--- +id: + diff --git a/config/locales/is.yml b/config/locales/is.yml new file mode 100644 index 0000000000..ec238a0b65 --- /dev/null +++ b/config/locales/is.yml @@ -0,0 +1,3 @@ +--- +is: + diff --git a/config/locales/it.yml b/config/locales/it.yml new file mode 100644 index 0000000000..5eedd1101e --- /dev/null +++ b/config/locales/it.yml @@ -0,0 +1,3 @@ +--- +it: + diff --git a/config/locales/ja.yml b/config/locales/ja.yml new file mode 100644 index 0000000000..23e2686e50 --- /dev/null +++ b/config/locales/ja.yml @@ -0,0 +1,3 @@ +--- +ja: + diff --git a/config/locales/ka.yml b/config/locales/ka.yml new file mode 100644 index 0000000000..6fabd0224a --- /dev/null +++ b/config/locales/ka.yml @@ -0,0 +1,3 @@ +--- +ka: + diff --git a/config/locales/kk.yml b/config/locales/kk.yml new file mode 100644 index 0000000000..ee3864eb23 --- /dev/null +++ b/config/locales/kk.yml @@ -0,0 +1,3 @@ +--- +kk: + diff --git a/config/locales/ko.yml b/config/locales/ko.yml new file mode 100644 index 0000000000..8ba7c21eb9 --- /dev/null +++ b/config/locales/ko.yml @@ -0,0 +1,3 @@ +--- +ko: + diff --git a/config/locales/lt.yml b/config/locales/lt.yml new file mode 100644 index 0000000000..b709f35976 --- /dev/null +++ b/config/locales/lt.yml @@ -0,0 +1,3 @@ +--- +lt: + diff --git a/config/locales/lv.yml b/config/locales/lv.yml new file mode 100644 index 0000000000..a4d3337cb1 --- /dev/null +++ b/config/locales/lv.yml @@ -0,0 +1,3 @@ +--- +lv: + diff --git a/config/locales/ms.yml b/config/locales/ms.yml new file mode 100644 index 0000000000..c09860e6a0 --- /dev/null +++ b/config/locales/ms.yml @@ -0,0 +1,3 @@ +--- +ms: + diff --git a/config/locales/mt.yml b/config/locales/mt.yml new file mode 100644 index 0000000000..d3d01b0844 --- /dev/null +++ b/config/locales/mt.yml @@ -0,0 +1,3 @@ +--- +mt: + diff --git a/config/locales/ne.yml b/config/locales/ne.yml new file mode 100644 index 0000000000..24f365665a --- /dev/null +++ b/config/locales/ne.yml @@ -0,0 +1,3 @@ +--- +ne: + diff --git a/config/locales/nl.yml b/config/locales/nl.yml new file mode 100644 index 0000000000..70613cb5c6 --- /dev/null +++ b/config/locales/nl.yml @@ -0,0 +1,3 @@ +--- +nl: + diff --git a/config/locales/no.yml b/config/locales/no.yml new file mode 100644 index 0000000000..ef97acc7f4 --- /dev/null +++ b/config/locales/no.yml @@ -0,0 +1,3 @@ +--- +'no': + diff --git a/config/locales/pa-pk.yml b/config/locales/pa-pk.yml new file mode 100644 index 0000000000..7a241ed9fb --- /dev/null +++ b/config/locales/pa-pk.yml @@ -0,0 +1,3 @@ +--- +pa-pk: + diff --git a/config/locales/pa.yml b/config/locales/pa.yml new file mode 100644 index 0000000000..dc5fc8258b --- /dev/null +++ b/config/locales/pa.yml @@ -0,0 +1,3 @@ +--- +pa: + diff --git a/config/locales/pl.yml b/config/locales/pl.yml new file mode 100644 index 0000000000..fe359f5fdf --- /dev/null +++ b/config/locales/pl.yml @@ -0,0 +1,3 @@ +--- +pl: + diff --git a/config/locales/ps.yml b/config/locales/ps.yml new file mode 100644 index 0000000000..139685372c --- /dev/null +++ b/config/locales/ps.yml @@ -0,0 +1,3 @@ +--- +ps: + diff --git a/config/locales/pt.yml b/config/locales/pt.yml new file mode 100644 index 0000000000..60e2b2c4f9 --- /dev/null +++ b/config/locales/pt.yml @@ -0,0 +1,3 @@ +--- +pt: + diff --git a/config/locales/ro.yml b/config/locales/ro.yml new file mode 100644 index 0000000000..1bf75b5795 --- /dev/null +++ b/config/locales/ro.yml @@ -0,0 +1,3 @@ +--- +ro: + diff --git a/config/locales/ru.yml b/config/locales/ru.yml new file mode 100644 index 0000000000..7db7f02dd2 --- /dev/null +++ b/config/locales/ru.yml @@ -0,0 +1,3 @@ +--- +ru: + diff --git a/config/locales/si.yml b/config/locales/si.yml new file mode 100644 index 0000000000..3f94d687cb --- /dev/null +++ b/config/locales/si.yml @@ -0,0 +1,3 @@ +--- +si: + diff --git a/config/locales/sk.yml b/config/locales/sk.yml new file mode 100644 index 0000000000..8729343db6 --- /dev/null +++ b/config/locales/sk.yml @@ -0,0 +1,3 @@ +--- +sk: + diff --git a/config/locales/sl.yml b/config/locales/sl.yml new file mode 100644 index 0000000000..55f5c0a7ce --- /dev/null +++ b/config/locales/sl.yml @@ -0,0 +1,3 @@ +--- +sl: + diff --git a/config/locales/so.yml b/config/locales/so.yml new file mode 100644 index 0000000000..4661b35e79 --- /dev/null +++ b/config/locales/so.yml @@ -0,0 +1,3 @@ +--- +so: + diff --git a/config/locales/sq.yml b/config/locales/sq.yml new file mode 100644 index 0000000000..8ddeb99051 --- /dev/null +++ b/config/locales/sq.yml @@ -0,0 +1,3 @@ +--- +sq: + diff --git a/config/locales/sr.yml b/config/locales/sr.yml new file mode 100644 index 0000000000..90440dd938 --- /dev/null +++ b/config/locales/sr.yml @@ -0,0 +1,3 @@ +--- +sr: + diff --git a/config/locales/sv.yml b/config/locales/sv.yml new file mode 100644 index 0000000000..4bf0d1de4a --- /dev/null +++ b/config/locales/sv.yml @@ -0,0 +1,3 @@ +--- +sv: + diff --git a/config/locales/sw.yml b/config/locales/sw.yml new file mode 100644 index 0000000000..dde319887d --- /dev/null +++ b/config/locales/sw.yml @@ -0,0 +1,3 @@ +--- +sw: + diff --git a/config/locales/ta.yml b/config/locales/ta.yml new file mode 100644 index 0000000000..e4a48ddcc6 --- /dev/null +++ b/config/locales/ta.yml @@ -0,0 +1,3 @@ +--- +ta: + diff --git a/config/locales/th.yml b/config/locales/th.yml new file mode 100644 index 0000000000..f7af6290cd --- /dev/null +++ b/config/locales/th.yml @@ -0,0 +1,3 @@ +--- +th: + diff --git a/config/locales/tk.yml b/config/locales/tk.yml new file mode 100644 index 0000000000..3dfa996b20 --- /dev/null +++ b/config/locales/tk.yml @@ -0,0 +1,3 @@ +--- +tk: + diff --git a/config/locales/tr.yml b/config/locales/tr.yml new file mode 100644 index 0000000000..a86fe5ffe6 --- /dev/null +++ b/config/locales/tr.yml @@ -0,0 +1,3 @@ +--- +tr: + diff --git a/config/locales/uk.yml b/config/locales/uk.yml new file mode 100644 index 0000000000..6ebf4f130f --- /dev/null +++ b/config/locales/uk.yml @@ -0,0 +1,3 @@ +--- +uk: + diff --git a/config/locales/ur.yml b/config/locales/ur.yml new file mode 100644 index 0000000000..980d19a551 --- /dev/null +++ b/config/locales/ur.yml @@ -0,0 +1,3 @@ +--- +ur: + diff --git a/config/locales/uz.yml b/config/locales/uz.yml new file mode 100644 index 0000000000..be75325bd0 --- /dev/null +++ b/config/locales/uz.yml @@ -0,0 +1,3 @@ +--- +uz: + diff --git a/config/locales/vi.yml b/config/locales/vi.yml new file mode 100644 index 0000000000..0d977f00f9 --- /dev/null +++ b/config/locales/vi.yml @@ -0,0 +1,3 @@ +--- +vi: + diff --git a/config/locales/yi.yml b/config/locales/yi.yml new file mode 100644 index 0000000000..8258ce31dc --- /dev/null +++ b/config/locales/yi.yml @@ -0,0 +1,3 @@ +--- +yi: + diff --git a/config/locales/zh-hk.yml b/config/locales/zh-hk.yml new file mode 100644 index 0000000000..2e1eb01563 --- /dev/null +++ b/config/locales/zh-hk.yml @@ -0,0 +1,3 @@ +--- +zh-hk: + diff --git a/config/locales/zh-tw.yml b/config/locales/zh-tw.yml new file mode 100644 index 0000000000..c2d668d272 --- /dev/null +++ b/config/locales/zh-tw.yml @@ -0,0 +1,3 @@ +--- +zh-tw: + diff --git a/config/locales/zh.yml b/config/locales/zh.yml new file mode 100644 index 0000000000..044c44dba4 --- /dev/null +++ b/config/locales/zh.yml @@ -0,0 +1,3 @@ +--- +zh: + diff --git a/lib/tasks/consolidation.rake b/lib/tasks/consolidation.rake new file mode 100644 index 0000000000..d543bbf996 --- /dev/null +++ b/lib/tasks/consolidation.rake @@ -0,0 +1,69 @@ +# We don't care much about the coverage of scaffolding files that are just used on the desktop during +# consolidation and are going to be removed. +# :nocov: +namespace :consolidation do + desc <<~END_DESC + Copy a locale key for all locales from government-frontend to frontend + + Usage: + rake "consolidation:copy_translation[components]" # copies the whole components tree + rake "consolidation:copy_translation[components.figure]" # copies just the components.figure tree + + Note that government-frontend needs to be checked out out in a sibling directory + END_DESC + task :copy_translation, [:key] => :environment do |_, args| + abort("government-frontend not checked out in a sibling directory") unless Dir.exist?(Rails.root.join("../government-frontend")) + + key = args.fetch(:key, nil) + key_parts = key.split(".") + abort("You need to specify a key to copy") unless key + + puts("Copying #{key} translations from government-frontend to frontend") + + frontend_locale_files = Dir.entries(Rails.root.join("config/locales")).select { |name| name.end_with?(".yml") }.sort + + frontend_locale_files.each do |flf| + government_frontend_keys = YAML.load(File.read(Rails.root.join("../government-frontend/config/locales", flf))) + locale_key_parts = [flf.gsub(".yml", "")] + key_parts + translation_tree = government_frontend_keys.dig(*locale_key_parts) + abort("key #{key} not found in government-frontend's #{flf}") unless translation_tree + + if translation_tree.is_a?(Hash) + get_leaf_paths(translation_tree).each { |leaf_path| LocaleUpdater.add_key(locale_key_parts.join(".") + leaf_path[0], leaf_path[1]) } + else + LocaleUpdater.add_key(locale_key_parts.join("."), translation_tree) + end + end + end +end + +def get_leaf_paths(tree, prefix: "") + return [tree] if tree.is_a?(String) # Handle the case of one specific key/value + + leaf_paths = [] + tree.each_key do |key| + if tree[key].is_a?(Hash) + leaf_paths += get_leaf_paths(tree[key], prefix: prefix + ".#{key}") + else + leaf_paths << [prefix + ".#{key}", tree[key]] + end + end + leaf_paths +end + +class LocaleUpdater + def self.add_key(key, value) + forest = ::I18n::Tasks::Data::Tree::Siblings.from_key_names [key] + if value + puts("Trying to add #{key} = #{value}") + forest.set_each_value!(value) + # system("echo '#{key}' | i18n-tasks tree-convert -f keys -t yaml | i18n-tasks tree-set-value '#{value}' | i18n-tasks data-merge") + else + puts("Trying to add empty key #{key}") + # system("echo '#{key}' | i18n-tasks tree-convert -f keys -t yaml | i18n-tasks data-merge") + end + I18n::Tasks::BaseTask.new.data.merge!(forest) + end +end + +# :nocov: