Skip to content

get-aurora-dev/aurora-web

Repository files navigation

Aurora Web

The official Aurora website, built with NextJS 16 and React 19, using TailwindCSS and shadcn/ui components.

Getting Started

pnpm i          # Install dependencies
pnpm run dev    # Start development server at http://localhost:3000

Contributing

Every contribution is welcome! Submit changes by creating a PR. Thank you for your contribution!

Adding a New Language

Adding a new language is easy - you only need to touch two files:

  1. Create a translation file - Copy messages/en.json to messages/{locale}.json:

    cp messages/en.json messages/es.json  # Example: Spanish
  2. Register the language - Add an entry to the languages array in i18n/config.ts:

    export const languages: Language[] = [
      { code: 'en', name: 'English', nativeName: 'English' },
      { code: 'de', name: 'German', nativeName: 'Deutsch' },
      { code: 'es', name: 'Spanish', nativeName: 'Español' },  // Add your language
      // ...
    ];
  3. Translate - Edit your new messages/{locale}.json file with your translations.

  4. Submit a PR - That's it!

Locale Code Format

Use standard BCP 47 language tags:

  • Simple codes: en, de, fr, es
  • Regional variants: pt-PT (Portuguese - Portugal), pt-BR (Portuguese - Brazil)

Project Structure

aurora-web/
├── app/[locale]/       # Internationalized pages
├── components/         # React components
├── i18n/
│   ├── config.ts       # Language configuration (single source of truth)
│   ├── routing.ts      # next-intl routing setup
│   └── request.ts      # Server-side locale handling
├── messages/           # Translation files
│   ├── en.json         # English (reference)
│   ├── de.json         # German
│   ├── fr.json         # French
│   ├── pt-PT.json      # Portuguese (Portugal)
│   └── ru.json         # Russian
└── middleware.ts       # Locale detection middleware

About

The website for the ultimate productivity workstation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 12