feat: add Translation Management with approval workflow
Deploy / deploy (push) Successful in 12s

- New Translations + TranslationTexts NocoDB tables (auto-created on restart)
- Full CRUD: list, create, update, delete, bulk-delete translations
- Translation texts per language (add/edit/delete inline)
- Review flow: submit-review generates public token link
- Public review page: shows source + all translations, approve/reject/revision
- Email notifications to approvers (registered users)
- Sidebar nav under Marketing category
- Bilingual i18n (80+ keys in en.json and ar.json)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
fahed
2026-03-11 14:49:04 +03:00
parent 14751c42e4
commit b17108b321
9 changed files with 1962 additions and 11 deletions
+84 -1
View File
@@ -938,5 +938,88 @@
"posts.deleteLanguage": "Delete this language?",
"posts.deleteLanguageConfirm": "This will remove the language content from this version.",
"posts.media": "Media",
"posts.noMedia": "No media files uploaded"
"posts.noMedia": "No media files uploaded",
"nav.translations": "Translations",
"translations.title": "Translations",
"translations.subtitle": "Manage content translations with approval workflow",
"translations.newTranslation": "New Translation",
"translations.createTranslation": "Create Translation",
"translations.searchTranslations": "Search translations...",
"translations.titleLabel": "Title",
"translations.titlePlaceholder": "e.g. Campaign tagline translation",
"translations.sourceLanguage": "Source Language",
"translations.sourceContent": "Source Content",
"translations.sourceContentPlaceholder": "Enter the original content to translate...",
"translations.description": "Description",
"translations.descriptionLabel": "Description",
"translations.descriptionPlaceholder": "Context or notes about this translation...",
"translations.brand": "Brand",
"translations.creator": "Creator",
"translations.approvers": "Approvers",
"translations.approversLabel": "Approvers",
"translations.status": "Status",
"translations.languagesLabel": "Languages",
"translations.languagesCount": "languages",
"translations.updated": "Updated",
"translations.grid": "Grid",
"translations.list": "List",
"translations.allBrands": "All Brands",
"translations.allStatuses": "All Statuses",
"translations.allCreators": "All Creators",
"translations.status.draft": "Draft",
"translations.status.pendingReview": "Pending Review",
"translations.status.approved": "Approved",
"translations.status.rejected": "Rejected",
"translations.status.revisionRequested": "Revision Requested",
"translations.sortRecentlyUpdated": "Recently Updated",
"translations.sortNewest": "Newest First",
"translations.sortOldest": "Oldest First",
"translations.sortTitleAZ": "Title A-Z",
"translations.noTranslations": "No translations found",
"translations.loadFailed": "Failed to load translations",
"translations.titleRequired": "Title is required",
"translations.sourceContentRequired": "Source content is required",
"translations.created": "Translation created!",
"translations.createFailed": "Failed to create translation",
"translations.creating": "Creating...",
"translations.deleted": "Translation deleted!",
"translations.deleteFailed": "Failed to delete translation",
"translations.details": "Details",
"translations.translationTexts": "Translations",
"translations.review": "Review",
"translations.draftSaved": "Draft saved!",
"translations.failedSaveDraft": "Failed to save draft",
"translations.saveDraft": "Save Draft",
"translations.saveDraftTooltip": "Save changes to title, description, and source content",
"translations.savingDraft": "Saving...",
"translations.updated": "Updated!",
"translations.failedUpdate": "Failed to update",
"translations.addTranslation": "Add Translation",
"translations.translationAdded": "Translation added!",
"translations.failedAddTranslation": "Failed to add translation",
"translations.translationDeleted": "Translation deleted!",
"translations.failedDeleteTranslation": "Failed to delete translation",
"translations.noTranslationTexts": "No translations yet. Add one for each target language.",
"translations.allFieldsRequired": "Language and content are required",
"translations.languageLabel": "Language",
"translations.selectLanguage": "Select a language",
"translations.translatedContent": "Translated Content",
"translations.enterTranslatedContent": "Enter the translated content...",
"translations.deleteTranslation": "Delete Translation",
"translations.deleteTranslationDesc": "This will permanently delete this translation and all its language versions.",
"translations.deleteTranslationText": "Delete Translation Text",
"translations.deleteTranslationTextDesc": "This will remove this language translation.",
"translations.bulkDeleteDesc": "Delete selected translations?",
"translations.submitForReview": "Submit for Review",
"translations.submitting": "Submitting...",
"translations.submittedForReview": "Submitted for review!",
"translations.failedSubmitReview": "Failed to submit for review",
"translations.reviewLinkTitle": "Review Link",
"translations.linkCopied": "Link copied!",
"translations.feedbackTitle": "Reviewer Feedback",
"translations.approvedByLabel": "Approved by",
"translations.pendingReviewInfo": "This translation is currently pending review.",
"translations.noReviewInfo": "No review information available.",
"translations.failedDelete": "Failed to delete"
}