Copied to clipboard

Flag this post as spam?

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


  • hilal 2 posts 71 karma points
    Sep 20, 2015 @ 15:56
    hilal
    0

    I want to set class according to Language

    Hi,

    I have a website by Umbraco v.6.0.5

    In a cshtml file, i want to set class according to language, but i didnt it.

    I want to do like that:

    if (languge == "tr")

    @item.description

    else

    @item.description

    Can you help me?

    Thanks, Best Regards

  • hilal 2 posts 71 karma points
    Sep 20, 2015 @ 15:58
    hilal
    0

    Sorry,

    i attached my code.enter image description here

Please Sign in or register to post replies

Write your reply to:

Draft