-
Notifications
You must be signed in to change notification settings - Fork 8
Structuring your plugin
OsOmE1 edited this page Jan 5, 2021
·
3 revisions
Every class you want to translate should have a separate file or class with the appropriately named attribute.
All your translator classes should be in a folder called translators.
Then your plugin should look something like this.

public void PostProcessTypeModel(TypeModel model, PluginPostProcessTypeModelEventInfo info)
{
Helpers.Initialize(model);
Translator.StartTranslating(this);
info.IsDataModified = true;
}