I'd also have a look at some of the implementations from that era of extjs like : https://blog.thoughtwizards.com/2018/05/12/extjs-i18n-keys-translations-loaded-from-remote-endpoint/