SkilldexAll articles

Localize skill results without translating machine keys

Separate language-specific content from identifiers and status values consumer code expects.

A user-facing file may need localized labels while its structured payload must remain readable by software. Translating status codes or resource identifiers can break clients even when the document looks correct. Treat the localized presentation and machine contract as separate fields.

Identify which values are language-dependent

Translate headings, help text, and human-facing descriptions. Keep API identifiers, enumerated status values, and version fields stable. Format dates and quantities appropriately for presentation while retaining a canonical data representation where a downstream client will interpret them.

Mark language changes where they matter

For an HTML artifact, declare the main language and mark passages in a different language when applicable. Check how long translations affect heading wraps and field labels. Source quotations and user-provided names may need to remain in their original form even in a localized report.

Exercise a full round trip

Generate the artifact in two languages and parse the accompanying data in the same consumer. Verify that visible formatting differs where intended while the internal status values remain compatible. Include missing-content and plural cases so translation cannot produce a misleading completion state.

Sources