orbit-i18n-runtime

Audit JSON encoding flags and REST charset=utf-8 for non-Latin data integrity.

2|1|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/adityaarsharma/orbit --skill orbit-i18n-runtime
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: orbit-i18n-runtime
Source: https://github.com/adityaarsharma/orbit/tree/main/skills/orbit-i18n-runtime
Command: npx skills add https://github.com/adityaarsharma/orbit --skill orbit-i18n-runtime

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires wp_json_encode, json_encode, WP_REST_Response, wp_remote_post, and includes scripts (resource) components.

What problem does it solve?

This Skill uncovers data corruption bugs in non-Latin character encoding during the i18n process, preventing data corruption issues in multi-locale environments.

Core Features & Use Cases

  • Runtime i18n Correction: Checks for proper encoding flags in JSON calls and REST responses, flagging issues in post_meta, options, REST output, and API bodies.
  • Use Case: Before shipping to non-English locales, it can ensure that non-Latin characters in saved content are preserved accurately, preventing data corruption and user confusion.

Quick Start

Run orbit-i18n-runtime to audit the i18n runtime and identify any encoding issues.

Frequently Asked Questions about orbit-i18n-runtime

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why are non-Latin characters corrupted in my WordPress REST API responses?

Data corruption occurs when JSON encoding flags mismatch between writer and reader sets or the Content-Type charset=utf-8 header is missing. Auditing REST responses and API bodies ensures proper non-Latin character preservation.

How do I audit JSON encoding flags for i18n data integrity in WordPress?

You audit JSON encoding flags by checking storage paths like post_meta and options, outgoing API bodies, and WP_REST_Response outputs for flag parity and utf-8 charset headers to prevent non-Latin data corruption.

Does wp_json_encode require specific flags to preserve non-Latin characters?

Yes, wp_json_encode requires consistent flags between writer and reader sets to preserve non-Latin characters. Mismatched flag sets during the i18n encoding process cause data corruption in multi-locale environments.

What is the best way to prevent encoding issues before shipping to non-English locales?

The best way to prevent encoding issues before shipping is running a runtime i18n audit to verify JSON encoding flags in post_meta, options, and API bodies, ensuring non-Latin characters are preserved accurately.

Can I check wp_remote_post API bodies for non-Latin character data corruption?

Yes, you can check wp_remote_post API bodies for non-Latin data corruption by auditing outgoing JSON encoding flags and ensuring parity between writer and reader flag sets for accurate multi-locale content delivery.

When should I audit my i18n runtime for JSON encoding parity?

You should audit your i18n runtime for JSON encoding parity before shipping to non-English locales, ensuring that saved content in post_meta and options preserves non-Latin characters accurately and prevents user confusion.