diff --git a/src/app/i18n-demo/page.tsx b/src/app/i18n-demo/page.tsx new file mode 100644 index 0000000..1558b4b --- /dev/null +++ b/src/app/i18n-demo/page.tsx @@ -0,0 +1,63 @@ +import {useTranslation} from 'react-i18next'; +import {LanguageSwitcher} from '@/components/shared/LanguageSwitcher'; + +export default function I18nDemo() { + const {t} = useTranslation(); + + return ( +
{t('shared.loading')}
+{t('shared.error')}
+{t('shared.success')}
+{t('project.issueDetail.openedBy', {user: 'Alice'})}
+{t('notification.unreadTotal', {unread: 5, total: 23})}
+{t('repository.list.showing', {start: 1, end: 10, total: 100})}
+{t('workspace.members.totalMembers', {count: 0})}
+{t('workspace.members.totalMembers', {count: 1})}
+{t('workspace.members.totalMembers', {count: 5})}
+{t('landing.hero.heading')}
+{t('auth.login.heading')}
+{t('project.issues.new')}
+{t('landing.features.sectionTitle')}
+