Mojave Mystery

Discussion in 'UI Customization' started by Fereous, Mar 25, 2019.

Tags:
  1. Fereous, Mar 25, 2019
    Last edited: Mar 25, 2019

    Fereous macrumors newbie

    Fereous

    Joined:
    Aug 12, 2012
    #1
    A funny thing happened since I switched from High Sierra. In Terminal commands like date +%A and date +%B give output in Swedish (”Måndag” and ”Mars”, respectively), but Geektool outputs ”Monday” and ”March” in English. Same thing happens to ncal. The calendar just below (25 mars 2019) runs through icalBuddy and shows Swedish dates.

    Geektool 3.3.1 with ”Set locale environment” checked. The date and time control panel is set to Swedish, and the system’s locale is LANG="sv_SE.UTF-8".

    Skärmavbild 2019-03-25 kl. 15.01.01.png
     
  2. Kornelis macrumors member

    Kornelis

    Joined:
    Dec 4, 2010
    Location:
    Amsterdam, NL
    #2
    You could try the following shell command in Geektool:
    export LC_TIME=sv_SE.UTF-8 && date +%A

    I needed this export command in a geeklet to get the date in Dutch instead of English.
     
  3. Fereous thread starter macrumors newbie

    Fereous

    Joined:
    Aug 12, 2012
    #3
    Thank you! Worked like a charm. Now only the ncal issue is left, but I suppose I could live with that.

    Skärmavbild 2019-03-25 kl. 21.50.53.png
     
  4. Kornelis macrumors member

    Kornelis

    Joined:
    Dec 4, 2010
    Location:
    Amsterdam, NL
    #4
    Doesn't export LC_TIME=sv_SE.UTF-8 && ncal work?
     
  5. Fereous thread starter macrumors newbie

    Fereous

    Joined:
    Aug 12, 2012
    #5
    Sorry to say, I’m stumped on this. It ought to work, but doesn’t.
     
  6. Kornelis macrumors member

    Kornelis

    Joined:
    Dec 4, 2010
    Location:
    Amsterdam, NL
    #6
    Then try this:
    export LC_ALL=sv_SE.UTF-8 && ncal
     
  7. Fereous thread starter macrumors newbie

    Fereous

    Joined:
    Aug 12, 2012

Share This Page

6 March 25, 2019