Implement internationalization for account settings and search components. Added translation support for various UI elements, including billing, notifications, and user dropdowns. Refactored search suggestions and no result messages to utilize localized text. Enhanced user experience by ensuring all relevant components display text based on selected language.

This commit is contained in:
2026-02-19 17:41:37 +03:30
parent 0844100613
commit 25344a8738
14 changed files with 646 additions and 415 deletions
@@ -1,5 +1,6 @@
// Next Imports
import type { Metadata } from 'next'
import { getTranslations } from 'next-intl/server'
// Component Imports
import Login from '@views/Login'
@@ -7,9 +8,13 @@ import Login from '@views/Login'
// Server Action Imports
import { getServerMode } from '@core/utils/serverHelpers'
export const metadata: Metadata = {
title: 'Login',
description: 'Login to your account'
export async function generateMetadata(): Promise<Metadata> {
const t = await getTranslations('login')
return {
title: t('title'),
description: t('description')
}
}
const LoginPage = async () => {