1GIT-SH-I18N(1) Git Manual GIT-SH-I18N(1)
2
3
4
6 git-sh-i18n - Git's i18n setup code for shell scripts
7
9 . "$(git --exec-path)/git-sh-i18n"
10
11
13 This is not a command the end user would want to run. Ever. This
14 documentation is meant for people who are studying the Porcelain-ish
15 scripts and/or are writing new ones.
16
17 The 'git sh-i18n scriptlet is designed to be sourced (using .) by Git’s
18 porcelain programs implemented in shell script. It provides wrappers
19 for the GNU gettext and eval_gettext functions accessible through the
20 gettext.sh script, and provides pass-through fallbacks on systems
21 without GNU gettext.
22
24 gettext
25 Currently a dummy fall-through function implemented as a wrapper
26 around printf(1). Will be replaced by a real gettext implementation
27 in a later version.
28
29 eval_gettext
30 Currently a dummy fall-through function implemented as a wrapper
31 around printf(1) with variables expanded by the git-sh-
32 i18n--envsubst(1) helper. Will be replaced by a real gettext
33 implementation in a later version.
34
36 Part of the git(1) suite
37
38
39
40Git 2.18.1 05/14/2019 GIT-SH-I18N(1)