The official Aurora website, built with NextJS 16 and React 19, using TailwindCSS and shadcn/ui components.
pnpm i # Install dependencies
pnpm run dev # Start development server at http://localhost:3000Every contribution is welcome! Submit changes by creating a PR. Thank you for your contribution!
Adding a new language is easy - you only need to touch two files:
-
Create a translation file - Copy
messages/en.jsontomessages/{locale}.json:cp messages/en.json messages/es.json # Example: Spanish -
Register the language - Add an entry to the
languagesarray ini18n/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 // ... ];
-
Translate - Edit your new
messages/{locale}.jsonfile with your translations. -
Submit a PR - That's it!
Use standard BCP 47 language tags:
- Simple codes:
en,de,fr,es - Regional variants:
pt-PT(Portuguese - Portugal),pt-BR(Portuguese - Brazil)
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