Open GoogleCodeExporter opened 9 years ago
Current behavior attached
Original comment by nbalonso
on 21 Aug 2014 at 5:46
Attachments:
This is a great suggestion. I wonder why no-one brought this up years ago? I
can't promise it will make it into the first "official" release of Munki 2; I
really want to do an official release very soon and so need to limit the amount
of new code being added.
Original comment by gregnea...@mac.com
on 21 Aug 2014 at 2:02
Most of the needed code is already present:
https://code.google.com/p/munki/source/browse/code/client/munkilib/appleupdates.
py#385
It was borrowed from reposado. Since managedsoftwareupdate is running as root,
I suspect it's picking up _root_'s language preferences (which are almost
certainly Apple's defaults, namely US English)
Original comment by gregnea...@mac.com
on 21 Aug 2014 at 2:09
One approach could be to download all the languages and store them in the local
plist. Then as the app executes in the user context we can know the language
and display only the appropriate one.
This should also cover the odd cases where two users of the same machine have
the UI in different languages.
The downside would be a little more text to download and store, but I think
this is minimal.
Original comment by nbalonso
on 23 Aug 2014 at 4:26
Original issue reported on code.google.com by
nbalonso
on 21 Aug 2014 at 5:40