jdevalk/wordpress-seo — pull request #104 by jrfnl (2013-07-14 18:36:51+00:00)
Title: Facebook og locales

Updated Facebook supported locales list for og:locale. Update/compare 'inspired' by [this support forum thread](http://wordpress.org/support/topic/changing-locale-from-en_us-to-en_au).

I've created a small compare script which takes the official FB xml file as input + the array from the class.opengraph.php locale() function and compares these. If anyone if interested, drop me a line for a copy of the script.

**Current results: 1 new locale FB supported locale found & added, found 32 locales in the WP SEO list which are not in the FB list (not removed), 76 OK.**

The 32 which are in the WP SEO list, but not in FB list (and should may be be removed) are:
```php
//Returns an array containing all the entries from array1 that are not present in any of the other arrays.
array_diff( $fb_valid_fb_locales, $fb_current ) result:
```

```php
$diff = array (
2 => 'ay_BO',
9 => 'ck_US',
20 => 'es_CL',
21 => 'es_CO',
24 => 'es_MX',
25 => 'es_VE',
29 => 'fb_FI',
37 => 'gn_PY',
38 => 'gu_IN',
48 => 'jv_ID',
50 => 'kk_KZ',
52 => 'kn_IN',
56 => 'li_NL',
59 => 'mg_MG',
62 => 'mn_MN',
63 => 'mr_IN',
65 => 'mt_MT',
68 => 'nl_BE',
76 => 'qu_PE',
77 => 'rm_CH',
80 => 'sa_IN',
81 => 'se_NO',
84 => 'so_SO',
89 => 'sy_SY',
92 => 'tg_TJ',
95 => 'tl_ST',
97 => 'tt_RU',
99 => 'ur_PK',
100 => 'uz_UZ',
102 => 'xh_ZA',
103 => 'yi_DE',
107 => 'zu_ZA',
);
```