Hi dudes. I'm making multilingual site and i'm using this manual. All seems fine and i did all steps, but i can't use dictionary items, like in chapter 7 of that manual. I've created dll, added an extencion to the \config\xsltExtensions.config file and added the namespace declaration in the stylesheet element. In a word i did all and all was fine, but when i'm trying to use "translate" function of included DLL <xsl:value-of select="kv_trans:translate('test',string($dlang))"
/>, i'm receiving error message - Error occured
System.NullReferenceException:
Object reference not set to an instance of an object.
at kraftvaerk.umbraco.Translations.translate(String key, String
language)
I can't debug the application and i don't know how to catch the error :(
Does anyone know how to solve this problem? will be
very grateful for the solution.
Multilingual 1:1 sites
Hi dudes. I'm making multilingual site and i'm using this manual. All seems fine and i did all steps, but i can't use dictionary items, like in chapter 7 of that manual. I've created dll, added an extencion to the \config\xsltExtensions.config file and added the namespace declaration in the stylesheet element. In a word i did all and all was fine, but when i'm trying to use "translate" function of included DLL <xsl:value-of select="kv_trans:translate('test',string($dlang))" />, i'm receiving error message - Error occured
System.NullReferenceException: Object reference not set to an instance of an object.
at kraftvaerk.umbraco.Translations.translate(String key, String language)
I can't debug the application and i don't know how to catch the error :(
Does anyone know how to solve this problem? will be very grateful for the solution.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.