Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • F1xxxer 2 posts 22 karma points
    Apr 27, 2010 @ 15:09
    F1xxxer
    0

    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.

  • 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.

Please Sign in or register to post replies