Home2L - C/C++ API v1.4-0-g38cc (2024-05-25)
Smart Tools for a Private Home
Macros | Functions
Language

Description

Localization and translation.

Localization and translation is typically supported in GUI programs of the Home2L suite only. Command-line tools should always revert to the locale "C".

Collaboration diagram for Language:

Macros

#define _(STR)   gettext(STR)
 GNU gettext-compliant macro for translating strings.
 
#define N_(STR)   gettext_noop(STR)
 GNU gettext-compliant macro for translating strings.
 

Functions

void LangTranslateNumber (char *str)
 Adapt numeric string by replacing all '.' by the locale's decimal point.