Root site collection of SharePoint online is not accessing language file

Copper Contributor

I have developed front-end of application is in Angular 6 and I have used multilingual file(with ngx translate library of angular). I have configured application with SharePoint Online. 
Its accessing language file in all site collections but in root site collection its throwing error I have given path of application in Element.XML and also included file in project but it says 404 error. It goes on wrong path only in root site collection.

 

Path which I gave in Element.xml

<File Path="Scripts\dist\assets\i18n\en.txt" Url="Scripts/dist/assets/i18n/en-Legal.txt" ReplaceContent="TRUE" />

 

image.png

0 Replies