locale based scale and distance units
rrkarman opened this issue · 4 comments
I live in the US and recently took a 7,000 mile road trip with my family. I used owntracks to share my location and route with family and friends but my US based friends were confused how many miles we traveled per day because the showDistanceTraveled only shows km. A quick multiplication of km times 0.6214 would return the miles value and could be based on the locale of en-US.
(Also, would love to have locale settings in the mobile app for distance and speed to be displayed in mile and miles per hour.)
Personally I have no use for imperial units, but I would not be opposed to merging a PR adding those as a config option :)
(it should be explicit rather than being tied to the locale, however)
The mobile apps have separate repos, please file issues for those in https://github.com/owntracks/android/ / https://github.com/owntracks/ios.