3 .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
7 .\" Source: Git 2.40.0.rc2
10 .TH "GIT\-SH\-I18N" "1" "03/06/2023" "Git 2\&.40\&.0\&.rc2" "Git Manual"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 git-sh-i18n \- Git\(aqs i18n setup code for shell scripts
35 \fI\&. "$(git \-\-exec\-path)/git\-sh\-i18n"\fR
40 This is not a command the end user would want to run\&. Ever\&. This documentation is meant for people who are studying the Porcelain\-ish scripts and/or are writing new ones\&.
42 The \(aqgit sh\-i18n scriptlet is designed to be sourced (using \fB\&.\fR) by Git\(cqs porcelain programs implemented in shell script\&. It provides wrappers for the GNU \fBgettext\fR and \fBeval_gettext\fR functions accessible through the \fBgettext\&.sh\fR script, and provides pass\-through fallbacks on systems without GNU gettext\&.
47 Currently a dummy fall\-through function implemented as a wrapper around
48 \fBprintf(1)\fR\&. Will be replaced by a real gettext implementation in a later version\&.
53 Currently a dummy fall\-through function implemented as a wrapper around
55 with variables expanded by the
56 \fBgit-sh-i18n--envsubst\fR(1)
57 helper\&. Will be replaced by a real gettext implementation in a later version\&.
61 Part of the \fBgit\fR(1) suite