*/
public function get_list_of_countries();
+ /**
+ * Returns a localised list of languages defined by ISO 639-3
+ * @return array three-letter language code => translated name.
+ */
+ public function get_list_of_languages();
+
/**
* Returns localised list of installed translations
* @param bool $returnall return all or just enabled
return $this->load_component_strings('countries', $lang);
}
+ /**
+ * Returns a localised list of languages defined by ISO 639-3
+ * @return array three-letter language code => translated name.
+ */
+ public function get_list_of_languages() {
+ //TODO: import ISO 639-3 lang codes to en lang pack and return it here
+ return array();
+ }
+
/**
* Returns localised list of installed translations
* @param bool $returnall return all or just enabled
* @return array two-letter country code => translated name.
*/
public function get_list_of_countries() {
+ //not used in installer
+ return array();
+ }
+
+ /**
+ * Returns a localised list of languages defined by ISO 639-3
+ * @return array three-letter language code => translated name.
+ */
+ public function get_list_of_languages() {
+ //not used in installer
return array();
}