---
name: "Git::I18N"
section: "3pm"
platform: "linux"
package: "git-man"
version: "1:2.11.0-3+deb9u7"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Git::I18N"
---

# Git::I18N(3pm)

Perl interface to Git's Gettext localizations

## NAME

Git::I18N - Perl interface to Git's Gettext localizations

## SYNOPSIS

```
        use Git::I18N;
        print __("Welcome to Git!\n");
        printf __("The following error occurred: %s\n"), $error;
```

## DESCRIPTION

Git's internal Perl interface to gettext via Locale::Messages. If Locale::Messages can't be loaded (it's not a core module) we provide stub passthrough fallbacks.

This is a distilled interface to gettext, see `"info '(gettext)Perl'"` for the full interface. This module implements only a small part of it.

## FUNCTIONS

### \_\_($)

Locale::Messages's gettext function if all goes well, otherwise our passthrough fallback function.

## AUTHOR

Ævar Arnfjörð Bjarmason \<avarab@gmail.com\>

## COPYRIGHT

Copyright 2010 Ævar Arnfjörð Bjarmason \<avarab@gmail.com\>
