File "langConfig-20260606125401.ts"
Full Path: /home/trinadezambia/public_html/student_panel/src/lib/langConfig-20260606125401.ts
File size: 682 bytes
MIME-type: text/plain
Charset: utf-8
// Language configuration
const config = {
supportedLanguages: [
{ language: 'English', langCode: 'en', isRtl: false },
{ language: 'Hindi', langCode: 'hi', isRtl: false },
{ language: 'Arabic', langCode: 'ar', isRtl: true },
],
defaultLanguage: {
language: 'English',
langCode: 'en',
isRtl: false,
},
};
// Re-export translate function for backward compatibility
// Components should use useTranslate hook from @/lib/hooks/useTranslate
export function translate(key: string): string {
// This is a fallback function for server-side rendering
// Client components should use the useTranslate hook instead
return key;
}
export default config;