Move can_localize permission check logic from model to a separate permissions module, which will allow for easier code reuse.
This is never used
Move site-specific JS to site-specific block