Copied to clipboard

Flag this post as spam?

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

  • sami 8 posts 108 karma points
    Dec 04, 2019 @ 12:11

    Arabic Language Website in umbraco 8.0

    In Multi language.. For arabic language website we have different themes, css like right to left contents, so how to achieve this in umbraco 8. since we add languages in the umbraco back office but only contents get changes not the style, so is there any way to specify different master pages or styles for English and Arabic

    English arabic example site

  • Saif Obeidat 79 posts 296 karma points
    Dec 10, 2019 @ 10:14
    Saif Obeidat

    Hi Sami,

    You just to need to check the current culture and based on it you include the needed stylesheet.

    it's something like this:

      @if (Umbraco.CultureDictionary.Culture.ToString() == "ar-JO")
        <link href="~/css/Main Styles/styles-ar.min.css" rel="stylesheet" />
        <link href="~/css/Main Styles/styles.min.css" rel="stylesheet" />

    Include the above code in the head of master

Please Sign in or register to post replies

Write your reply to: