Interface QLocalizationType

All Known Subinterfaces:
QApplicationType, QCommandContextType
All Known Implementing Classes:
QApplication, QCommandContext, QLocalization

public interface QLocalizationType
A simple interface to localize QStringType values.
  • Method Details

    • localize

      String localize(QStringType string)
      Localize the given string.
      Parameters:
      string - The string
      Returns:
      The string
    • format

      String format(QStringType string, Object... arguments)
      Localize and format the given string. The localized string is treated as a format string, and formatted using MessageFormat.
      Parameters:
      string - The string
      arguments - The arguments
      Returns:
      The string