From ea90d0a5b1efe1d42372d1144bf515c4663744d6 Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Mon, 27 Oct 2025 13:43:42 +0100 Subject: [PATCH] ref-manual/variables.rst: document the USE_NLS variable Part of bitbake.conf, this variable allowing to enable or disable translation was undocumented. Add a entry to the glossary. Reviewed-by: Quentin Schulz (From yocto-docs rev: 380018c93b0aa4832985bf083620fabee96dda72) Signed-off-by: Antonin Godard (cherry picked from commit 92a55345a56b5038c0344669daaa7a3a99dd0fc0) Signed-off-by: Antonin Godard Signed-off-by: Steve Sakoman --- documentation/ref-manual/variables.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 635eea4525..6c461810dd 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -9573,6 +9573,18 @@ system and gives an overview of their function and contents. the Yocto Project Development Tasks Manual for information on how to use this variable. + :term:`USE_NLS` + Determine if language translations should be built for recipes that can + build them. This variable can be equal to: + + - ``yes``: translations are enabled. + - ``no``: translation are disabled. + + Recipes can use the value of this variable to enable language + translations in their build. Classes such as :ref:`ref-classes-gettext` + use the value of this variable to enable :wikipedia:`Gettext ` + support. + :term:`USE_VT` When using :ref:`SysVinit `,