*

piter

  • ****
  • 104 posts
Automatic location editing
« on: January 10, 2016, 12:58:05 PM »
Hi
Please advice how to edit automatically recognized location?
Word 'Voivodeship' - I need to translate it or make it not showing at all.
Please advice.

[attachment deleted by admin]

*

MB Themes

Re: Automatic location editing
« Reply #1 on: January 10, 2016, 01:08:42 PM »
@piter
Go to file:
oc-content/themes/patricia/functions.php

Find lines:
Code: [Select]
    $city = $geo["geoplugin_city"];
    $region = $geo["geoplugin_regionName"];
    $country = $geo["geoplugin_countryName"];
    $country_code = $geo["geoplugin_countryCode"];

I am pretty sure location name is in official language of that country.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

piter

  • ****
  • 104 posts
Re: Automatic location editing
« Reply #2 on: January 10, 2016, 01:13:55 PM »
Yes, location name is. But I am asking about word 'Voivodeship' added to location name.

This word is not a part of language files. Also I am not sure but a list of all locations (regions and cities) are displayed remotely from some external source (?).
On my server I can not find any files with locations list.

Any advice please?

*

MB Themes

Re: Automatic location editing
« Reply #3 on: January 10, 2016, 01:28:13 PM »
@piter
It is not anywhere in theme files, it is retrieved from geolocation script:
http://www.geoplugin.net/
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

piter

  • ****
  • 104 posts
Re: Automatic location editing
« Reply #4 on: January 10, 2016, 05:41:46 PM »
Thanks