How to change regional settings in Linux, including decimal point

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I was on Linux Mint, now I'm trying Ubuntu 18 main distro. At top of Gnome day of week/time is displayed. That's where I started, wanting to change it to English having set regional to Russian via GUI, as by the way I noticed time zone changes if I changed regional to US.
I've read and tried this: https://askubuntu.com/questions/754345/how-to-get-current-or-set-wanted-regional-format-in-the-terminal/754355#754355



Strangely, after sudo update-locale LC_TIME=en_CA.UTF-8 and even restart of PC, /etc/default/locale has CA, but locale in bash gives RU. And day of week on top of screen is in Russian still. Why different in file and by command? How to change language on top of screen, is it some short date variable, where to find it?



As extension to above, is it possible and how to change decimal point and thousand separator each individually to what I like?







share|improve this question



















  • These are the steps I'd expect to follow - thomas-krenn.com/en/wiki/Configure_Locales_in_Ubuntu.
    – slm♦
    Jul 5 at 9:42















up vote
1
down vote

favorite












I was on Linux Mint, now I'm trying Ubuntu 18 main distro. At top of Gnome day of week/time is displayed. That's where I started, wanting to change it to English having set regional to Russian via GUI, as by the way I noticed time zone changes if I changed regional to US.
I've read and tried this: https://askubuntu.com/questions/754345/how-to-get-current-or-set-wanted-regional-format-in-the-terminal/754355#754355



Strangely, after sudo update-locale LC_TIME=en_CA.UTF-8 and even restart of PC, /etc/default/locale has CA, but locale in bash gives RU. And day of week on top of screen is in Russian still. Why different in file and by command? How to change language on top of screen, is it some short date variable, where to find it?



As extension to above, is it possible and how to change decimal point and thousand separator each individually to what I like?







share|improve this question



















  • These are the steps I'd expect to follow - thomas-krenn.com/en/wiki/Configure_Locales_in_Ubuntu.
    – slm♦
    Jul 5 at 9:42













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I was on Linux Mint, now I'm trying Ubuntu 18 main distro. At top of Gnome day of week/time is displayed. That's where I started, wanting to change it to English having set regional to Russian via GUI, as by the way I noticed time zone changes if I changed regional to US.
I've read and tried this: https://askubuntu.com/questions/754345/how-to-get-current-or-set-wanted-regional-format-in-the-terminal/754355#754355



Strangely, after sudo update-locale LC_TIME=en_CA.UTF-8 and even restart of PC, /etc/default/locale has CA, but locale in bash gives RU. And day of week on top of screen is in Russian still. Why different in file and by command? How to change language on top of screen, is it some short date variable, where to find it?



As extension to above, is it possible and how to change decimal point and thousand separator each individually to what I like?







share|improve this question











I was on Linux Mint, now I'm trying Ubuntu 18 main distro. At top of Gnome day of week/time is displayed. That's where I started, wanting to change it to English having set regional to Russian via GUI, as by the way I noticed time zone changes if I changed regional to US.
I've read and tried this: https://askubuntu.com/questions/754345/how-to-get-current-or-set-wanted-regional-format-in-the-terminal/754355#754355



Strangely, after sudo update-locale LC_TIME=en_CA.UTF-8 and even restart of PC, /etc/default/locale has CA, but locale in bash gives RU. And day of week on top of screen is in Russian still. Why different in file and by command? How to change language on top of screen, is it some short date variable, where to find it?



As extension to above, is it possible and how to change decimal point and thousand separator each individually to what I like?









share|improve this question










share|improve this question




share|improve this question









asked Jul 5 at 7:45









Alexei Martianov

23211




23211











  • These are the steps I'd expect to follow - thomas-krenn.com/en/wiki/Configure_Locales_in_Ubuntu.
    – slm♦
    Jul 5 at 9:42

















  • These are the steps I'd expect to follow - thomas-krenn.com/en/wiki/Configure_Locales_in_Ubuntu.
    – slm♦
    Jul 5 at 9:42
















These are the steps I'd expect to follow - thomas-krenn.com/en/wiki/Configure_Locales_in_Ubuntu.
– slm♦
Jul 5 at 9:42





These are the steps I'd expect to follow - thomas-krenn.com/en/wiki/Configure_Locales_in_Ubuntu.
– slm♦
Jul 5 at 9:42











1 Answer
1






active

oldest

votes

















up vote
0
down vote













As for message on top of screen, below are steps, for example for Russian Federation:



1) edit /usr/share/i18n/locales/ru_RU (e.g. by sudo nautilus)



change abday line to



abday "Sun";"Mon";"Tue";"Wed";"Thu";"Fri";"Sat"



2) bash $ sudo locale-gen ru_RU.UTF-8



3) set format in settings to Russian Federation (here first I wanted to make my own locale, but could not find how to make new territory so it appears in list in settings, e.g. in /usr/share/i18n/locales/ru_RU territory "Russia", but settings say Russian Federation - please somebody edit or comment how it can be done)



4) re-login



For decimal I changed it in /usr/share/i18n/locales/ru_RU, it is seen correctly in Ubuntu format settings, however does not work in LibreOffice calc for unknown to me reason.






share|improve this answer























    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f453544%2fhow-to-change-regional-settings-in-linux-including-decimal-point%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    As for message on top of screen, below are steps, for example for Russian Federation:



    1) edit /usr/share/i18n/locales/ru_RU (e.g. by sudo nautilus)



    change abday line to



    abday "Sun";"Mon";"Tue";"Wed";"Thu";"Fri";"Sat"



    2) bash $ sudo locale-gen ru_RU.UTF-8



    3) set format in settings to Russian Federation (here first I wanted to make my own locale, but could not find how to make new territory so it appears in list in settings, e.g. in /usr/share/i18n/locales/ru_RU territory "Russia", but settings say Russian Federation - please somebody edit or comment how it can be done)



    4) re-login



    For decimal I changed it in /usr/share/i18n/locales/ru_RU, it is seen correctly in Ubuntu format settings, however does not work in LibreOffice calc for unknown to me reason.






    share|improve this answer



























      up vote
      0
      down vote













      As for message on top of screen, below are steps, for example for Russian Federation:



      1) edit /usr/share/i18n/locales/ru_RU (e.g. by sudo nautilus)



      change abday line to



      abday "Sun";"Mon";"Tue";"Wed";"Thu";"Fri";"Sat"



      2) bash $ sudo locale-gen ru_RU.UTF-8



      3) set format in settings to Russian Federation (here first I wanted to make my own locale, but could not find how to make new territory so it appears in list in settings, e.g. in /usr/share/i18n/locales/ru_RU territory "Russia", but settings say Russian Federation - please somebody edit or comment how it can be done)



      4) re-login



      For decimal I changed it in /usr/share/i18n/locales/ru_RU, it is seen correctly in Ubuntu format settings, however does not work in LibreOffice calc for unknown to me reason.






      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        As for message on top of screen, below are steps, for example for Russian Federation:



        1) edit /usr/share/i18n/locales/ru_RU (e.g. by sudo nautilus)



        change abday line to



        abday "Sun";"Mon";"Tue";"Wed";"Thu";"Fri";"Sat"



        2) bash $ sudo locale-gen ru_RU.UTF-8



        3) set format in settings to Russian Federation (here first I wanted to make my own locale, but could not find how to make new territory so it appears in list in settings, e.g. in /usr/share/i18n/locales/ru_RU territory "Russia", but settings say Russian Federation - please somebody edit or comment how it can be done)



        4) re-login



        For decimal I changed it in /usr/share/i18n/locales/ru_RU, it is seen correctly in Ubuntu format settings, however does not work in LibreOffice calc for unknown to me reason.






        share|improve this answer















        As for message on top of screen, below are steps, for example for Russian Federation:



        1) edit /usr/share/i18n/locales/ru_RU (e.g. by sudo nautilus)



        change abday line to



        abday "Sun";"Mon";"Tue";"Wed";"Thu";"Fri";"Sat"



        2) bash $ sudo locale-gen ru_RU.UTF-8



        3) set format in settings to Russian Federation (here first I wanted to make my own locale, but could not find how to make new territory so it appears in list in settings, e.g. in /usr/share/i18n/locales/ru_RU territory "Russia", but settings say Russian Federation - please somebody edit or comment how it can be done)



        4) re-login



        For decimal I changed it in /usr/share/i18n/locales/ru_RU, it is seen correctly in Ubuntu format settings, however does not work in LibreOffice calc for unknown to me reason.







        share|improve this answer















        share|improve this answer



        share|improve this answer








        edited Jul 5 at 12:52


























        answered Jul 5 at 12:40









        Alexei Martianov

        23211




        23211






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f453544%2fhow-to-change-regional-settings-in-linux-including-decimal-point%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay