feat: add Italian language support

Added complete Italian (it) translation for the Biblical Guide application:
- Created messages/it.json with full Italian translations
- Updated i18n.ts to include Italian locale
- Updated middleware.ts to handle Italian routes
- Added Italian to language options in all locale files (en, ro, es)

Users can now access the app in Italian at /it/* routes and select Italian from the language settings.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-10 18:06:33 +00:00
parent e39bb5bbba
commit 4346112766
6 changed files with 595 additions and 10 deletions

View File

@@ -2,14 +2,16 @@ import {getRequestConfig} from 'next-intl/server';
import ro from './messages/ro.json';
import en from './messages/en.json';
import es from './messages/es.json';
import it from './messages/it.json';
// Can be imported from a shared config
export const locales = ['en', 'ro', 'es'] as const;
export const locales = ['en', 'ro', 'es', 'it'] as const;
const messages = {
ro,
en,
es
es,
it
} as const;
export default getRequestConfig(async ({locale}) => {