ToolJovia
Text

Printf Translation Argument Checker

Compare a restricted printf source/translation argument contract without running either format string.

✓ Browser-local processing

Loading tool…

How to use Printf Translation Argument Checker

Review whether a translated message still refers to the same selected argument positions and conversion uses. Complete positional references can reorder arguments, while missing, extra or changed uses remain visible. The strings are parsed as source text; no printf call, user expression or translated code is executed.

  1. Paste the original format and its proposed translation as plain strings.
  2. Choose whether equal-kind repeated uses must keep the same count, then run.
  3. Review numbered conversion evidence and every missing, extra or changed argument; review wording separately.

Good to know

  • At most 10,000 well-formed UTF-16 characters per string, 100 consuming directives and 32 contiguous argument positions. %% is literal percent. All consuming directives use either sequential arguments or explicit n$ positions; mixing and positional gaps are refused.
  • Selected conversions are s, c, d, i, u, o, x, X, f, F, e, E, g and G, with bounded unique fixed flags, width at most 4,096 and precision at most 1,024. Character/string flags are limited to -; c has no precision, signed decimals exclude #, u excludes #/space/+, and octal/hex exclude space/+.
  • Stars, length modifiers, pointer conversion, %n, macros, GNU extensions, C string-literal concatenation/escapes and PO syntax are explicitly outside this profile. No formatted output or runtime/ABI safety certification is made.
  • d/i share one selected kind; other codes retain their distinct case/presentation kind. Fixed presentation flags, width and precision are not compared by the argument contract. Equal argument use does not establish correct translation, formatting semantics or complete GNU msgfmt equivalence.
  • Processing is local. Output is limited to 1,000,000 text characters unless a stricter file limit is stated.

Common questions

Does Compatible mean this string is safe to pass to any printf implementation?

No. It means the two strings match this explicitly limited source contract. A real application still needs the correct language/runtime format checks and argument values; this tool never executes the supplied formats.

Is this input sent to a server?

No. The application processes this input inside your browser tab and does not save it to persistent storage.

Keep going with related tools

All text →