Greenbone Security Assistant
|
I18n support for Greenbone Security Assistant. More...
#include "gsad_i18n.h"
#include "gsad_base.h"
#include <assert.h>
#include <dirent.h>
#include <errno.h>
#include <glib.h>
#include <libintl.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
#include <locale.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
Macros | |
#define | _GNU_SOURCE |
#define | G_LOG_DOMAIN "gsad i18n" |
GLib log domain. More... | |
Functions | |
gchar * | accept_language_to_env_fmt (const char *accept_language) |
Convert an Accept-Language string to the LANGUAGE env variable form. More... | |
I18n support for Greenbone Security Assistant.
#define _GNU_SOURCE |
#define G_LOG_DOMAIN "gsad i18n" |
GLib log domain.
gchar* accept_language_to_env_fmt | ( | const char * | accept_language | ) |
Convert an Accept-Language string to the LANGUAGE env variable form.
Converts the language preferences as defined in a HTTP Accept-Language header to a colon-separated list of language codes as used by gettext in the LANGUAGE environment variable.
[in] | accept_language | HTTP Accept-Language header text. |