Story 8 — Admin Board: Internationalized Content & Management
Epic: EPIC-010 — Global Internationalization & Multi-Language Support (GitHub #100)
Priority: P2
User Story
As a MagikTap admin, I want the Admin board fully translated and able to manage international users, so I can operate the platform for a global user base.
Requirements
Admin Board Views to Internationalize
All admin board views must replace hardcoded English strings with lang() calls:
| View |
Key Areas |
admin/users.php |
Table headers, action buttons, status labels, search placeholder |
admin/resellers.php |
Table headers, tier labels, action buttons |
admin/organizations.php |
Table headers, org type labels, actions |
admin/employees.php |
Table headers, role labels, actions |
admin/referrals.php |
Referral status, commission labels, table headers |
admin/payments.php |
Payment status, method labels, amount formatting |
admin/finance/plans.php |
Plan names (keep original), pricing (localized), features |
admin/finance/transactions.php |
Status labels, date formatting, amounts |
admin/finance/commissions.php |
Commission type, amounts, date formatting |
admin/finance/subscriptions.php |
Status labels, plan names, renewal dates |
Admin-Specific Features
- User locale column: Show user's preferred locale in user management tables
- Currency column: Show user's currency preference in user details
- Locale filter: Allow admin to filter users by locale
- International phone display: Format phone numbers per user's country
- Multi-currency totals: Finance dashboards show totals in admin's preferred currency with conversion
System Settings (Admin Only)
- Default platform locale setting
- Supported locales toggle (enable/disable languages)
- Default currency setting
- Currency rate management page
Acceptance Criteria
| # |
Criteria |
Priority |
| 1 |
All 10 admin views use lang() for all UI strings |
P0 |
| 2 |
Admin can view users' locale and currency preferences |
P1 |
| 3 |
Finance totals display in admin's selected currency |
P1 |
| 4 |
Date/time formatting respects admin's locale |
P1 |
| 5 |
Admin can manage currency exchange rates |
P2 |
| 6 |
Admin can toggle supported platform languages |
P2 |
Files to Modify
- All 10 admin view files listed above
app/app.portalv2/app/Controllers/Admin/ — pass locale data to views
Story 8 — Admin Board: Internationalized Content & Management
Epic: EPIC-010 — Global Internationalization & Multi-Language Support (GitHub #100)
Priority: P2
User Story
Requirements
Admin Board Views to Internationalize
All admin board views must replace hardcoded English strings with
lang()calls:admin/users.phpadmin/resellers.phpadmin/organizations.phpadmin/employees.phpadmin/referrals.phpadmin/payments.phpadmin/finance/plans.phpadmin/finance/transactions.phpadmin/finance/commissions.phpadmin/finance/subscriptions.phpAdmin-Specific Features
System Settings (Admin Only)
Acceptance Criteria
lang()for all UI stringsFiles to Modify
app/app.portalv2/app/Controllers/Admin/— pass locale data to views