blob: 6e4600239adb4143c1620ab71afeecfe9e7d4e26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>I18n.init - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.i18n</a> / <a href="index.html">I18n</a> / <a href="./init.html">init</a><br/>
<br/>
<h1>init</h1>
<a name="pl.treksoft.kvision.i18n.I18n$init(kotlin.Array((kotlin.String)), kotlin.Function0((kotlin.Unit)))"></a>
<code><span class="keyword">fun </span><span class="identifier">init</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.i18n.I18n$init(kotlin.Array((kotlin.String)), kotlin.Function0((kotlin.Unit)))/languages">languages</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.i18n.I18n$init(kotlin.Array((kotlin.String)), kotlin.Function0((kotlin.Unit)))/initCallback">initCallback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>I18n initialization function.
Should be called in the main function of the application.</p>
<h3>Parameters</h3>
<p><a name="languages"></a>
<code>languages</code> - a list of supported languages.</p>
<p><a name="initCallback"></a>
<code>initCallback</code> - a code to run after the initialization process is complete.</p>
</BODY>
</HTML>
|