Copied to clipboard

Flag this post as spam?

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


  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jun 14, 2016 @ 13:38
    Ismail Mayat
    0

    Arabic english language code

    Guys,

    I have multilingual website. One of the markets is double language namely UAE so we have english and arabic. On the arabic root node the culture is set to ar-ae as picked from the dropdown. For english currently i have en-gb however i need actual language code for this did some digging but could not find anything.

    Anyone any ideas?

    Regards

    Ismail

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jun 15, 2016 @ 09:47
    Ismail Mayat
    0

    So in answer to my own question https://msdn.microsoft.com/en-us/library/ms172469(v=vs.90).aspx this could be a plan.

  • Mona 36 posts 106 karma points
    Jun 28, 2021 @ 09:18
    Mona
    0

    Dear Ismail, I have multilingual umbraco website, English is working fine and second language which i have created from Settings > Language is not working, showing message " 404 error, Sorry, the page you are looking for does not exist." i did changed the domain from Culture and Hostnames.

    Please assist for solution.

    Thanks

  • Vlael Layug 13 posts 115 karma points c-trib
    Aug 03, 2021 @ 07:09
    Vlael Layug
    0

    Hello Mona,

    Please create a new topic for your question or if you already have one can I have the reference?

    I am happy to help you with your problem.

  • Mona 36 posts 106 karma points
    Aug 03, 2021 @ 07:48
    Mona
    0

    Dear Vlael,

    Thanks for reply. Above issue regarding 404 error has been solved but i'm facing issue with secondary language which is Arabic. I need to add separate css for arabic language. It should be auto selected by language i.e. by selecting culture. If visitor select arabic lang arabic.css should be attached else english.css will remain work.

    I have no idea what and where should i write the script to auto detect the css file as per culture or language selected. Please assist.

    Following is the screenshot of master page.

    enter image description here

  • Vlael Layug 13 posts 115 karma points c-trib
    Aug 03, 2021 @ 08:16
    Vlael Layug
    0

    Hello Mona,

    Hmm. Here's an idea that should be possible(haven't tried it myself)

    In Umbraco Backoffice if you have something like a Site Settings composition you can create an additional field that is a textstring and varies by culture - let's call it "Stylesheet" for this context.

    What we can do is add the "/css/english.css" for EN and "/css/arabic.css" for Arabic in the content node.

    and then the implementation would look like:

    <link href="@Model.SiteSettings.Stylesheet" rel="stylesheet"/>
    

    /Vlael

  • Mona 36 posts 106 karma points
    Aug 03, 2021 @ 08:40
    Mona
    0

    Dear Vlael,

    Please check the following screenshots for compositions folder and assist me to create additional.

    enter image description here enter image description here

  • Vlael Layug 13 posts 115 karma points c-trib
    Aug 03, 2021 @ 08:52
    Vlael Layug
    0

    Hello Mona,

    I think this might be misleading to other people when they saw the thread.

    I'm happy to assist you but can you please create another topic for it?

    Or you can directly contact me - [email protected] or you can check my social media links in my profile. Thanks!

    /Vlael

  • Mona 36 posts 106 karma points
    Aug 03, 2021 @ 08:59
    Mona
    0

    i've sent email on your yahoo account, plz check.

Please Sign in or register to post replies

Write your reply to:

Draft