In my rails app I want to use country-code
, currency-code
, ISO locale code
to fetch some data from API. How can I get this information dynamically when user visit my site from anywhere?
I have used geocoder gem so by request.location
I will get location's information and using this gem I can get country-code
. Now I am not getting how can I get remaining information such as currency-code
& ISO locale code
?? Can anyone please help me or guide me??
I have seen this money gem but not sure it will provide me all these information.
Thanks in advance :)