Developer Forum
How to exclude localize from translating an angular widget that launches from our website
We launch an angular widget which has its own translating capabilities and would like to exclude this from our website from being detected by the localize script. Using a notranslate attribute or ignore attribute have been tried and do not work. We notice the widget application becomes extremely slow to respond when the localize script is active.
Please suggest a solution to exclude the angular widget from being detected/operated on by the localize script altogether.
Regards,
Santosh
Posted by Santhosh Ghante about 2 months ago
Unable to write Unit test cases for Localize methods and its failed with issue
I have used localizejs on my Angular project and I started writing unit test cases for all my components but it failed with the below error as Localize global variable is found undefined on spec files.
Error:
ReferenceError: Localize is not defined
Let me know if I am doing any wrong implementation of my test cases in respect to Localize.
Thanks
Posted by Dhanesh Gosai 10 months ago
The Whole Page Does Not Translate Until a Page Reload
When we switch from English to French, some pages do not completely translate until the page is refresh. Once that is done, it then will be translated when the page is revisited.
Is there a way to make sure the whole page translates w/o a page reload?
Posted by Thomas Mason over 2 years ago