Unknown YCP Module |
clients/inst_language_add-on.ycp |
Template client for language Add-On products This is a template for Language Add-Ons. It can be either called from the installation.xml in the root ("/") of the product or called from command-line for testing purposes: `yast2 inst_language_add-on.ycp "$[]" url_to_add_on_source`. | |
|
|
This module has an unstable interface. |
Imports
Local Functions |
local
GetListOfSupportedLanguages (integer source)
->
list <string>
Returns the list of available languages. It is based on the "LINGUAS" entry in the /content file. Returns nil if something is wrong.
- Parameters:
-
source
- Return value:
-
supported languages (e.g., ["af", "ar", "be_BY", "bg", "ca", "cs", "cy", "da", "el", "et", "fi"])
local
Install (list <string> languages_to_install)
->
boolean
Solves dependencies and installs packages
- Parameters:
-
languages_to_install
local
InitFunction ()
->
void
Only when WFM::Args[1] contains an URL to be added