gettext: Lua

1 
1 15.5.22 Lua
1 -----------
1 
1 RPMs
1      lua
1 
1 File extension
1      ‘lua’
1 
1 String syntax
1 
1         • ‘"abc"’
1 
1         • ‘'abc'’
1 
1         • ‘[[abc]]’
1 
1         • ‘[=[abc]=]’
1 
1         • ‘[==[abc]==]’
1 
1         • ...
1 
1 gettext shorthand
1      ‘_("abc")’
1 
1 gettext/ngettext functions
1      ‘gettext.gettext’, ‘gettext.dgettext’, ‘gettext.dcgettext’,
1      ‘gettext.ngettext’, ‘gettext.dngettext’, ‘gettext.dcngettext’
1 
1 textdomain
1      ‘textdomain’ function
1 
1 bindtextdomain
1      ‘bindtextdomain’ function
1 
1 setlocale
1      automatic
1 
1 Prerequisite
1      ‘require 'gettext'’ or running lua interpreter with ‘-l gettext’
1      option
1 
1 Use or emulate GNU gettext
1      use
1 
1 Extractor
1      ‘xgettext’
1 
1 Formatting with positions
1      —
1 
1 Portability
1      On platforms without gettext, the functions are not available.
1 
1 po-mode marking
1      —
1