5 lines
186 B
Bash
5 lines
186 B
Bash
#!/bin/bash
|
|
|
|
APPLELANGUAGE=$(/usr/libexec/PlistBuddy -c "print :AppleLanguages:0" /Library/Preferences/.GlobalPreferences.plist | cut -d "-" -f 1)
|
|
|
|
echo "<result>$APPLELANGUAGE</result>" |