Abstract
The code is licenced under the LLGPLDownload shortcut: http://github.com/krzysz00/cl-gettext.
[Function]
bind-textdomain-codeset __domainname __codeset => result
Set the encoding for the strings stored in `__domain'. You normally don't need to call this, as the locale contains this information a;ready.
[Function]
bindtextdomain __domainname __dirname => result
Specify what directory the `textdomain' resides under. On Linux systems, this is usually "/usr/share/locale".
[Function]
gettext __msgid => result
Get the translation (if any) of `__msgid', which is a string
[Function]
init-gettext textdomain directory &optional locales => result
Wrapper for the series of calls needed to initialize gettext. `textdomain' holds the $foo part of $foo.mo . `directory' is where the .mo files will be stores. `locales' is a list of locale categories to initialize with `setlocale' if `lc-all' doesn't work for you.
[Constant]
lc-address
A locale category.
[Constant]
lc-all
A locale category. This category is the one which is most often used (and the default when initializing `cl-gettext')
[Constant]
lc-collate
A locale category.
[Constant]
lc-ctype
A locale category.
[Constant]
lc-identification
A locale category.
[Constant]
lc-measurement
A locale category.
[Constant]
lc-messages
A locale category.
[Constant]
lc-monetary
A locale category.
[Constant]
lc-name
A locale category.
[Constant]
lc-numeric
A locale category.
[Constant]
lc-paper
A locale category.
[Constant]
lc-telephone
A locale category.
[Constant]
lc-time
A locale category.
[Function]
localeconv => result
Returns an `lconv' structure with the information applicable for the current locale.
[Function]
ngettext __msgid1 __msgid2 __n => result
The plural version of `gettext' The first string should be the return value for n == 1, and the second string the value for n != 1. The third argument is n. Use this instead of an `if' because other languages have more or less than two branches for plurals, and this function allows translators to specify the plurals for their language.
[Function]
setlocale __category __locale => result
Set a locale category to the locale given in `__locale'. If __locale is "", the current system setting will be used.
[Function]
textdomain __domainname => result
Set the textdomain for the application. The textdomain is the name (before the dot) of your project's .mo files
[Macro]
_ string => result
Shorthand for `(gettext string)'
[Macro]
_noop string => result
A noop macro to mark translatable strings in places where the call to `gettext' would be evaluated too early. See the C documentation for details on this.
This documentation was prepared with DOCUMENTATION-TEMPLATE.