From 3e26346b5259b8f9c973a69eb47726c8aac2df71 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 11 Dec 2024 08:45:11 -0800 Subject: [PATCH] doc: document non-translation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * doc/gnulib-tool.texi (Localization): Say what to do if you don’t want translations. --- ChangeLog | 8 +++++++- doc/gnulib-tool.texi | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f558a22d4d..3a8e15beab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,16 @@ +2024-12-11 Paul Eggert + + doc: document non-translation + * doc/gnulib-tool.texi (Localization): + Say what to do if you don’t want translations. + 2024-12-10 Bruno Haible openat-die: Fix a gcc -Wformat -Wformat-security warning. * lib/openat-die.c (openat_save_fail, openat_restore_fail): Put the internationalized error message into non-format-string position. -2024-12-10 Simon Josefsson +2024-05-12 Simon Josefsson announce-gen: Mention git commit and tag in announcement. * build-aux/announce-gen (this_commit_hash): New variable. diff --git a/doc/gnulib-tool.texi b/doc/gnulib-tool.texi index 87134315c3..20ad1a3dc0 100644 --- a/doc/gnulib-tool.texi +++ b/doc/gnulib-tool.texi @@ -1083,6 +1083,12 @@ If your package has a @code{DEPENDENCIES} file, for the ease of installers and distributors, you should add the @samp{gnulib-l10n} dependency in this file. +If your package does not support localization, +you can simplify its build process by using +@code{gnulib-tool}'s @option{--avoid=gnulib-i18n} option. +The package need not call @code{bindtextdomain} or @code{textdomain}, +and all Gnulib-generated messages will be in American English. + Two older methods to use Gnulib localizations are deprecated: @itemize -- 2.39.5