MV SRD Translation Engine in YEP Options Core

Hi! I'm trying to create a command in YEP Options Core (here) to add a Language change option.
SRD Translation Engine (this) has the chance to "change language" with a plugin command, but I wish to find a way to put this "change" into Yanfly Options Menu.
In this thread (the thread) is explained how to put the SRD Windowskin option in Yanfly options core, so I want to ask if someone could help me to do the same with the language plugin.

Thanks.
Plugin commands aside, the Translation Engine has an options setting built in - that doesn't work for you?
Plugin commands aside, the Translation Engine has an options setting built in - that doesn't work for you?
It works with default options menu, but I haven't a clue how to put it in Yanfly Options Core.
I saw in the linked page someone managed to put another SRD option (windowskin) in Yanfly Options Core, so I thought it could be possible do the same with this function too.
Here you go. It's mostly just copying the code from the options portion of the Translation Engine.

Symbol: language

Draw Option Code:
Code:
var rect = this.itemRectForText(index);
var statusWidth = this.statusWidth();
var titleWidth = rect.width - statusWidth;
this.resetTextColor();
this.changePaintOpacity(this.isCommandEnabled(index));
this.drawOptionsName(index);
let value = this.getConfigValue(symbol);
this.drawText(this.languageStatusText(value), titleWidth, rect.y, statusWidth, 'right');

Process OK:
Code:
this.incrementLanguage(this.getConfigValue(symbol), symbol);

Cursor Right:
Code:
this.incrementLanguage(this.getConfigValue(symbol), symbol);

Cursor Left:
Code:
this.decrementLanguage(this.getConfigValue(symbol), symbol);
Here you go. It's mostly just copying the code from the options portion of the Translation Engine.

Symbol: language

Draw Option Code:
Code:
var rect = this.itemRectForText(index);
var statusWidth = this.statusWidth();
var titleWidth = rect.width - statusWidth;
this.resetTextColor();
this.changePaintOpacity(this.isCommandEnabled(index));
this.drawOptionsName(index);
let value = this.getConfigValue(symbol);
this.drawText(this.languageStatusText(value), titleWidth, rect.y, statusWidth, 'right');

Process OK:
Code:
this.incrementLanguage(this.getConfigValue(symbol), symbol);

Cursor Right:
Code:
this.incrementLanguage(this.getConfigValue(symbol), symbol);

Cursor Left:
Code:
this.decrementLanguage(this.getConfigValue(symbol), symbol);
It works! Ty so much!

Original thread: https://forums.rpgmakerweb.com/threads/srd-translation-engine-in-yep-options-core.169087/