GLib.KeyFile.prototype.set_locale_string_list

function set_locale_string_list(group_name: String, key: String, locale: String, list: Array(String)): void {
    // Gjs wrapper for g_key_file_set_locale_string_list()
}
  

Associates a list of string values for key and locale under group_name. If the translation for key cannot be found then it is created.

Since 2.6

group_name

a group name

key

a key

locale

a locale identifier

list

a null-terminated array of locale string values