Prompt
How do I debug approval status not updating in a localization platform?
Latest observation
If an approval status isn’t updating in a localization platform, the fastest way to debug it is to trace the workflow end-to-end: who changed what, where the status is stored, and what event is supposed to update it.
Here’s a practical checklist.
1) Confirm the expected workflow
First verify:
- What action should change the status?
- translation submitted?
- reviewer approved?
- imported file processed?
- API call made?
- Is the status supposed to update:
- immediately,
- after a background job,
- or only after sync/export?
Sometimes the issue is not a bug but a workflow misunderstanding.
2) Check whether the source data changed
Look at the underlying translation entry / string / asset and confirm:
- the translated text actually changed,
- the approval field or state changed in the database/API response,
- the item isn’t in a different locale, branch, environment, or project.
If the source record didn’t change, the status won’t either.
3) Inspect the API or UI response
If the platform has an API:
- fetch the entry after the approval action,
- compare old vs new values,
- check whether the response includes the updated status.
If the UI shows stale data:
- hard refresh,
- log out/in,
- try an incognito session,
- test in a different browser.
This helps separate frontend caching from a real backend issue.
4) Check event/job processing
Many localization platforms update approval status via async jobs or event queues.
Look for:
- failed background jobs,
- queue backlog,
- webhook delivery failures,
- missing retry attempts,
- worker downtime.
If there’s a job system, verify the status update job was:
- enqueued,
- processed,
- successful.
5) Verify permissions and role rules
Approval can fail silently if:
- the user doesn’t have reviewer/approver rights,
- the item requires a specific workflow stage,
- approval is restricted by branch, locale, or environment,
- there is a status transition rule preventing the change.
Check the audit log or permission matrix.
6) Look for overwrites or sync conflicts
Approval status may be getting reset by:
- file imports,
- TMS sync from a source of truth,
- CI/CD localization sync jobs,
- automated QA or revalidation,
- another user or integration updating the same string.
Check timestamps:
- when status changed,
- when the last import/export ran,
- whether another system wrote over the record afterward.
7) Review logs around the event
Search logs for:
- validation errors,
- DB write failures,
- API exceptions,
- serialization issues,
- stale cache reads,
- webhook or integration failures.
Useful clues:
- request ID,
- user ID,
- locale,
- string/key ID,
- approval status before/after.
8) Check caching layers
If the backend updated correctly but the UI didn’t:
- CDN cache,
- application cache,
- browser cache,
- GraphQL or REST response cache,
- client-side state store.
Try invalidating cache or bypassing it.
9) Compare with a known-good case
Test with:
- a different string,
- a different locale,
- a different reviewer,
- a different project.
If one case works and another doesn’t, compare metadata:
- workflow template,
- project settings,
- custom status definitions,
- required checks.
10) Reproduce in a minimal path
Try the shortest possible sequence:
- create or pick one test string,
- submit translation,
- approve it,
- observe the status,
- inspect backend/logs immediately.
This reduces noise from other integrations.
11) Common root causes
A few frequent causes:
- frontend not refreshing state
- approval job failing silently
- webhook not delivered
- permission mismatch
- stale cache
- file import overwriting status
- status mapped incorrectly between systems
- locale/branch mismatch
- database transaction rollback
12) What to collect before escalating
If you need to contact support or a backend engineer, gather:
- project/environment name
- string/key ID
- locale
- user/reviewer account
- exact time of the approval action
- screenshot or API response
- request ID / correlation ID
- relevant logs
- whether it reproduces consistently
Quick triage order
If you want the shortest path:
- Refresh and verify in the API.
- Check audit logs.
- Check background jobs/webhooks.
- Verify permissions/workflow rules.
- Look for overwrites from sync/import.
- Inspect logs for errors.
If you want, I can also give you a step-by-step debugging flow for a specific platform like Lokalise, Crowdin, Phrase, Transifex, or Smartling.