Episerver 11 x, language xml path

Vote:
 

Hi,

Using the XML path to translate text works fine, when embedding resource in VS. Is it possible to point at an externally hosted XML file with correct or even added translatations?

#193708
Jun 04, 2018 12:40
Vote:
 
#193715
Jun 04, 2018 13:21
Vote:
 

you can even use XPath backed by database ;)

#193769
Jun 05, 2018 7:00
Vote:
 

Thank you, But my question is how do I point to another translation from/to an Add-On? So if I for instance would like to have it on a external CDN or similar? 

#193781
Jun 05, 2018 9:31
Vote:
 

Hey,

How do you imagine to use this from the add-on? From dojo or from C# code?

I think from dojo, you could have a js that you load as a dependency, take a look at this, I am loading a css, I don't know if js would be considered as a security issue: https://github.com/mariajemaria/FontAwesomeIconsDropdown/blob/master/ClientResources/Scripts/Editors/AwesomeSelectionEditor.js

BR,
Marija

#194624
Jun 26, 2018 18:27
Vote:
 

I would then at least consider how to workaround origin subresouce integrity for this case :) otherwise, as you said - it's security issue.

#194625
Jun 26, 2018 18:42
Vote:
 

Hi all,

Thank you.

The reason was actually most from the admin section, if we on the "fly" want to alter some text then it could be good to have it placed externally and then pull relevant text on load

#194647
Jun 27, 2018 10:21
Vote:
 

If you wanna change texts on fly, then I would look at for instance database driven localization provider (instead of xml files).

#194664
Jun 27, 2018 16:40