One possible solution is to define your translations as a global variable on the window outside your script
<script>
var translations = {
notification: '@localizer["NotificationManage"]'
}
</script>
<script type="text/javascript" src="pathtoscript.js"></script>
then inside your script you go
alert(window.translations.notification);
If any better solution is given here I'm happy to hear, because we use it this way in production
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…