TrGenerator

internal class TrGenerator(packageName: String, objectName: String)

Generates the main Tr.kt file with registry and type-safe accessors.

Constructors

Link copied to clipboard
constructor(packageName: String, objectName: String)

Functions

Link copied to clipboard
fun generate(entries: Map<String, TranslationEntry>, defaultLang: String, allLangs: List<String>): String