libxfce4util Reference Manual |
---|
i18n — Internationalization and Localization Support Functions
#include <libxfce4util/libxfce4util.h> #define _ (s) #define N_ (s) #define xfce_textdomain (package, localedir, encoding) #define textdomain (s) #define gettext (s) #define dgettext (domain,s) #define dcgettext (domain,s,type) #define bindtextdomain (domain,directory) gchar* xfce_get_file_localized (const gchar*); gchar* xfce_get_dir_localized (const gchar*); gchar* xfce_get_file_localized_r (gchar*, gsize, const gchar*); gchar* xfce_get_dir_localized_r (gchar*, gsize, const gchar*); gchar* xfce_get_path_localized (gchar*, gsize, const gchar*, const gchar*, GFileTest);
#define xfce_textdomain(package, localedir, encoding)
package : | |
localedir : | |
encoding : |
gchar* xfce_get_file_localized (const gchar*);
xfce_get_file_localized is deprecated and should not be used in newly-written code.
Param1 : | |
Returns : |
gchar* xfce_get_dir_localized (const gchar*);
xfce_get_dir_localized is deprecated and should not be used in newly-written code.
Param1 : | |
Returns : |
gchar* xfce_get_file_localized_r (gchar*, gsize, const gchar*);
xfce_get_file_localized_r is deprecated and should not be used in newly-written code.
Param1 : | |
Param2 : | |
Param3 : | |
Returns : |
gchar* xfce_get_dir_localized_r (gchar*, gsize, const gchar*);
xfce_get_dir_localized_r is deprecated and should not be used in newly-written code.
Param1 : | |
Param2 : | |
Param3 : | |
Returns : |
gchar* xfce_get_path_localized (gchar*, gsize, const gchar*, const gchar*, GFileTest);
paths is a ':'-separated list of pathnames.
F - The filename L - The language string, as returned by setlocale(LC_MESSAGES, NULL) l - The language component of the language string N - application name
Example paths:
/usr/local/lib/L/F:/usr/local/share/N/l/F
Param1 : | |
Param2 : | |
Param3 : | |
Param4 : | |
Param5 : | |
Returns : |
<< Xfce Fundamentals | Xfce Utilities >> |