Board Thread:Support Requests - Getting Technical/@comment-3279487-20161002201337

Hi, I need to retrieve the localized namespace name with javascript without being on a page on that namespace. Basically, I need to know how the namespace is called on the wiki I'm on (in my case, it's the "template" namespace). I know that I can do that with API but I don't know how to use it. Thank you. 