Can I use string entered in _locale / en / messages.json in the popup.js script file?
Can I use _locale/en/messages.json string in script file?
browser.i18n.getMessage(
messageName, // string
substitutions // optional any
)
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/i18n/getMessage