Change the main menu links shown at the top of the website.
On every page, the top bar shows a navigation menu (Home, Features, Contact, etc.).
You can change these links without touching any code.
You will edit two places:
config/header.tsconfig/messages/en.json and config/messages/es.jsonconfig/header.ts.links list. It contains several items like:{
labelKey: "contactUs",
href: "/contact",
},href is where the link goes (for example /contact).labelKey is the name used to find the text in the translation files.To change the destination of a menu item:
href value to the page you want.The words you see in the menu come from the translation files.
config/messages/en.json."Header" section."Header": {
"contactUs": "Contact Us",
"features": "Features",
"serverLocation": "Server Location"
}"contactUs": "Support & Contact"config/messages/es.json."Header" section, change the same key for Spanish:"contactUs": "Soporte y contacto"Important: The key (
"contactUs") must be the same in both files.
You only change the text on the right side.
When you save both files and refresh, the menu will show your new text in each language.