owntracks / frontend

🌍 Web interface for OwnTracks built with Vue.js
MIT License
379 stars 53 forks source link

locale based scale and distance units #103

Open rrkarman opened 1 year ago

rrkarman commented 1 year ago

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.)

linusg commented 1 year ago

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.

troycarpenter commented 9 months ago

https://github.com/owntracks/android/issues/1573 https://github.com/owntracks/ios/issues/765