EDMarketConnector icon indicating copy to clipboard operation
EDMarketConnector copied to clipboard

Support Translation Language Override

Open aussig opened this issue 1 year ago • 0 comments

Describe the enhancement

As a plugin author, I have a requirement to temporarily override the EDMC language with a different language for translating certain strings.

Expected behavior

The l10n.Translations.translate() function should take a parameter for overriding the language.

Considered workarounds

With assistance from @Rixxan, I have written a function in my plugin that does this, but think this could be a useful enhancement to contribute to the wider EDMC project, so available to all plugin authors.

Additional context

I intend to submit a PR to add this functionality.

aussig avatar Mar 31 '24 17:03 aussig