Deterministic rule

Script Inconsistency Check

The script inconsistency check flags suspicious mixtures of half-width and full-width alphanumeric or punctuation characters in Japanese localized strings.

Examples

Source JSON
{ "plan": "Pro 10", "version": "Version 2.0" }
Target JSON
{ "plan": "Pro 10", "version": "バージョン2.0" }
Expected finding
plan: mixed full-width and half-width Latin/numeric characters
version: mixed punctuation width around version number
Release impact
Width drift can make product names, plan names, version numbers, and UI labels look inconsistent or fail style-guide review.

What LocaleQA checks

LocaleQA checks for deterministic mixtures of full-width and half-width alphanumeric or punctuation characters inside localized strings.

In Japanese localization, width choices often follow a style guide. Accidental mixtures can come from IME conversion, copy/paste, translation memory matches, or editing only part of a product term.

What appears in the report

The report shows the JSON path and the string that contains the suspicious character-width mixture. The report gives reviewers a specific item to compare against the project style guide.

The rule does not decide whether full-width or half-width is correct. It only highlights inconsistent mixtures that are hard to catch by eye in dense JSON files.

When to keep or skip this check

Some Japanese UI copy intentionally mixes widths, especially around product names, Latin acronyms, model numbers, or client-specific notation. Those should be accepted when the style guide requires them.

Disable this rule for projects with frequent intentional width mixing or where width review is handled linguistically. Keep it enabled for Japanese profile scans where product names, numbers, and punctuation must remain consistent.

How to use the finding

LocaleQA reports the affected JSON path, the source and target values involved, and the rule that triggered the finding. Developers, localization PMs, vendors, and QA reviewers can use that as a specific file-level item to fix, approve, or discuss before release.

Some findings are valid exceptions. A migration file, documented style choice, or locale-specific convention may explain the difference. In those cases, teams can leave the string as-is or disable the check for that scan.

For Japanese projects, width, spacing, encoding, and katakana style often belong to the client style guide. Keep this check on when those conventions matter, and leave it off for projects where the pattern is not part of review.

Related pages