Copied to clipboard

Flag this post as spam?

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


  • shashidhar 5 posts 75 karma points
    Jan 05, 2023 @ 07:12
    shashidhar
    0

    How can I add new language ?

    Hi All,

    I would like to add new language like: Arabic (India), ISO code : ar-IN,

    enter image description here

    Thanks,

  • Huw Reddick 1932 posts 6722 karma points MVP 3x c-trib
    Jan 05, 2023 @ 09:13
    Huw Reddick
    0

    As far as I know, Umbraco just lists the languages available on your machine, so you would need to add that language to both your dev machine and server (this may not be possible) in order to use it.

    I was unable to determine if ar-IN is an official language-culture option as it can not be added to windows so may not be.

  • shashidhar 5 posts 75 karma points
    Jan 06, 2023 @ 10:06
    shashidhar
    0

    Thanks for reply,

    Can I override existing IsoCode ?

    ex: ar-LB to ar-IN

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 10x admin c-trib
    Jan 05, 2023 @ 09:22
    Dave Woestenborghs
    0

    Hi shashidhar,

    Umbraco get's the available cultures from your operating system. This is the code that get's all the available cultures : https://github.com/umbraco/Umbraco-CMS/blob/v11/contrib/src/Umbraco.Web.BackOffice/Controllers/LanguageController.cs#L39

    You can use the code from this fiddle in a console app to see if it is listed : https://dotnetfiddle.net/LbRVOJ

    I don't know how to fix it to be honest.

    Dave

  • shashidhar 5 posts 75 karma points
    Jan 06, 2023 @ 10:06
    shashidhar
    0

    Thanks for reply,

    Can I override existing IsoCode ?

    ex: ar-LB to ar-IN

  • 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