Content & Language

Edit text, titles, and translations across 5 built-in languages.

App Title & Description

Metadata

Open the project in your code editor and navigate to:

📁 project_root └─📁 src └─📁 app └─layout.js← change app title & description here

Inside layout.js, find the metadata object and update the title and description values.

Home Page Sections

Section Order

To reorder, hide, or show sections on the home page, edit:

📁 src/app/[locale]/(public)/landing └─page.js← reorder or hide sections

You'll see JSX tags like <HeroSection />, <AboutFoundation />, <CampaignSection />, etc. Simply rearrange them to change the display order, or wrap them in {/* ... */} to hide.

Multi-Language Content

5 Languages

ADFund ships with 5 languages out of the box. All translations live inside the messages folder as JSON files.

📁 project_root └─📁 messages ├─en.json ← English├─ar.json ← Arabic├─es.json ← Spanish├─fr.json ← French└─hi.json ← Hindi

For example, to change hero section content, open en.json and find the hero key:

messages/en.json
{ 
"hero": {
"slides": {
"1": {
"title": "Help Kids Grow Up The Right Way",
"description": "Join us in our mission to provide education..."
},
"2": {
"title": "Empower Communities Through Giving",
"description": "Your generosity builds schools, wells, and hope..."
}
},
"buttons": {
"donate": "Donate Now",
"learnMore": "Learn More"
}
}
}

Apply the same process for every language file. Openar.json,es.json,fr.json,hi.json and translate the same keys for each one.

Contact Information

Address • Phone • Email

In each language file, search for "contactInfo" — you'll find your contact block there. Update it like so:

messages/en.json — contactInfo
"contactInfo": { 
"sectionTitle": "Close Contact",
"sectionSubtitle": "Request a Contact us",
"location": {
"title": "Our Location",
"address1": "20-22 Wenlock Road, London",
"address2": "England, N1 7GU"
},
"phone": {
"title": "Call us on",
"number": "+03601 885397",
"hours": "Mon - Fri: 9 am - 6 pm"
},
"email": {
"title": "Email us",
"support": "[email protected]",
"info": "[email protected]"
}
}

After any content change, you must rebuild & redeploy so your changes go live. Follow the redeploy instructions for your hosting method (see Assets section above).