Skip to content

bug: Some pages are missing i18n translations #22

Description

@Abdelkaderbzz

Description

Some pages and components have hardcoded text that should be internationalized.

Known issues

  1. NotFound.tsx - All text is hardcoded (see issue bug: NotFound page is not i18n-powered #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

# 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions