For future reference in case anyone finds this useful, I pulled out the very short snippet needed from the multilingual plugin into a separate plugin and it works fine for my use case:
// assets/javascripts/discourse/initializers/custom-locale-initializer.js.es6
import { withPluginApi } from 'discourse/lib/plugin-api';
import { default as discourseComputed } from "discourse-common/utils/decorators";
export default {
name: 'custom_locale',
initialize(container) {
const siteSettings = container.lookup("site-settings:main");
if (!siteSettings.custom_locale_disable_others) return;
withPluginApi('0.11.1', api => {
api.modifyClass('controller:preferences/interface', {
@discourseComputed()
availableLocales() {
return [
{ value: 'en', name: 'English' },
{ value: 'cust', name: 'My Custom Locale'},
]
}
});
});
}
}
Tags working again as expected, so I can confirm the problem is in the plugin. (Tried editing various references from /tags to /tag but was unsuccessful.)