Snippet (locale / Multilingual) not working in ExtJs file

Hello All, Sorry for posting question in English as i don’t know german, I am in great need of your help. I have created backend plugin, i am facing issue in snippet. Snippet perfectly works in .tpl file likes index.tpl but when i use {S name=„locale_id“}sample value{/s} tag in .js file it render as text instead of smarty variable, means shopware unable to recognize {s} as smarty tag and display it as text on screen. I am already defining name space as ‚//{namespace name=„backend/dt_customer_center/view/main“}‘, but it render it as text instead of taking locale value from .ini file. Please help me out.