|
Grantlee 5.3.0
|
Interface for implementing an internationalization system. More...
#include <abstractlocalizer.h>

This class defines an interface for accessing an internationalization, such as QLocale/QTranslator or gettext/KLocale.
Definition at line 43 of file abstractlocalizer.h.
| Grantlee::AbstractLocalizer::AbstractLocalizer | ( | ) |
Constructor
|
virtual |
Destructor
|
pure virtual |
Returns the current locale as a string.
Implemented in Grantlee::QtLocalizer.
|
pure virtual |
Loads the catalog from path.
Implemented in Grantlee::QtLocalizer.
Processes the data in variant into a localized string.
The base implementation can localize numbers, dates and times, and strings.
|
pure virtual |
Localizes string, disambiguated by context with the specified arguments for substitution
Implemented in Grantlee::QtLocalizer.
|
pure virtual |
Localizes date with the specified formatType
Implemented in Grantlee::QtLocalizer.
|
pure virtual |
Localizes dateTime with the specified formatType
Implemented in Grantlee::QtLocalizer.
|
pure virtual |
Localizes value as a monetary value in the currency specified by currencyCode.
Implemented in Grantlee::QtLocalizer.
Localizes number
Implemented in Grantlee::QtLocalizer.
Localizes number
Implemented in Grantlee::QtLocalizer.
|
pure virtual |
Localizes string or its pluralForm, disambiguated by context with the specified arguments for substitution
Implemented in Grantlee::QtLocalizer.
|
pure virtual |
Localizes string or its pluralForm with the specified arguments for substitution
Implemented in Grantlee::QtLocalizer.
|
pure virtual |
Localizes string with the specified arguments for substitution
Implemented in Grantlee::QtLocalizer.
|
pure virtual |
Localizes time with the specified formatType
Implemented in Grantlee::QtLocalizer.
Makes this localizer use the previous locale for output.
Implemented in Grantlee::QtLocalizer.
Makes this localizer use the locale specified by localeName for output.
Implemented in Grantlee::QtLocalizer.
Unloads the catalog
Implemented in Grantlee::QtLocalizer.