i18n-plugin
Toggle table of contents
1.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
i18n-plugin
i18n-plugin
/
io.github.octaviusframework.i18n
/
TrGenerator
Tr
Generator
internal
class
TrGenerator
(
packageName
:
String
,
objectName
:
String
)
Generates the main Tr.kt file with registry and type-safe accessors.
Members
Constructors
Tr
Generator
Link copied to clipboard
constructor
(
packageName
:
String
,
objectName
:
String
)
Functions
generate
Link copied to clipboard
fun
generate
(
entries
:
Map
<
String
,
TranslationEntry
>
,
defaultLang
:
String
,
allLangs
:
List
<
String
>
)
:
String