+
+
@@ -37,5 +39,18 @@ export default {
},
}
},
+ switchLanguage() {
+ let route = ""
+ const locale = this.$i18n.locale
+
+ if (locale === "en") {
+ route = `/es/`
+ this.$i18n.setLocale("es")
+ } else {
+ // route = `/`
+ this.$i18n.setLocale("en")
+ }
+ this.$router.push(route)
+ },
}
diff --git a/locales/en/en.json b/locales/en/en.json
index 579062f073..eb9501bf56 100644
--- a/locales/en/en.json
+++ b/locales/en/en.json
@@ -217,7 +217,8 @@
"linkFiveUrl": "https://www.usa.gov/#tpcs"
},
"GroupTwo": {
- "header": "Ask USA.gov a Question",
+ "header": "USAGov Contact Center",
+ "subHeader": "Ask USA.gov a question at",
"linkOne": "Call 1-844-USAGOV1 (1-844-872-4681)",
"linkOneUrl": "https://www.usa.gov/phone",
"linkTwo": "En EspaƱol",
@@ -329,27 +330,68 @@
"column1Title": "Government information",
"column1": [
{
+ "linkID": "c1-10",
"linkText": "All topics and services",
"linkURL": "https://beta.usa.gov/#all_topics"
},
{
+ "linkID": "c1-20",
"linkText": "About the U.S. and its government",
"linkURL": "https://www.usa.gov/federal-agencies"
},
{
+ "linkID": "c1-30",
"linkText": "Branches of government",
"linkURL": "https://beta.usa.gov/branches-of-government"
}
],
- "column2Title": "",
+ "column2Title": "About Us",
"column2": [
{
+ "linkID": "c2-10",
"linkText": "Our mission and history",
"linkURL": "https://beta.usa.gov/#all_topics"
},
{
+ "linkID": "c2-20",
"linkText": "Privacy and security policies",
"linkURL": "https://beta.usa.gov/about-the-us/"
+ },
+ {
+ "linkID": "c2-30",
+ "linkText": "Accessibility policy",
+ "linkURL": "https://beta.usa.gov/about-the-us/"
+ },
+ {
+ "linkID": "c2-40",
+ "linkText": "How to cite USA.gov",
+ "linkURL": "https://beta.usa.gov/about-the-us/"
+ },
+ {
+ "linkID": "c2-50",
+ "linkText": "Real-time website data",
+ "linkURL": "https://beta.usa.gov/about-the-us/"
+ }
+ ],
+ "column3Title": "For federal agencies",
+ "column3": [
+ {
+ "linkID": "c3-10",
+ "linkText": "Partner with us",
+ "linkURL": "https://beta.usa.gov/#all_topics"
+ },
+ {
+ "linkID": "c3-20",
+ "linkText": "USAGov blog",
+ "linkURL": "https://beta.usa.gov/about-the-us/"
+ }
+ ],
+ "column4Title": "For media",
+ "column4": [
+ {
+ "linkID": "c4-10",
+ "linkText": "Feature articles",
+ "linkURL": "https://beta.usa.gov/#all_topics"
}
]
}
diff --git a/locales/es/es.json b/locales/es/es.json
index 0c4a7300ed..4a4931870f 100644
--- a/locales/es/es.json
+++ b/locales/es/es.json
@@ -312,28 +312,71 @@
}
},
"footer": {
+ "column1Title": "Government information",
"column1": [
{
- "linkText": "blah blah es",
+ "linkID": "c1-10",
+ "linkText": "All topics and services",
"linkURL": "https://beta.usa.gov/#all_topics"
},
{
+ "linkID": "c1-20",
"linkText": "About the U.S. and its government",
"linkURL": "https://www.usa.gov/federal-agencies"
},
{
+ "linkID": "c1-30",
"linkText": "Branches of government",
"linkURL": "https://beta.usa.gov/branches-of-government"
}
],
+ "column2Title": "About Us",
"column2": [
{
+ "linkID": "c2-10",
"linkText": "Our mission and history",
"linkURL": "https://beta.usa.gov/#all_topics"
},
{
+ "linkID": "c2-20",
"linkText": "Privacy and security policies",
"linkURL": "https://beta.usa.gov/about-the-us/"
+ },
+ {
+ "linkID": "c2-30",
+ "linkText": "Accessibility policy",
+ "linkURL": "https://beta.usa.gov/about-the-us/"
+ },
+ {
+ "linkID": "c2-40",
+ "linkText": "How to cite USA.gov",
+ "linkURL": "https://beta.usa.gov/about-the-us/"
+ },
+ {
+ "linkID": "c2-50",
+ "linkText": "Real-time website data",
+ "linkURL": "https://beta.usa.gov/about-the-us/"
+ }
+ ],
+ "column3Title": "For federal agencies",
+ "column3": [
+ {
+ "linkID": "c3-10",
+ "linkText": "Partner with us",
+ "linkURL": "https://beta.usa.gov/#all_topics"
+ },
+ {
+ "linkID": "c3-20",
+ "linkText": "USAGov blog",
+ "linkURL": "https://beta.usa.gov/about-the-us/"
+ }
+ ],
+ "column4Title": "For media",
+ "column4": [
+ {
+ "linkID": "c4-10",
+ "linkText": "Feature articles",
+ "linkURL": "https://beta.usa.gov/#all_topics"
}
]
}