Method

FlatpakInstallationget_default_languages

since: 1.5.0

Declaration [src]

char**
flatpak_installation_get_default_languages (
  FlatpakInstallation* self
  GError** error
)

Description [src]

Get the default languages used by the installation to decide which subpaths to install of locale extensions. This list may also be used by frontends like GNOME Software to decide which language-specific apps to display. An empty array means that all languages should be installed.

Available since: 1.5.0

Return value

Type: An array of utf8

A possibly empty array of strings, or NULL on error.

The array is NULL-terminated.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.
Each element is a NUL terminated UTF-8 string.