Geolocation language

Support MB Geolocation Geolocation language

  • This topic has 3 replies, 2 voices, and was last updated 1 year ago by PeterPeter.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #45176
    Stefan IonescuStefan Ionescu
    Participant

    I need the geolocation results to be returned in English so that if i have a location in the capital of Denmark, the city is "Copenhagen" and not "København". How can I correctly give this setting inside metabox?

    I have already tried adding geo.language = en in the custom settings of the geolocation group, right under where i declare the geo.api_key, with no success.

    #45177
    Stefan IonescuStefan Ionescu
    Participant

    metabox language setting

    #45178
    Stefan IonescuStefan Ionescu
    Participant

    Screenshot

    #45183
    PeterPeter
    Moderator

    Hi,

    MB Geolocation doesn't support the language setting like that. It only fetches the data from Google and populates the results to the address fields. And that is the intended behavior of the Maps APIs. At this time it's not possible to return addresses in English only.
    You can get more details on this topic
    https://stackoverflow.com/questions/57652053/not-able-to-get-formated-address-only-in-english-getting-some-part-of-result-i/57754716#57754716

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.