jlfenaux Posted November 14, 2018 Share Posted November 14, 2018 Since version 3.7, I guess Alfred stopped localizing date snippets. My system is in French. I have created a snippet, with the keyword ldate : {date:yyyy/MM/dd'} {date:EEEE} In earlier versions of Alfred, it used to return 2018/11/14 Mercredi, with date:EEEE using the current UI language. Since version 3.7, it returns 2018/11/14 Wednesday. The language is no longer taken into account. Link to comment Share on other sites More sharing options...
gul-iMac Posted November 16, 2018 Share Posted November 16, 2018 I have the same problem with Swedish not being honoured. Further, writing an Applescript like set theDate to the current date display dialog "Today is: " & theDate performs OK if executed in "my" environment and results in "Today is: fredag 16 november 2018 14:55:43", but moving it e.g. to DEVONthink scripting area (~/Library/Application Support/DEVONthink Pro 2/Scripts) and activating it from within DEVONthink results in "Today is: Friday, 16 November 2018 at 14:57:04". Same thing with TextExpander. Link to comment Share on other sites More sharing options...
Vero Posted November 19, 2018 Share Posted November 19, 2018 @jlfenaux @gul-iMac Alfred passes the date handling to macOS, and has no knowledge of the localised name for days. This is why you're seeing the same issue in DevonThink and TextExpander. Could you please let me know which version of macOS you're using? This appears to be a bug in Mojave, as I can see the same issue (non-localised days) on our Mojave Mac but the days are localised as expected on an older OS. Cheers, Vero Link to comment Share on other sites More sharing options...
gul-iMac Posted November 19, 2018 Share Posted November 19, 2018 I'm on 10.14.2 β3, but I believe its been like this at least on all 10.14 but I have had a mail-conversation with Smile that started Nov 11, 2017 and at that date I was on 10.13.2 β (17C67b) (identical problem with my TextExpander snippets). I do recall that the behaviour was happening with the β-releases and eventually got fixed with the public-release. However, I'm almost sure it never worked on 10.14. Best regards Gunnar Link to comment Share on other sites More sharing options...
gul-iMac Posted November 19, 2018 Share Posted November 19, 2018 I can add this Applescript, which shows a quite odd behaviour, if your localisation is not "English". display dialog "the Date string: " & (current date) & "\n\n the weekday: " & (weekday of (current date)) resulting in this for "Swedish" setting. Link to comment Share on other sites More sharing options...
deanishe Posted November 19, 2018 Share Posted November 19, 2018 Until Apple fixes this, my Relative Dates workflow may be of some limited use. It has a snippet trigger and is locale aware (it's designed to let you use as many different date formats and locales as you want). Link to comment Share on other sites More sharing options...
jlfenaux Posted November 21, 2018 Author Share Posted November 21, 2018 @vero. I'm using macOs Mojave version 10.14.1(18875). Link to comment Share on other sites More sharing options...
Vero Posted December 14, 2018 Share Posted December 14, 2018 I've tested this on macOS Mojave 10.14.2 today, and unfortunately this issue hasn't been fixed by Apple. We'll keep an eye on any fixes to this in future updates. Link to comment Share on other sites More sharing options...
jlfenaux Posted December 14, 2018 Author Share Posted December 14, 2018 Thanks, I also did check with no luck. Link to comment Share on other sites More sharing options...
Vero Posted March 18, 2019 Share Posted March 18, 2019 We're keeping an eye for any fixes here, but as of today, in macOS Mojave 10.14.4, Apple still haven't resolved this. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now