Skip to content

Commit

Permalink
VOTE-449 add Hmong translation config and po (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-crowder authored Feb 1, 2024
1 parent 3032ff1 commit 1a9f583
Show file tree
Hide file tree
Showing 17 changed files with 274 additions and 8 deletions.
15 changes: 15 additions & 0 deletions config/sync/language.entity.hmn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
uuid: 6f595da0-2695-4fe9-8e45-68181f6fed62
langcode: hmn
status: true
dependencies:
module:
- disable_language
third_party_settings:
disable_language:
disable: true
redirect_language: en
id: hmn
label: Hmong
direction: ltr
weight: -1
locked: false
2 changes: 1 addition & 1 deletion config/sync/language.entity.km.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ dependencies: { }
id: km
label: Khmer
direction: ltr
weight: -1
weight: 0
locked: false
2 changes: 1 addition & 1 deletion config/sync/language.entity.ko.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ dependencies: { }
id: ko
label: Korean
direction: ltr
weight: 0
weight: 1
locked: false
2 changes: 1 addition & 1 deletion config/sync/language.entity.nv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ dependencies: { }
id: nv
label: Navajo
direction: ltr
weight: 1
weight: 2
locked: false
2 changes: 1 addition & 1 deletion config/sync/language.entity.pt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ dependencies: { }
id: pt
label: Portuguese
direction: ltr
weight: 2
weight: 3
locked: false
2 changes: 1 addition & 1 deletion config/sync/language.entity.ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ dependencies: { }
id: ru
label: Russian
direction: ltr
weight: 3
weight: 4
locked: false
2 changes: 1 addition & 1 deletion config/sync/language.entity.tl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ dependencies: { }
id: tl
label: Tagalog
direction: ltr
weight: 4
weight: 5
locked: false
2 changes: 1 addition & 1 deletion config/sync/language.entity.vi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ dependencies: { }
id: vi
label: Vietnamese
direction: ltr
weight: 5
weight: 6
locked: false
2 changes: 1 addition & 1 deletion config/sync/language.entity.ypk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ dependencies: { }
id: ypk
label: Yupʼik-Akuzipik
direction: ltr
weight: 6
weight: 7
locked: false
2 changes: 2 additions & 0 deletions config/sync/language.negotiation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ url:
pt: pt
ar: ar
fr: fr
hmn: hmn
domains:
en: ''
es: ''
Expand All @@ -41,4 +42,5 @@ url:
pt: ''
ar: ''
fr: ''
hmn: ''
selected_langcode: site_default
1 change: 1 addition & 0 deletions config/sync/language/hmn/core.date_format.long_date.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pattern: 'l, j F, Y'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pattern: 'd F, Y'
1 change: 1 addition & 0 deletions config/sync/language/hmn/language.entity.hmn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
label: Hmoob
3 changes: 3 additions & 0 deletions config/sync/language/hmn/metatag.metatag_defaults.front.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tags:
description: 'Nrhiav Kev Sau Npe Mus Pov Ntawv hauv lub xeev koj nyob.'
title: 'Sau npe mus pov ntawv | [site:name] ua lus Hmoob'
3 changes: 3 additions & 0 deletions config/sync/language/hmn/metatag.metatag_defaults.global.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tags:
description: 'Nrhiav Kev Sau Npe Mus Pov Ntawv hauv lub xeev koj nyob.'
title: 'Sau npe mus pov ntawv | [site:name] ua lus Hmoob'
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tags:
description: 'Nrhiav saib seb yuav sau npe mus pov ntawv xaiv tsa hauv [current-page:title] li cas'
title: 'Kev sau npe pov ntawv xaiv tsa hauv [current-page:title] | [site:name] ua lus Hmoob'
237 changes: 237 additions & 0 deletions web/modules/custom/vote_utility/translations/hmn.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,237 @@
# Hmong translation of Vote.gov
#
msgid ""
msgstr ""
"Project-Id-Version: Vote.gov Utility\\n"
"MIME-Version: 1.0\\n"
"Content-Type: text/plain; charset=utf-8\\n"
"Content-Transfer-Encoding: 8bit\\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\\n"

#language selector
msgid "Hmong"
msgstr "Hmoob"

msgid "Select language"
msgstr "Xaiv koj yam lus"

#main
msgid "@sitename in language"
msgstr "@sitename ua lus Hmoob"

msgid "Go back"
msgstr "Rov qab mus"

msgid "Last updated:"
msgstr "Zaum tag ua txhim kho:"

msgid "Illustration of voter box with checked ballot being inserted to indicate voting action"
msgstr "Daim duab uas muaj daim ntawv kos ib txoj kab ntxhig rau lub thawv qhia tias tabtom pov ntawv"

#identifier
msgid "An official website of the @link."
msgstr "Lub website tseeb tiag ntawm @link."

msgid "General Services Administration"
msgstr "General Services Administration"

msgid "Looking for U.S. government information and services? @link."
msgstr "Nrhiav ntaub ntawv thiab kev haujlwm hauv nomtswv Asmeska los? @link."

msgid "Visit USA.gov"
msgstr "Mus saib USA.gov (lus Askiv)"

msgid "Agency identifier"
msgstr "Kev paub txog lub koom haum"

msgid "Agency description"
msgstr "Qhia txog Lub koom haum"

msgid "Important links"
msgstr "Kev txuas tseem ceeb"

msgid "Government information and services"
msgstr "Nomtswv cov ntaub ntawv thiab kev ua haujlwm"

#contact
msgid "in partnership with"
msgstr "ua haujlwm uake nrog"

msgid "U.S. Election Assistance Commission logo which indicates a partnership with Vote.gov"
msgstr "US Election Assistance Commission (Nomtswv Asmeska Kev Xaiv Tsa tes dej haujlwm pab) lub cim qhia tias muaj kev sib koomtes nrog Vote.gov"

msgid "Follow Vote.gov on Twitter"
msgstr "Caum Vote.gov saum Twitter (lus Askiv)"

#search
msgid "Search Vote.gov"
msgstr "Nrhiav vote.gov"

#state
msgid "Register to vote in @state_name"
msgstr "Sau npe mus pov ntawv lus @state_name"

msgid "How to register to vote"
msgstr "Sau npe mus pov ntawv"

msgid "Other ways to register to vote"
msgstr "Lwm koj kev sau npe mus pov ntawv xaiv tsa"

msgid "Register by mail deadline:"
msgstr "Hnub kawg rau sau npe xa raws kev xav ntawv:"

msgid "Must be postmarked by @date"
msgstr "Yuav tsum tau ntaus lub cim xa ntawv thaum @date"

msgid "Must be received by @date"
msgstr "Yuav tsum tau txhais thaum @date"

msgid "Online registration deadline:"
msgstr "Hnub kawg rau sau npe sau huab cua:"

msgid "Voter registration deadlines"
msgstr "Hnub kawg rau kev sau npe pov ntawv xais tsa hauv"

msgid "In person registration deadline:"
msgstr "Hnub kawg rau sau npe ntawm tus kheej hauv chaw xaiv tsa:"

msgid "How to check your voter registration"
msgstr "Yuav tshawb nrhiav koj daim ntawv sau npe pov ntawv xaiv tsa li cas"

msgid "You can confirm your voter registration status on @link."
msgstr "Koj muaj peevxwm nrhiav kom paub meej tiag txog koj daim ntawv sau npe pov ntawv xaiv tsa hauv @link"

msgid "You can confirm your voter registration status by contacting your local registration office. @link."
msgstr "Koj muaj peevxwm nrhiav kom paub meej tiag txog koj daim ntawv sau npe pov ntawv xaiv tsa los ntawm kev nug koj lub zejzos qhov chaw ua haujlwm sau npe. @link"

msgid "Click here to view Wyoming's county clerk contact information (PDF)"
msgstr "Nias qhov nov mus saib xeev Wyoming tus teev ntawv li ntaub ntawv (PDF)"

msgid "Find out ways to register"
msgstr "Nrhiav txoj hauv kev rau npe"

msgid "Online registration is currently not available. @link to vote at @state_name’s election website."
msgstr "Lub sijhawm no kev sau npe pov ntawv xaiv tsa saum huabcua tabtom tsis khoom. @link Nrhiav lwm txoj kev sau npe pov ntawv mus xaiv tsa ntawm lub xeev @state_name’s qhov chaw xaiv tsa lub website."

msgid "Learn more about how to register"
msgstr "Kawm ntxiv txog yuav ua li cas rau npe"

msgid "Register in person at your local election office. @link on @state_name’s election website."
msgstr "Mus sau npe ntawm tus kheej hauv koj lub zejzog qhov chaw ua haujlwm xaiv tsa. @link Kawm paub ntau yam txog kev sau npe xaiv tsa ntawm lub xeev @state_name’s qhov chaw xaiv tsa lub website."

msgid "Learn more about voting"
msgstr "Kawm paub ntau ntxiv txog kev pov npav"

msgid "Voter registration is not required in @state_name. @link on @state_name’s election website."
msgstr "Tsis tas yuav tsum sau npe pov ntawv xaiv tsa hauv lub xeev @state_name. @link Kawm paub ntau yam txog kev sau npe xaiv tsa ntawm lub xeev @state_name’s qhov chaw xaiv tsa lub website."

msgid "Start your online registration"
msgstr "Pib sau koj lub npe"

msgid "@link on @state_name’s election website."
msgstr "@link Kawm paub ntau yam txog kev sau npe xaiv tsa ntawm lub xeev @state_name’s qhov chaw xaiv tsa lub website."

msgid "register to vote by mail or in person"
msgstr "sau npe pov npav los ntawm kev xa ntawv lossis ntawm tus kheej"

msgid "You can also @link on @state_name’s election website."
msgstr "Koj muaj cai yuav @link sau npe pov ntawv xaiv tsa raws kev xa ntawv lossis ntawm tus kheej lossis ntawm lub xeev @state_name’s qhov chaw xaiv tsa website."

msgid "confirm your voter registration status"
msgstr "paub meej tias koj daim ntawv teev npe pov npav"

msgid "You can @link on @state_name’s election website."
msgstr "Koj muaj peevxwm @link nrhiav kom paub meej tiag txog koj daim ntawv sau npe pov ntawv ntawm lub xeev @state_name’s qhov chaw xaiv tsa website."

msgid "External link opens in new window"
msgstr "Kev txuas rau sabnraud yuav qhib lub qhov rai tshiab"

msgid "Skip to main content"
msgstr "Hla mus rau ntawm lub ntsiab lus"

msgid "(in English)"
msgstr "(lus Askiv)"

#banner
msgid "Official government website"
msgstr "Nomtswv lub website"

#footer
msgid "Email sign-up"
msgstr "Sau npe raw Email (lus Askiv)"

msgid "Contact"
msgstr "Nug rau"

msgid "GSA logo"
msgstr "GSA (NomTswv GSA) lub cim"

#month and day names
msgctxt "Long month name"
msgid "January"
msgstr "January"

msgctxt "Long month name"
msgid "February"
msgstr "February"

msgctxt "Long month name"
msgid "March"
msgstr "March"

msgctxt "Long month name"
msgid "April"
msgstr "April"

msgctxt "Long month name"
msgid "May"
msgstr "May"

msgctxt "Long month name"
msgid "June"
msgstr "June"

msgctxt "Long month name"
msgid "July"
msgstr "July"

msgctxt "Long month name"
msgid "August"
msgstr "August"

msgctxt "Long month name"
msgid "September"
msgstr "September"

msgctxt "Long month name"
msgid "October"
msgstr "October"

msgctxt "Long month name"
msgid "November"
msgstr "November"

msgctxt "Long month name"
msgid "December"
msgstr "December"

msgid "Monday"
msgstr "Monday"

msgid "Tuesday"
msgstr "Tuesday"

msgid "Wednesday"
msgstr "Wednesday"

msgid "Thursday"
msgstr "Thursday"

msgid "Friday"
msgstr "Friday"

msgid "Saturday"
msgstr "Saturday"

msgid "Sunday"
msgstr "Sunday"

0 comments on commit 1a9f583

Please sign in to comment.