Follow-up Comment #2, bug #67830 (group groff): Thanks for the report and the patch!
This looks like 3 different issues to me. Fortunately, each involves different file(s) so the patch presents little difficulty. 1. There's a fix enabling translation of the `Captc` string that probably should have gone in many years ago. 2. Changes to 0.MT and 5.MT enable localization of some strings that weren't localized before. Strictly, this is "i18n", as I understand it...i18n makes l10n possible. :) I want to study this approach against existing _mm_ i18n, but your test run arguments look idiomatic, so it's probably fine. 3. The actual l10n of _mm_ memoranda for German. This looks fine. As it happens I've been working up `C` register support myself, but didn't quite get it ready in time for _groff_ 1.24.0. $ cat contrib/mm/tests/WORK-IN-PROGRESS-C-register-works.sh #!/bin/sh # # Copyright 2024 G. Branden Robinson # # This file is part of groff. # # groff is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free # Software Foundation, either version 3 of the License, or # (at your option) any later version. # # groff is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # groff="${abs_top_builddir:-.}/test-groff" # Unit-test C register functionality. input='.P This is an .I mm document. This paragraph spaces differently in the vertical dimension depending on the value of the .B C register. .DS Let us see if this display does. By default, displays set without filling, creating a ragged right margin. .DE .BL .LI Now let us have a list. .LI This is the second item. .LI Here is a third. .LE' output=$(echo "$input" | "$groff" -mm -Tascii -P-cbou) echo "$output" # vim:set ai et sw=4 ts=4 tw=72: Longer term, we should so something smarter with these `C`-related annotations like "D\ R\ A\ F\ T" and "E\ N\ T\ W\ U\ R\ F"...namely, reduce them to ordinary words and set them with track kerning. That's what GNU _troff_'s `tkf` request is there fore. Just a musing. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?67830> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
