Title: Region Detect
Author: joebrewer
Published: <strong>26 می 2011</strong>
Last modified: 17 اکتبر 2013

---

جستجوی افزونه‌ها

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/regiondetect.svg)

# Region Detect

 توسط [joebrewer](https://profiles.wordpress.org/joebrewer/)

[دانلود](https://downloads.wordpress.org/plugin/regiondetect.1.02.05.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/regiondetect/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/regiondetect/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/regiondetect/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/regiondetect/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/regiondetect/)

## توضیحات

Region detect is a plugin for WordPress that detects the country that the current
visitor is browsing from.

It can display the country to the user; something like: Hello visitor from Spain!
or display a flag of the country. The plugin also makes the ISO 3166-1 country code
and country name avaliable to other plugins.

## نصب

 1. Extract the zip file and just drop the contents in the `wp-content/plugins/` directory
    of your WordPress installation.
 2. Activate the plugin through the ‘Plugins’ page.
 3. Copy the MaxMind country database to the plugin folder, or add your MaxMind license
    key to the plugin admin panel.
 4. If you are using the web service enable caching and select the cache length that
    you need.
 5. Use %%COUNTRYCODE%% or %%COUNTRYNAME%% in your posts to display the two character
    country code or country name respectively.

## سوالات متداول

  Do I have to pay for the MaxMind database?

No, MaxMind offer a free version of the database. However the paid for version is
more accurate.

  I am a wordpress developer and want to access the country code or name in my code.
How do I do that?

Easy 🙂 Just declare the global variables $rdISO3166_1 or $rdCountryName in your
code and away you go.

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“Region Detect” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ joebrewer ](https://profiles.wordpress.org/joebrewer/)

[ترجمه “Region Detect” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/regiondetect)

### علاقه‌ مند به توسعه هستید؟

[Browse the code](https://plugins.trac.wordpress.org/browser/regiondetect/), check
out the [SVN repository](https://plugins.svn.wordpress.org/regiondetect/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/regiondetect/) by
[RSS](https://plugins.trac.wordpress.org/log/regiondetect/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 1.00.00

 * Initial version

#### 1.01.00

 * Added option to set the country from the url

#### 1.02.00

 * Corrected bug with the cache clearing too quickly
 * Added a table that shows countries and number of ip addresses that are cached

#### 1.02.01

 * Corrected spelling mistakes

#### 1.02.02

 * Removed debugging code

#### 1.02.04

 * Fixed installation bug which was causing a crash when installing

#### 1.02.05

 * Made plugin multisite compliant

## اطلاعات

 *  نگارش **1.02.05**
 *  Last updated **12 سال پیش**
 *  نصب‌های فعال **10+**
 *  نگارش وردپرس ** 3.1.2 یا بالاتر **
 *  Tested up to **3.6.1**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/regiondetect/)
 * Tags
 * [country detection](https://fa.wordpress.org/plugins/tags/country-detection/)
   [geolocation](https://fa.wordpress.org/plugins/tags/geolocation/)[localisation](https://fa.wordpress.org/plugins/tags/localisation/)
   [localization](https://fa.wordpress.org/plugins/tags/localization/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/regiondetect/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

[افزودن ارزیابی من](https://wordpress.org/support/plugin/regiondetect/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/regiondetect/reviews/)

## مشارکت کنندگان

 *   [ joebrewer ](https://profiles.wordpress.org/joebrewer/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/regiondetect/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](http://www.brewsterware.com/region-detect-wordpress-plugin.html)