---
name: "LedgerSMB::Template::TTI18N"
section: "3pm"
platform: "linux"
package: "ledgersmb"
version: "1.3.40-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/LedgerSMB::Template::TTI18N"
---

# LedgerSMB::Template::TTI18N(3pm)

Template Toolkit i18n support functions

## NAME

LedgerSMB::Template::TTI18N - Template Toolkit i18n support functions

## SYNOPSIS

Various functions for Template Toolkit templates for internationalisation support.

## METHODS

- \<?lsmb gettext(locale, 'string \[\_1\]', param) ?\>

  Output the gettext translation for the string in the given locale.  If locale is a LedgerSMB::Locale object, it uses it.  If it is a string, the locale is loaded, cached, and used.

## Copyright (C) 2007, The LedgerSMB core team.

This work contains copyrighted information from a number of sources all used with permission.

It is released under the GNU General Public License Version 2 or, at your  option, any later version.  See COPYRIGHT file for details.  For a full list  including contact information of contributors, maintainers, and copyright  holders, see the CONTRIBUTORS file.
