Getting emulator / device locale when running appium on a remote computer (Android)

Is there a way to get the Android locale when working with remote appium?
Adb can be used when working locally, but I don’t think you can invoke adb on a remote device.