## Description Some pages and components have hardcoded text that should be internationalized. ## Known issues 1. **NotFound.tsx** - All text is hardcoded (see issue #20) 2. **AuthCallback.tsx** - May have hardcoded loading/error messages 3. **Watch.tsx** - Video player controls may not be translated ## Required audit Perform a full audit of the codebase to identify: - Hardcoded user-facing strings - Missing translation keys in `en.ts` and `ar.ts` - Components not using the `useI18n` hook ## How to find hardcoded strings ```bash # Search for potential hardcoded strings in TSX files grep -r '"[A-Z][a-z]' --include='*.tsx' src/ ``` ## Checklist - [ ] NotFound.tsx - [ ] AuthCallback.tsx - [ ] Watch.tsx - [ ] Any error messages - [ ] Any toast notifications - [ ] Form validation messages - [ ] Button labels - [ ] Placeholder text ## Solution 1. Audit all pages and components 2. Add missing translation keys to `en.ts` 3. Add corresponding Arabic translations to `ar.ts` 4. Update components to use `useI18n` hook
Description
Some pages and components have hardcoded text that should be internationalized.
Known issues
Required audit
Perform a full audit of the codebase to identify:
en.tsandar.tsuseI18nhookHow to find hardcoded strings
Checklist
Solution
en.tsar.tsuseI18nhook