Comments (4)
@KiraDiShira we just release version 1.6.4 of the Geolocator plugin which should solve your issue. You can now supply a locale when using one of the geocoding methods, for example:
Placemark placemark = await Geolocator().placemarkForCoordinates(54.9, 6.9, localeIdentifier: "en_US");
The above will ensure the result is always formatted in English.
from flutter-geolocator.
@KiraDiShira, this is a very interesting question. At the moment we don't support this, both the Android and iOS APIs don't support something like a unique city identifier. They do both support specifying a specific locale which we can use to enforce the language used when returning the address. Unfortunately this is not something we support in the current version of the plugin but I am willing to spend some time on it and have support implemented in a few days if this would help you?
from flutter-geolocator.
Hi @mvanbeusekom , your solution will work great for me.
If you implement it I will surely use.
Thank you.
from flutter-geolocator.
@mvanbeusekom thank you very much for your help.
from flutter-geolocator.
Related Issues (20)
- [Bug]: NoSuchMethodError (NoSuchMethodError: The method 'toInt' was called on null. Receiver: null Tried calling: toInt()) HOT 3
- [Bug]: Missing permissions required by NotificationManagerCompat.notify HOT 5
- [Regression]: on version 10.1.0 with android getCurrentPosition takes at least 30 seconds to load. I tried ^8.2.0 and it takes only 0.02s HOT 12
- [Bug]: The app is still running in background event if it's killed HOT 10
- [Bug]: `checkPermission()` does not reflect correct state after granting permissions via `requestPermission()` in Safari.
- [Bug]: Tapping outside Android location permission dialog results in `LocationPermission.deniedForever` HOT 4
- [Question]: [Bug]: Fetching user's coordinates working fine in debug mode but we launch app in release mode or built release apk the coordinates of the user's not fetched HOT 2
- [Question]: offline mode HOT 1
- [Bug]: getPositionStream causes exception when run on device without GMS (using default location manager) HOT 5
- [Bug]: Apple complains about the need for NSLocationAlwaysAndWhenInUseUsageDescription HOT 9
- [Regression]: There is crash when running building command. HOT 2
- [Bug]: No error when starting the app with location turned off. HOT 3
- [Question]: Position from getPositionStream() has 0 altitude HOT 5
- [Bug]: Android 13 getPositionStream fail HOT 3
- [Bug]: altitude property still 0 HOT 4
- [Bug]: Not able to get User location sometimes HOT 2
- [Bug]: LocationServices.getPosition, kCLErrorDomain error 1 HOT 9
- [Bug]: Unable to run on Windows : Failed to install nuget package Microsoft.Windows.CppWinRT.2.0.220418.1 HOT 1
- [Enhancement proposal]: throw UnsupportedError instead of UnimplementedError. HOT 1
- How can i dissable log write in my flutter app using this pluggin? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-geolocator.