Developer forum

Forum » Development » Use translation outside template

Use translation outside template

Kurt Moskjær Andersen
Kurt Moskjær Andersen
Reply

Hi,

I'm creating an addin to create a couple of PDF-files for download.

Is it possible to use the Dynamicweb.Rendering.Translation.Translation.GetTranslation without a design template, as my addin won't have any frontend, but will only run as a scheduled task?

--
Best regards
Kurt Moskjaer Andersen 


Replies

 
Nicolai Pedersen
Reply

Hi Kurt.

Maybe - give it the parameters it requires - it needs a desing folder and regional information to find the right translation.

BR Nicolai

 

You must be logged in to post in the forum