Back in the 1.7 days and prior (a long time ago, I know), there used to be a way to load an external lang file, with its map of translations, into the game.
For example, I would have a file in the config folder that would be labeled and (just for clarity to the end user) given the extension .lang.
Using the line
LanguageRegistry.instance().loadLocalization(file.toURI().toURL(),"en_US",false);
// I understand that it's a sloppy line, but you get the gist of the use of the loadLocalization function
I could load a file of translations into the en_US language in the game.
Is there a contemporary equivalent that I could use in order to achieve the same result? If not, how would I go about doing this? Would I need to create a new ResourcePack and load that in?
Thanks in advance!