Title: Region Detect
Author: joebrewer
Published: <strong>26 مايو، 2011</strong>
Last modified: 17 أكتوبر، 2013

---

البحث عن الإضافات

هذه الإضافة **لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية**. قد لا
تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق
عند إستخدامها مع إصدارات حديثة من ووردبريس.

![](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://ar.wordpress.org/plugins/regiondetect/#description)
 * [المراجعات](https://ar.wordpress.org/plugins/regiondetect/#reviews)
 *  [التنصيب](https://ar.wordpress.org/plugins/regiondetect/#installation)
 * [التطوير](https://ar.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)

### مُهتم بالتطوير؟

[تصفّح الشفرة](https://plugins.trac.wordpress.org/browser/regiondetect/)، تحقق من
[مستودع SVN](https://plugins.svn.wordpress.org/regiondetect/)، أو الاشتراك في [سجل التطوير](https://plugins.trac.wordpress.org/log/regiondetect/)
بواسطة [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

## ميتا Meta

 *  Version **1.02.05**
 *  Last updated **قبل 12 سنة**
 *  Active installations **10+**
 *  WordPress version ** 3.1.2 أو أعلى **
 *  Tested up to **3.6.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/regiondetect/)
 * Tags
 * [country detection](https://ar.wordpress.org/plugins/tags/country-detection/)
   [geolocation](https://ar.wordpress.org/plugins/tags/geolocation/)[localisation](https://ar.wordpress.org/plugins/tags/localisation/)
   [localization](https://ar.wordpress.org/plugins/tags/localization/)
 *  [عرض متقدم](https://ar.wordpress.org/plugins/regiondetect/advanced/)

## التقييم

لم يتم تقديم أي مراجعات بعد.

[أضف مراجعتي](https://wordpress.org/support/plugin/regiondetect/reviews/#new-post)

[See all reviews](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)