(gettext.info)Lua


Next: JavaScript Prev: GCC-source Up: List of Programming Languages
Enter node , (file) or (file)node

15.5.22 Lua
-----------

RPMs
     lua

File extension
     ‘lua’

String syntax

        • ‘"abc"’

        • ‘'abc'’

        • ‘[[abc]]’

        • ‘[=[abc]=]’

        • ‘[==[abc]==]’

        • ...

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
     —


automatically generated by info2www version 1.2.2.9