Voice, terminology, and localization
Bilingual product language for financial decisions, permissions, errors, notifications, and documentation.
Voice contract
Section titled “Voice contract”Omni speaks as a reliable operational colleague: specific, calm, and respectful. Explain what changed, what remains uncertain, and what the user can do next. Use active verbs and concrete objects, especially before an irreversible or financial action. Avoid jokes, blame, celebration of routine approvals, and inflated claims of intelligence. The rules here are policy targets; existing untranslated strings must be tracked rather than excused.
Tone follows consequence
Section titled “Tone follows consequence”| Context | Do | Do not |
|---|---|---|
| Routine save | “Customer C-018 updated.” | “Amazing! You crushed it!” |
| Posting | “Post 12 journal lines to September 2026?” | “Ready to work some magic?” |
| Permission | “You can view this record. Editing requires additional access.” | “Access denied” with no context |
| Validation | “Enter a due date on or after the invoice date.” | “Invalid input” |
| Uncertain result | “The request timed out. Check payment status before retrying.” | “Payment failed” without confirmation |
| Reversal | “Creates a reversing entry; the original remains in history.” | “Deletes the transaction” |
Use sentence case for labels and headings; reserve uppercase for established codes or abbreviations. Do not add punctuation to short button labels; use complete sentences for explanations. Never expose stack traces, SQL text, internal hostnames, or raw exception objects in user-facing copy.
Shared bilingual vocabulary
Section titled “Shared bilingual vocabulary”| Business meaning | English | Indonesian |
|---|---|---|
| Editable record not yet submitted | Draft | Draf |
| Sent into an approval process | Submitted | Diajukan |
| Authorization granted | Approved | Disetujui |
| Recorded in the ledger | Posted | Dibukukan |
| Funds settlement confirmed | Paid | Dibayar |
| Original offset by a later entry | Reversed | Dibalik |
| Not available because of access | Restricted access | Akses terbatas |
| No records match a query | No matching results | Tidak ada hasil yang cocok |
Translate meaning, not database enum spelling; keep identifiers such as POSTED unchanged in API examples.
“Approved” must not imply “Paid”; “Submitted” must not imply that a background job finished.
If a domain term has legal significance, ask the domain owner rather than inventing a smoother synonym.
Actions and confirmations
Section titled “Actions and confirmations”Start action labels with verbs: “Create customer”, “Review changes”, “Export selected”. Use “Save draft” when the action does not submit, approve, or post the document. Name both object and scope in confirmation titles: “Deactivate 8 selected customers?” Describe impact, reversibility, and exceptions before the confirming control. For money movement, include currency, full amount, beneficiary, and effective date where relevant. Do not call a destructive action “Continue” when a precise action name fits.
Example confirmation: “Post journal JRN-1042 for IDR 25,000,000? This records the entry in the open period. Corrections require a reversal.” This is illustrative wording, not evidence that a specific journal or action is available. For recurring actions, distinguish “this occurrence” from “this and future occurrences”.
Messages as a structured contract
Section titled “Messages as a structured contract”A useful error has a problem, consequence, and recovery path. Example: “The customer was updated by another user. Your changes are not saved. Reload the latest version and review the differences.” Keep the user’s input available when safe; copy must not promise preservation the implementation does not provide. If recovery requires an administrator, state the required capability rather than guessing a role name. Provide a safe support reference when available, not a secret-bearing diagnostic payload.
Separate an informational note from a warning: a note explains context; a warning flags a material consequence. Keep permanent constraints near the affected control, not only in a disappearing toast. See feedback for choosing the correct delivery mechanism.
Localization and formatting
Section titled “Localization and formatting”Use the existing locale-aware formatters from frontend/src/utils/formatters.ts for displayed values.
Keep machine IDs, permission codes, component names, and API paths unchanged across languages.
Translate helper text, accessible names, empty states, titles, and validation—not only visible navigation.
Avoid concatenating translated fragments; translate a complete sentence with named values.
Test plural counts, long tenant names, date ranges, negative values, and mixed currencies.
An English date should be unambiguous, such as “5 September 2026”; do not rely on 09/05/26.
An Indonesian amount may display Rp25.000.000; exact spacing and decimals follow the shared formatter.
Never change the underlying currency, timezone, or accounting precision as a side effect of language selection.
Explain the timezone for deadlines and distinguish document dates from timestamped events.
Observed implementation limits
Section titled “Observed implementation limits”StatusBadge maps common states to localized labels and semantic tones, with a formatting fallback.
ConfirmGate currently has Indonesian default labels and some Indonesian internal messages.
Skeleton currently exposes the hardcoded status label “Memuat”; ToastContainer has “Tutup” on dismissal.
These observations are localization review items, not proof that an English route is fully localized.
Pass supported explicit labels where possible and record internal-string gaps for component owners.
Acceptance criteria
Section titled “Acceptance criteria”- A user can distinguish save, submit, approve, post, pay, cancel, and reverse from the wording.
- Every error explains a safe next step without disclosing internal or personal information.
- Both locales cover accessible names and exceptional states, not just the successful path.
- Numeric formatting is consistent while currency and accounting meaning remain unchanged.
- Confirmation copy names the resource, scope, consequence, and reversibility.
- Examples are marked as illustrative and never resemble claims about real customer results.
- Domain terminology and unresolved translation gaps have named reviewers.
Read forms for validation placement and brand for external claims.