Skip to content

[6.x] German translations for Forms 2, plus consistency and accuracy fixes - #16029

Draft
helloDanuk wants to merge 12 commits into
statamic:6.xfrom
helloDanuk:de-patch-29
Draft

helloDanuk wants to merge 12 commits into
statamic:6.xfrom
helloDanuk:de-patch-29

Conversation

@helloDanuk

@helloDanuk helloDanuk commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Depends on #16004 and #16143, which should be merged first. I'll keep this PR as a draft until then.

This PR adds the German strings for Forms 2 (424 new) and reworks existing ones (516 of about 2,700, roughly one in five). Each commit covers one topic, so it can be reviewed commit by commit. This PR replaces #16060, which can be closed.

New strings

  • Forms 2: form builder, logic, connections, summary charts, settings and permissions, for de and de_CH
  • Form fieldtypes: descriptions, settings and sample values for lang/en/form-fieldtypes.php from [6.x] Forms 2: Follow localization conventions #16004
  • Form summary: the new response count and toggle insight strings from [6.x] Fix pluralisation in form summary response count and toggle insight #16143, with plural forms. They're in a separate commit, so it can be dropped if [6.x] Fix pluralisation in form summary response count and toggle insight #16143 changes
  • Strings added to 6.x since then, e.g. «Fix…», «Loading…», «Publish…», :count% and «Page»
  • Translator: added the 16 form fieldtype titles to $additionalStrings and the 26 form fieldtype descriptions to $additionalKeys. FormFieldtype::title() and description() build the keys from the handle at runtime, so the scanner can't find them and generate would drop their translations.
  • Translator: added CP Nav, Sidebar (the default name of the sidebar tab) and the dictionary titles (Countries, Currencies, Languages, Locales, Timezones) to $additionalStrings. They are translated at runtime, so the scanner couldn't find them, and they showed in English in every language. The dictionary titles also appear in the form builder since Forms 2.
  • Removed three unused strings from messages.php, in English and German, and the duplicate English field_conditions_reserve_space_when_hidden_instructions

While auditing, I also found these strings that are no longer used in the code. I left them in place: validation.arr_fieldtype, validation.date_fieldtype_time_required, validation.parent_* (3), and the folder and term permissions permissions.{create,move,rename,delete}_{container}_folders, permissions.{publish,reorder}_{taxonomy}_terms.

Consistency fixes

Forms 2 was the trigger for a closer look at the whole CP. It adds a lot of strings, and many of them are shared with existing features. So I checked not only the new strings, but also how they fit with the existing ones, and improved consistency across the CP. Below, I explain why some existing strings changed and how I worked.

  • Toggle instructions now consistently describe what the toggle does (about 70 strings)
  • Input instructions checked against the English and the UI (21 strings)
  • Help texts: the main sentence names what to do («… festlegen», «… auswählen», «… wählen»), tips address the user directly, and «Leer lassen, um …» replaces «Feld leer lassen, um …»
  • Fieldsets: «verknüpfen» instead of «importieren», since linked fieldsets stay in sync. "Link Existing" is now «Felder verknüpfen»
  • "Dictionary" → «Datenquelle», "Reply To" → «Antwortadresse», "Sometimes" → «Bedingt validieren»
  • "Connect" → «Verbinden», and «verbunden» in the OAuth messages
  • Search placeholders use «suchen», «durchsuchen» stays for "Browse"
  • "Form Submission" → «Formularantwort», "Min/Max Files" → «Minimale/Maximale Anzahl Dateien», "Alt Text" → «Alternativtext», "CC/BCC Recipient(s)" → «Cc-/Bcc-Empfänger:innen»
  • "Preferences" is now «Voreinstellungen» everywhere. The nav item already used it, but the Preferences page and the permission description said «Einstellungen»
  • "Super User" is now «Super-Admin», like "Super Admin" elsewhere in the CP. German had both terms for the same flag
  • «Element» (item) only where a count follows. Generic buttons and dialogs shown in every listing now read «Alle auswählen», «Nichts gefunden» or «Möchtest du dies wirklich löschen?». "Scaffold Views" → «Templates generieren», since these views are template files and «Ansicht» means a saved list view. "Global Variables" → «Globale Inhalte», like the nav item
  • Dictionaries: country names now follow the official German lists of state names (Swiss Federal Chancellery for de_CH, German Federal Foreign Office for de), territories follow CLDR. Currencies consistently use «adjective + currency», e.g. «Katarischer Riyal»
  • Handle instructions now say «Dient … als Verweis auf …»; email recipient and mailer instructions follow the changed English; session expiry messages are more natural
  • A full pass over all existing strings for precise wording, so the CP says what actually happens. For example, "Password Reset Sent" was «Passwortzurücksetzung gesendet», but what's sent is an email with a link: now «E-Mail zum Zurücksetzen gesendet». "Refresh recovery codes" was «… aktualisieren», which sounded harmless, although the old codes stop working: now «Neue Codes generieren». "Propagate" was «Verbreiten»: now «Auf Websites übertragen», like its instructions. "Link to URL" was «URL hinzufügen», which looks fine in the file, but in the menu it sits right below «Link zu Eintrag» (Link to Entry): now «Link zu URL»

Why some existing strings changed

Forms 2 reuses many strings from the blueprint editor in the form builder, where editors build forms. A string now has to work in both places, and some didn't. For example, the new toggles say what they do, e.g. «Macht das Feld zum Pflichtfeld.» (makes the field required). Next to them, the existing toggle instructions used three different styles, so I aligned them.

How I worked

With AI, I could check consistency much more thoroughly than before. It drafted the new strings and checked every change against a glossary, style rules and all places where a string is used. But a first draft often looks good at first glance, and the problems only show on a second look. So I reviewed each string where it appears: a small tool marks new and changed strings in the CP and shows the English and the previous text on hover, including tooltips and ARIA labels. I reworked many of the AI suggestions this way. In a final round, I went through the whole CP section by section.

Bildschirmfoto 2026-11-28 um 19 58 33

Many fixes only make sense in context. A label and its instructions live in different files, and a heading and the text below it can repeat each other. So if a string looks odd in the diff, it's worth checking it in place.

Overlap with #16060

#16060 translates the same Forms 2 strings for de. I compared both string by string and took the better one in each case, e.g. «Testantwort», «Formular-Editor» and «Anzahl Sterne» from #16060. Thanks for that work!

@duncanmcclean

Copy link
Copy Markdown
Member

@jasonvarga Not sure if it might be worth merging #16004 before reviewing this one? (it moves around some of our translation strings to be more consistent with other features)

@helloDanuk

Copy link
Copy Markdown
Contributor Author

I can adapt the German translations in this PR to reflect your changes to the localisation conventions. This PR can wait.

field_conditions_field_instructions, field_conditions_instructions and
form_configure_blueprint_instructions are no longer used. Removed from
English and the German translations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New strings for the form builder, logic, connections, summary and settings.
Obsolete keys that are no longer used are removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Descriptions, settings and sample values for the new lang/en/form-fieldtypes.php from statamic#16004.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
FormFieldtype::title() and description() build the keys from the handle at
runtime, so the scanner can't find them and generate would drop their
translations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Linked fieldsets stay in sync, they aren't copied. The titles and buttons
already say «verknüpfen», now the instructions, tooltips and errors do too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Toggle instructions mixed imperatives, descriptions and «Legt fest, ob …».
They now consistently describe what the toggle does («Blendet … ein»,
«Erlaubt …», «Speichert …»). A few content fixes came along, e.g. «Escape»
means «Maskiert», not «Entfernt».

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Instructions of inputs and selects checked against the English, their label
and the UI, e.g. the Revealer button name, «Template» instead of «Vorlage»,
«Startordner» instead of «Anfangsverzeichnis».

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@helloDanuk
helloDanuk marked this pull request as ready for review December 3, 2026 12:21
@helloDanuk
helloDanuk marked this pull request as draft December 3, 2026 12:21
Terms that no longer fit since Forms 2 reuses them in the form builder
(e.g. «Datenquelle», «Antwortadresse», «Bedingt validieren»), terms aligned
across the CP («Verbinden», «suchen», «Alternativtext») and minor wording
improvements from a full pass over all strings: labels and buttons aligned
with their neighbours, one pattern for error messages, current country and
currency names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@helloDanuk helloDanuk changed the title [6.x] German translations [6.x] German translations for Forms 2, plus consistency and accuracy fixes Dec 3, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants