Skip to content

Translate the apps and installers into Czech and Spanish #112

Closed

Description

@Uolsen

The apps are English-only today. This issue adds Czech and Spanish translations to the macOS, Windows and Linux apps and to the installers, with English kept as the source and fallback language.

Language selection

  • Each app follows the OS language by default. It picks the first preferred language that is cs, es or en, and falls back to English otherwise.
  • A Language picker in General settings overrides that choice. Its options are "System default", "English", "Čeština" and "Español".
  • A new language takes effect after a restart, which the Restart Flock button does.

Scope

  • macOS app: a String Catalog (Localizable.xcstrings) that build-app.sh compiles into the bundle, plus the Language picker.
  • Windows tray app: .resx resources (with satellite assemblies), plus the Language picker.
  • Windows installer (Flock.iss): the Czech and Spanish language packs Inno Setup ships with, picked from the UI language, and Flock's own installer messages moved into [CustomMessages].
  • Linux app: an embedded translation table with no new crates, plus the Language picker.
  • Linux packaging: translated .desktop and AppStream metainfo entries.
  • Tests that fail when a cs/es translation is missing or its placeholders don't match English.

Translation rules

  • Every string the apps write themselves is translated: windows, menus, the tray menu, dialogs, notifications, the first-run Setup window, and so on.
  • Real plural handling is used. Czech has separate forms for 1, for 2–4, and for 0 or 5+.
  • One glossary keeps terms the same across platforms (e.g. Sites → Weby / Sitios, Services → Služby / Servicios, Mail → Pošta / Correo).

Not translated

  • Product and tech names (Flock, PHP, Laravel…).
  • Anything that comes from the daemon or the CLI (site names, logs, error messages).
  • flock CLI output.
  • The docs screenshot generators, which always render in English.
  • Linux package maintainer scripts.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions