InnoSetupLanguage constructor

InnoSetupLanguage(
  1. String name
)

Defines a language in Inno Setup. Example: -

final japanese = InnoSetupLanguage('japanese');

This generates language header as,

Name: "japanese"; MessagesFile: "compiler:Languages\Japanese.isl"

Implementation

InnoSetupLanguage(this.name)
    : file = File('$protocol:Languages\\${toFile(name)}');