# Application Localization: String Editor Panel

Single string translation editor with source text, placeholder chip, machine suggestion row, target textarea with counters, and queue navigation.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/localization/string-editor-panel
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Localization](https://www.shadcn-ui-blocks.com/blocks/application-pro/localization)
- Created: 2026-07-02
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/localization/string-editor-panel.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-localization-string-editor-panel
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: badge, button, label, textarea
- Installs to: `@/components/blocks/application-pro/localization/string-editor-panel`

## About this block

String Editor Panel is the focused review surface for
one translation at a time. The key strip carries
onboarding.invite_prompt in monospace with a namespace
badge and a Fuzzy status. Below it the source English
renders its inviteCount placeholder as a mono chip and
adds the developer context line, then a machine
suggestion row offers its own French take with a Use
suggestion button. The target Textarea holds the
translator draft with a character counter, 51 of 80,
and a placeholder check reading 1 of 1 present.
Previous and next buttons in the header step through
the queue and the footer pairs Skip with Save and next.

The panel is one card with ruled sections, so each zone
reads separately: key, source, suggestion, target,
actions. The footer states the guardrail plainly:
placeholders must appear unchanged or the save is
blocked.

## When to use

Reach for this block as the editing surface a translator
lands on after picking a row in the translation table.
Wire previous and next to your review queue, prefill the
suggestion from your machine translation provider, and
validate placeholders on save exactly as the footer
promises.

A natural flow around it on an Application Pro page:

**Before**

- [Translation table](https://www.shadcn-ui-blocks.com/blocks/application-pro/localization)
- [Translation progress card](https://www.shadcn-ui-blocks.com/blocks/application-pro/localization)

**After**

- [Locale preview card](https://www.shadcn-ui-blocks.com/blocks/application-pro/localization)

## What you can display

One strong use is the fuzzy review queue for machine
translations. Other editor panel shapes:

- **Missing strings first.** The queue scoped to
  untranslated strings with an empty target draft.
- **Plural forms.** Two stacked targets, one and other,
  for languages with plural rules on the count token.
- **Reviewer mode.** The same panel with Approve and
  Request changes replacing Save and next.

> Tip: keep the placeholder counter right under the
> textarea, a broken token in production is the bug
> users screenshot first.

## More in Application Localization

- [Format Settings](https://www.shadcn-ui-blocks.com/blocks/application-pro/localization/format-settings)
- [Glossary Manager](https://www.shadcn-ui-blocks.com/blocks/application-pro/localization/glossary-manager)
- [Language Switcher Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/localization/language-switcher-blueprint)
- [Locale Coverage Matrix](https://www.shadcn-ui-blocks.com/blocks/application-pro/localization/locale-coverage-matrix)
- [Locale Fallback Chain](https://www.shadcn-ui-blocks.com/blocks/application-pro/localization/locale-fallback-chain)
- [Locale Preview Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/localization/locale-preview-card)
- [Pseudo Locale Tester](https://www.shadcn-ui-blocks.com/blocks/application-pro/localization/pseudo-locale-tester)
- [RTL Preview Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/localization/rtl-preview-panel)
- [Translation Progress Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/localization/translation-progress-card)
- [Translation Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/localization/translation-table)
