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 <quentin.schulz@cherry.de>
(From yocto-docs rev: 675b776390c8079deb8f1912dac44b574688a9c7)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 92a55345a56b5038c0344669daaa7a3a99dd0fc0)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Antonin Godard
2025-10-27 13:43:42 +01:00
committed by Steve Sakoman
parent 121ce25859
commit 448d31c10b

View File

@@ -10325,6 +10325,18 @@ system and gives an overview of their function and contents.
the Yocto Project Development Tasks Manual for information on how to the Yocto Project Development Tasks Manual for information on how to
use this variable. 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 <Gettext>`
support.
:term:`USE_VT` :term:`USE_VT`
When using When using
:ref:`SysVinit <dev-manual/new-recipe:enabling system services>`, :ref:`SysVinit <dev-manual/new-recipe:enabling system services>`,