Próba redakcyjna w Weblate / A Polish workbook rehearsal
========================================================

The original source.po is a complete Polish gettext practice catalog. Its
initial translations say "file" but omit "new". Give review.xlsx to a
reviewer and ask them to put the missing adjective back. They can edit it
offline, save a new copy, and return the whole workbook. The reviewer needs
no Weblate account to edit the file. Use a disposable practice component
if importing it to your own Weblate.

1. Open review.xlsx. In the active sheet edit only the three target cells:
   target_plural_form 0: %d nowy plik
   target_plural_form 1: %d nowe pliki
   target_plural_form 2: %d nowych plików
   Preserve %d, the headers, all three rows, and the id_hash text. The form
   number identifies the grammar, even when the English source is identical.
2. Save as XLSX. The included reviewed.xlsx is a completed reference.
   In an English-source/Polish-target gettext practice component built
   from source.po, use Weblate's translation file upload to merge the workbook
   into that same component. Download the resulting PO for comparison.
   For your own real strings, start with the export of your own component.
3. With GNU gettext's msgfmt and Python 3 installed, run:
       python3 check.py reviewed.po
   You can substitute a PO downloaded from your practice component. The check
   compiles a temporary MO and renders the five counts using its Polish rule:
       1 nowy plik
       2 nowe pliki
       5 nowych plików
       12 nowych plików
       22 nowe pliki

Two separate controls
---------------------
missing-middle.xlsx removes the row with target_plural_form 1 and retains
0 and 2. Weblate 2026.11.2's XLSX reader rejects this file with an error
identifying the missing form. The reader uses an internal CSV representation,
so its error message mentions a CSV file.
broken-placeholder.xlsx keeps the three forms but changes %d to %s in
the last translation. The XLSX reader returns the text. GNU gettext
rejects the resulting broken-placeholder.po because the argument type
differs from the source. Try python3 check.py broken-placeholder.po.

How it was checked
------------------
Weblate 2026.11.2's released PO reader read source.po. Its XLSX exporter
wrote review.xlsx, openpyxl 3.1.5 edited the workbook, and Weblate's native
XLSX reader reconstructed the plural unit. Its PO writer serialized
reviewed.po. GNU msgfmt 0.21 compiled the result and Python GNUTranslations
rendered the five labels. This verification ran the format adapters locally.
The hosted Weblate interface, Google Sheets and LibreOffice were outside
this check.

You may copy, adapt and share this original practice kit with your team.
Weblate download and upload instructions:
https://docs.weblate.org/en/latest/user/files.html
Upstream plural round-trip change:
https://github.com/WeblateOrg/weblate/pull/19225
Classroom page:
https://bulldo.gs/demos/polskie-formy-liczby-mnogiej/
