home
classes/clusters list
class information
+
Point of view
ANY
ANY
BUNDLE_FACTORY
TYPED_INTERNALS
INTERNALS_HANDLER
All features
expanded class INTERNATIONALIZATION
Summary
top
Use this class to format i18N'ed messages
Direct parents
insert list:
ANY
Overview
top
exported features
set_factory
(a_bundle_factory:
BUNDLE_FACTORY
)
Sets the bundle factory to use.
bundle_factory
:
BUNDLE_FACTORY
format
(bundle_name:
STRING
, key:
STRING
, parameters:
TRAVERSABLE
[
STRING
]):
STRING
Formats the value attached to the given
key
in the bundle knowned by its
bundle_name
(retrieved via the
bundle_factory
).
locale
:
LOCALE
The current locale
set_locale
(a_locale:
LOCALE
)
Change the locale
set_factory
(a_bundle_factory:
BUNDLE_FACTORY
)
once procedure
top
Sets the bundle factory to use.
Can be called only once.
require
a_bundle_factory /= Void
bundle_factory
= Void
ensure
bundle_factory
= a_bundle_factory
bundle_factory
:
BUNDLE_FACTORY
effective function
top
format
(bundle_name:
STRING
, key:
STRING
, parameters:
TRAVERSABLE
[
STRING
]):
STRING
effective function
top
Formats the value attached to the given
key
in the bundle knowned by its
bundle_name
(retrieved via the
bundle_factory
).
May always return the same string.
require
factory_set:
bundle_factory
/= Void
locale
:
LOCALE
effective function
top
The current locale
set_locale
(a_locale:
LOCALE
)
effective procedure
top
Change the locale