Skip to content

NextJS Multilingual Implementation for Websites for Government Websites of Sri Lanka.

Notifications You must be signed in to change notification settings

inuka-mayakaduwa/gov-web-boilerplate-next-js

Repository files navigation

Next.js Government Website Boilerplate for Sri Lanka

This is a Next.js boilerplate template specifically designed for government websites of Sri Lanka. It includes a multi-language implementation supporting English, Sinhala, and Tamil, with a homepage prompt allowing users to select their preferred language.

🚀 Features

  • Multi-language support (English / Sinhala / Tamil)

  • Language prompt on homepage for user selection

  • Next.js App Router for frontend, Pages Router for API routes

  • Professional Header that indicates the website is an official government website & toggleable language

    Government Website Header

  • Built with ShadCN components

  • Modular and extendable architecture

🎯 Usage Policy

✅ This boilerplate is freely available for use only when developing on behalf of a government website in Sri Lanka.

❌ If you are using this template for non-government purposes, please remove any content that states "This is a government website" and only use it for language implementation.

📌 Getting Started

  1. Clone the repository:

    git clone https://github.com/inuka-mayakaduwa/gov-web-boilerplate-next-js.git
    cd nextjs-gov-boilerplate
  2. Install dependencies:

    npm install
  3. Run the development server:

    npm run dev

    Open http://localhost:3000 in your browser.

📢 Future Improvements

This boilerplate will continue to evolve based on feedback and feature requests. If you have suggestions or find issues, please feel free to open an issue or contribute via pull requests.

📄 License

This project is open-source, but its intended use is for government-related projects in Sri Lanka. For non-government projects, please modify the content accordingly.


Illuminating the Future of Tech – A project by Lunox

About

NextJS Multilingual Implementation for Websites for Government Websites of Sri Lanka.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published