I read this answer here.
Extension example : click here
It's perfect extension as I want. But, I need in M2.
But, I want to do translate like :
- If "Test" string comes from Abc_Test Module. Then, translate only working in Abc_Test module text.
- If "Test" string also available in Magento_Catalog Module. Then, translate text apply which assign in Magento_Catalog Module.
- If "Test" string also available in Magento_Catalog Module and set Area Frontend. Then, translate text apply only in frontend side which assign in Magento_Catalog Module.
How it works ?
Any help would be appriciated.