- Add react-i18next, i18next with browser language detection - Support Traditional Chinese (zh-TW) and English (en) - Default language: zh-TW, stored in localStorage - Create 10 translation namespaces (common, auth, dashboard, tasks, etc.) - Add LanguageSwitcher component in header - Translate pages: Login, Dashboard, Tasks, Spaces, Workload, Audit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
103 lines
2.7 KiB
JSON
103 lines
2.7 KiB
JSON
{
|
|
"buttons": {
|
|
"save": "Save",
|
|
"cancel": "Cancel",
|
|
"delete": "Delete",
|
|
"edit": "Edit",
|
|
"create": "Create",
|
|
"close": "Close",
|
|
"confirm": "Confirm",
|
|
"back": "Back",
|
|
"next": "Next",
|
|
"previous": "Previous",
|
|
"submit": "Submit",
|
|
"reset": "Reset",
|
|
"search": "Search",
|
|
"filter": "Filter",
|
|
"export": "Export",
|
|
"import": "Import",
|
|
"refresh": "Refresh",
|
|
"add": "Add",
|
|
"remove": "Remove",
|
|
"view": "View",
|
|
"download": "Download",
|
|
"upload": "Upload"
|
|
},
|
|
"labels": {
|
|
"loading": "Loading...",
|
|
"noData": "No data",
|
|
"required": "Required",
|
|
"optional": "Optional",
|
|
"all": "All",
|
|
"none": "None",
|
|
"yes": "Yes",
|
|
"no": "No",
|
|
"active": "Active",
|
|
"inactive": "Inactive",
|
|
"enabled": "Enabled",
|
|
"disabled": "Disabled",
|
|
"actions": "Actions",
|
|
"details": "Details",
|
|
"description": "Description",
|
|
"name": "Name",
|
|
"title": "Title",
|
|
"status": "Status",
|
|
"type": "Type",
|
|
"date": "Date",
|
|
"time": "Time",
|
|
"createdAt": "Created at",
|
|
"updatedAt": "Updated at",
|
|
"createdBy": "Created by",
|
|
"assignee": "Assignee",
|
|
"selectAssignee": "Select assignee...",
|
|
"searchUsers": "Search users...",
|
|
"noUsersFound": "No users found",
|
|
"typeToSearch": "Type to search users"
|
|
},
|
|
"messages": {
|
|
"success": "Operation successful",
|
|
"error": "Operation failed",
|
|
"confirmDelete": "Are you sure you want to delete? This action cannot be undone.",
|
|
"unsavedChanges": "You have unsaved changes. Are you sure you want to leave?",
|
|
"networkError": "Network error. Please try again later.",
|
|
"sessionExpired": "Session expired. Please log in again.",
|
|
"permissionDenied": "You do not have permission to perform this action.",
|
|
"notFound": "The requested resource was not found."
|
|
},
|
|
"validation": {
|
|
"required": "This field is required",
|
|
"email": "Please enter a valid email address",
|
|
"minLength": "Minimum {{min}} characters required",
|
|
"maxLength": "Maximum {{max}} characters allowed",
|
|
"invalidFormat": "Invalid format"
|
|
},
|
|
"nav": {
|
|
"dashboard": "Dashboard",
|
|
"spaces": "Spaces",
|
|
"projects": "Projects",
|
|
"tasks": "Tasks",
|
|
"workload": "Workload",
|
|
"health": "Project Health",
|
|
"audit": "Audit Log",
|
|
"settings": "Settings",
|
|
"logout": "Logout"
|
|
},
|
|
"language": {
|
|
"switch": "Switch language",
|
|
"zhTW": "繁體中文",
|
|
"en": "English"
|
|
},
|
|
"notifications": {
|
|
"title": "Notifications",
|
|
"markAllRead": "Mark all as read",
|
|
"noNotifications": "No notifications",
|
|
"viewAll": "View all"
|
|
},
|
|
"pagination": {
|
|
"page": "Page {{page}}",
|
|
"of": "of {{total}}",
|
|
"showing": "Showing {{from}}-{{to}} of {{total}}",
|
|
"itemsPerPage": "Items per page"
|
|
}
|
|
}
|