init method

Future<void> init()

Initialize i18n package

Implementation

Future<void> init () async {
  if (!await langDirectory.exists()) {
    throw Exception('Missing $folder folder');
  }

  registerLanguages();
  _walk(langDirectory);
}