Skip to content

I18n: Translate the Italian server strings - #336

Merged
angusmcleod merged 3 commits into
paviliondev:mainfrom
davidlippidinova:i18n/italian-server-translations
Nov 10, 2026
Merged

angusmcleod merged 3 commits into
paviliondev:mainfrom
davidlippidinova:i18n/italian-server-translations

Conversation

@sisti86dinova

Copy link
Copy Markdown
Contributor

server.it.yml was a copy of the English strings, so Italian users saw wizard validation errors ("Immagine must be a .jpg,.png", "Titolo is required.") and the plugin's site settings in English.

  • Translates every string and adds the 9 keys the file was missing, so its keys match server.en.yml.
  • Wording follows the Italian admin UI from I18n: Translate the Italian client strings #335 (e.g. the "Registrazione" / "Ora" wizard settings).
  • Fixes the name_too_short placeholder in server.en.yml: it used Ruby interpolation (#{min_length}) instead of %{min_length}, so admins saw the literal text instead of the number. The custom field spec now passes min_length.

Checked on a local Discourse (2026.11.0-latest): plugin specs pass, and with I18n.locale = :it the messages render in Italian ("Titolo è obbligatorio.", "'cf' è troppo corto … (lunghezza minima: 3)").

server.it.yml was a copy of the English strings, so Italian users saw
wizard validation errors ("%{label} is required.", "%{label} must be a
%{types}") and the plugin's site settings in English.

Translate every string and add the 9 keys the file was missing, so it
matches server.en.yml. Setting names use the same terms as the Italian
admin UI.

Also fix the min length placeholder in name_too_short, which used Ruby
interpolation (#{min_length}) instead of %{min_length}, so the message
showed the literal text instead of the number.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
angusmcleod and others added 2 commits November 10, 2026 16:03
@angusmcleod
angusmcleod merged commit 35698dc into paviliondev:main Nov 10, 2026
6 checks passed
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