deferred class GNU_GET_TEXT
Summary
Class invariant
Overview
features
  • text_domain: STRING
    The default text domain (namespace in which messages are looked up)
  • init
    Initialise with default values.
init_in_default_directory
effective procedure
Initialise with default values.
init_in_current_working_directory
effective procedure
Initialise with default values.
translation (message: STRING): STRING
effective function
Translation of message into current locale
The translation is looked up in the default text domain.
number_translation (message_1: STRING, message_other: STRING, n: INTEGER_32): STRING
effective function
domain_translation (domain_name: STRING, message: STRING): STRING
effective function
Translation of message into current locale
The translation is looked up in the text domain domain_name.
domain_number_translation (domain_name: STRING, message_1: STRING, message_other: STRING, n: INTEGER_32): STRING
effective function
register_domain (domain_name: STRING)
effective procedure
Used by a FILTER_GET_TEXT to let the filtered GET_TEXT know that it will use the text domain domain_name.
set_environment_variable (variable: STRING, value: STRING)
effective procedure
Try to assign the value to the system environment variable (like SYSTEM.set_environment_variable).
set_message_locale (locale_name: STRING)
effective procedure
Set the locale (roughly, the language) in which the program should output messages.
set_default_message_locale
effective procedure
Try to read the default locale in the environment (environment variable, register, ...)
message_locale: STRING
effective function
The locale (roughly, the language) in which the program should output messages.
is_message_locale_set: BOOLEAN
effective function
set_text_domain
effective procedure
is_text_domain_set: BOOLEAN
effective function
Was a default text domain set?
bind_text_domain (domain_name: STRING, dir_name: STRING)
effective procedure
The message catalog for domain domain_name will be looked for in directory dir_name.
text_domain_binding (domain_name: STRING): STRING
effective function
In which directory will the message catalog for domain domain_name be looked for?
is_text_domain_bound (domain_name: STRING): BOOLEAN
effective function
bind_text_domain_code_set (domain_name: STRING, code_set: STRING)
effective procedure
text_domain_code_set (domain_name: STRING): STRING
effective function
The encoding of the Result of xxx_translation
is_text_domain_set_up (domain_name: STRING): BOOLEAN
effective function
Is Current ready to translate messages from domaine domain_name?
notify_change
effective procedure
lc_messages: INTEGER_32
lc_all: INTEGER_32
basic_textdomain (domain_name: POINTER): POINTER
basic_gettext (msgid: POINTER): POINTER
basic_dgettext (domain_name: POINTER, msgid: POINTER): POINTER
basic_bind_textdomain_codeset (domainname: POINTER, codeset: POINTER): POINTER
basic_ngettext (msgid1: POINTER, msgid2: POINTER, n: INTEGER_32): POINTER
basic_dngettext (domain: POINTER, msgid1: POINTER, msgid2: POINTER, n: INTEGER_32): POINTER
basic_bindtextdomain (domain_name: POINTER, dir_name: POINTER): POINTER
basic_setlocale (category: INTEGER_32, locale: POINTER): POINTER
default_message_catalog_directory: STRING
writable attribute
text_domain: STRING
deferred function
The default text domain (namespace in which messages are looked up)
init
effective procedure
Initialise with default values.
is_real_singleton: BOOLEAN
effective function
singleton_memory_pool: HASHED_DICTIONARY[POINTER, STRING]
once function
This pool is unique in the whole system.
current_is_not_an_expanded_type: BOOLEAN
effective function
Check that the dynamic type of the SINGLETON is not an expanded type.