Next: , Previous: GCC-source, Up: List of Programming Languages   [Contents][Index]


15.5.22 Lua

RPMs

lua

File extension

lua

String syntax
gettext shorthand

_("abc")

gettext/ngettext functions

gettext.gettext, gettext.dgettext, gettext.dcgettext, gettext.ngettext, gettext.dngettext, gettext.dcngettext

textdomain

textdomain function

bindtextdomain

bindtextdomain function

setlocale

automatic

Prerequisite

require 'gettext' or running lua interpreter with -l gettext option

Use or emulate GNU gettext

use

Extractor

xgettext

Formatting with positions

Portability

On platforms without gettext, the functions are not available.

po-mode marking