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:
6
i18n.ts
6
i18n.ts
@@ -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}) => {
|
||||
|
||||
Reference in New Issue
Block a user