---
name: "Locale::Messages::Debug"
section: "3pm"
platform: "linux"
package: "perl-libintl-perl"
version: "1.37-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Locale::Messages::Debug"
---

# Locale::Messages::Debug(3pm)

Debug libint-perl Features

## NAME

Locale::Messages::Debug - Debug libint-perl Features

## SYNOPSIS

```
 use Locale::Messages::Debug;
```

## DESCRIPTION

Message translation with libintl-perl relies on a correct setup and to a certain extent on features of the operating system.  There are many things  that can go wrong.  This module aims to help you, when problems occur.  It is not meant to be used in production code!

The module was introduced with libintl-perl version 1.30.

## FUNCTIONS

The module exports by default nothing.  Every function has to be imported explicitely.

- **debug\_gettext MSGID**

  Tries to retrieve a translation for **MSGID**.

  The function returns a list of hints in string form or the same list as  one new-line separated string in scalar context;

  Example:

  ```
      my @hints = debug_gettext "Hello, world!";
      foreach my $hint (@hints) {
          print "hint\n";
      }
  ```

## AUTHOR

Copyright (C) 2002-2026 Guido Flohr \<http://www.guido-flohr.net/\> (\<mailto:guido.flohr@cantanea.com\>), all rights reserved.  See the source code for details!code for details!

## SEE ALSO

[**Locale::Messages**(3pm)](/Locale::Messages/3pm.md), [**Locale::TextDomain**(3pm)](/Locale::TextDomain/3pm.md), [**Locale::gettext\_pp**(3pm)](/Locale::gettext_pp/3pm.md), [**Encode**(3pm)](/Encode/3pm.md), **perllocale**(3pm), [**POSIX**(3pm)](/POSIX/3pm.md), [**perl**(1)](/perl/1.md), [**gettext**(1)](/gettext/1.md), [**gettext**(3)](/gettext/3.md)

## POD ERRORS

Hey! **The above document had some coding errors, which are explained below:**

- Around line 187:

  You forgot a '=back' before '=head1'
