Repository navigation
[6.x] German translations for Forms 2, plus consistency and accuracy fixes - #16029
Draft
helloDanuk wants to merge 12 commits into
Draft
helloDanuk wants to merge 12 commits into
helloDanuk wants to merge 12 commits into
Conversation
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) |
Contributor
Author
|
I can adapt the German translations in this PR to reflect your changes to the localisation conventions. This PR can wait. |
helloDanuk
marked this pull request as draft
November 26, 2026 22:45
This was referenced Nov 27, 2026
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
marked this pull request as ready for review
December 3, 2026 12:21
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
force-pushed
the
de-patch-29
branch
from
December 3, 2026 13:00
96ff26c to
5a01327
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
deandde_CHlang/en/form-fieldtypes.phpfrom [6.x] Forms 2: Follow localization conventions #16004:count%and «Page»$additionalStringsand the 26 form fieldtype descriptions to$additionalKeys.FormFieldtype::title()anddescription()build the keys from the handle at runtime, so the scanner can't find them andgeneratewould drop their translations.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.messages.php, in English and German, and the duplicate Englishfield_conditions_reserve_space_when_hidden_instructionsWhile 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 permissionspermissions.{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.
de_CH, German Federal Foreign Office forde), territories follow CLDR. Currencies consistently use «adjective + currency», e.g. «Katarischer Riyal»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.
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!