create

fun create(plugin: Plugin, dir: File): I18N

Creates or retrieves an I18N instance for the specified plugin.

Return

The I18N instance associated with the plugin

Parameters

plugin

The plugin for which to create the I18N instance

dir

The directory containing locale files