How to change og:locale
-
May I ask how to change og:locale?
It show en_us but I want to change to zh_HK
Thanks
-
WPSSO uses the WordPress get_locale() function, so if you make WordPress aware of the language, you should be good. 😉
http://codex.wordpress.org/Function_Reference/get_locale
js.
I set WPLANG to zh-HK in wp-config.php
define('WPLANG', 'zh-HK');But og:locale still use en_us
Oh, sorry, the get_locale() is only used when there’s no default language configured. 😉
Change the language under the SSO -> General -> Facebook tab.
js.
I set the value of Default Language to Chinese (Hong Kong) already but it doesn’t help
The Facebook debugger shows:
<meta property="og:locale" content="zh_HK" />This is incorrect?
js.
Oh, I think I may got an old data
ThxNp. 😉
I found the how to change the og:locale
It show zh_HK because I add these code to function.php
add_filter('wpseo_locale', 'override_og_locale'); function override_og_locale($locale) { return "zh_HK"; }Just WPSSO alone seems cannot change the og:locale
https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.enterpr1se.info%2F2014%2F11%2Finterstellar-review%2FYou don’t have to hook into a filter for WPSSO — you can change the og:locale meta tag value by using the SSO -> General -> Facebook -> Default Language option. Make sure you click the ‘Clear All Cache’ button to see immediate results. 😉
If you want to change the language dynamically (by post ID, for example), you can hook into the ‘wpsso_lang’ filter: http://surniaulula.com/codex/plugins/wpsso/notes/developer/filters/
The Pro version of WPSSO also updates the language based on the current locale() value (which is managed by multilingual plugins, etc.).
js.
yes, I changed the default language option after I installed SSO
And I cleared all cache
But it still show en_us, does not follow the value of default languageThat’s a bit strange… Would you mind enabling the Debug Messages option on the SSO Advanced settings page?
Thanks,
js.
Hi, here is the debug message
<!– wpsso meta tags end –>
<!– wpsso debug from WpssoHead::add_header() wpsso constants :
WPSSO_CACHEDIR = /srv/users/enterpr1se/apps/wordpress/public_html/wp-content/plugins/wpsso/cache/
WPSSO_CACHEURL = http://www.enterpr1se.info/wp-content/plugins/wpsso/cache/
WPSSO_CURL_CAINFO = /srv/users/enterpr1se/apps/wordpress/public_html/wp-content/plugins/wpsso/share/curl/cacert.pem
WPSSO_CURL_USERAGENT = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36
WPSSO_DEBUG_FILE_EXP = 300
WPSSO_FILEPATH = /srv/users/enterpr1se/apps/wordpress/public_html/wp-content/plugins/wpsso/wpsso.php
WPSSO_HEAD_PRIORITY = 10
WPSSO_INIT_PRIORITY = 12
WPSSO_MENU_PRIORITY = 99.10
WPSSO_META_NAME = _wpsso_meta
WPSSO_META_SAVE_PRIORITY = 20
WPSSO_NONCE = ********
WPSSO_OPTIONS_NAME = wpsso_options
WPSSO_PLUGINBASE = wpsso/wpsso.php
WPSSO_PLUGINDIR = /srv/users/enterpr1se/apps/wordpress/public_html/wp-content/plugins/wpsso/
WPSSO_SITE_OPTIONS_NAME = wpsso_site_options
WPSSO_TEXTDOM = wpsso
WPSSO_TOPICS_LIST = /srv/users/enterpr1se/apps/wordpress/public_html/wp-content/plugins/wpsso/share/topics.txt
WPSSO_URLPATH = http://www.enterpr1se.info/wp-content/plugins/wpsso/
–>
<!– wpsso debug from WpssoHead::add_header() available features :
Array
(
[curl] => 1
[mbdecnum] => 1
[postthumb] => 1
[metatags] => 1
[opengraph] => 1
[aop] => 1
[cache] => Array
(
[file] =>
[object] =>
[transient] =>
)[admin] => Array
(
[*] => 1
[general] => 1
[advanced] => 1
[postmeta] => 1
[user] => 1
)[ecom] => Array
(
[*] =>
[edd] =>
[marketpress] =>
[woocommerce] =>
[wpecommerce] =>
)[forum] => Array
(
[*] =>
[bbpress] =>
)[head] => Array
(
[*] => 1
[twittercard] => 1
)[lang] => Array
(
[*] =>
[polylang] =>
)[media] => Array
(
[*] => 1
[gravatar] => 1
[ngg] =>
[photon] =>
[slideshare] => 1
[vimeo] => 1
[wistia] => 1
[youtube] => 1
)[seo] => Array
(
[*] => 1
[aioseop] =>
[headspace2] =>
[wpseo] => 1
[seou] =>
)[social] => Array
(
[*] =>
[buddypress] =>
)[util] => Array
(
[*] => 1
[language] => 1
[postmeta] => 1
[user] => 1
))
–>
<!– wpsso debug from WpssoHead::add_header() active plugins :
Array
(
[0] => advanced-custom-fields/acf.php
[1] => akismet/akismet.php
[2] => animated-gif-resize/animated-gif-resize.php
[3] => bwp-google-xml-sitemaps/bwp-simple-gxs.php
[4] => contact-form-7/wp-contact-form-7.php
[5] => disqus-conditional-load/disqus-conditional-load.php
[6] => email-subscribers/email-subscribers.php
[7] => ewww-image-optimizer/ewww-image-optimizer.php
[8] => facebook-page-promoter-lightbox-premium/index.php
[9] => google-analytics-dashboard-for-wp/gadwp.php
[10] => jetpack/jetpack.php
[11] => js_composer/js_composer.php
[12] => link-manager/link-manager.php
[13] => mylinks2/mylinks.php
[14] => pubsubhubbub/pubsubhubbub.php
[15] => regenerate-thumbnails/regenerate-thumbnails.php
[16] => reverse-proxy-comment-ip-fix/reverse-proxy-comment-ip-fix.php
[17] => revslider/revslider.php
[18] => roost-for-bloggers/roost.php
[19] => simple-local-avatars/simple-local-avatars.php
[20] => td-social-counter/td-social-counter.php
[21] => td-speed-booster/td-speed-booster.php
[22] => updraftplus/updraftplus.php
[23] => w3-total-cache/w3-total-cache.php
[24] => wordpress-seo/wp-seo.php
[25] => wp-optimize/wp-optimize.php
[26] => wp-slug-translate/wp-slug-translate.php
[27] => wpsso/wpsso.php
)
–>
<!– wpsso debug from WpssoHead::add_header() debug log :
WpssoHead :: add_header : is_singular() = true
WpssoHead :: get_header_array : mark
WpssoHead :: get_header_array : author_id value set to 1
SucomUtil :: get_max_nums : args (post_id=4492)
WpssoProUtilLanguage :: filter_lang : get_locale returned: en_US
WpssoProUtilLanguage :: filter_lang : underscore locale found: en_US
SucomWebpage :: get_title : args (textlen=70, trailing=…, use_post=false, use_cache=true, add_hashtags=false, encode=true, custom=og_title, source_id=)
SucomWebpage :: get_title : is_singular wp_title() = “2012 日本之旅 Day 2 | 企業號航行網誌”
SucomWebpage :: get_description : args (textlen=300, trailing=…, use_post=false, use_cache=true, add_hashtags=true, encode=true, custom=og_desc, source_id=)
SucomWebpage :: get_tags : tags = “youtube,日本,東京,迪士尼”
SucomWebpage :: get_hashtags : hashtags = “#youtube #日本 #東京 #迪士尼”
SucomWebpage :: get_description : no post_excerpt for post_id 4492
SucomWebpage :: get_content : args (post_id=4492, use_post=false, use_cache=true, custom=og_desc, source_id=)
SucomWebpage :: get_content : using content from object id 4492
SucomWebpage :: get_content : saving $post object and calling apply_filters(‘the_content’)
SucomWebpage :: get_content : content strlen before = 34178, after = 311901
SucomWebpage :: get_description : removing all text before first paragraph
SucomWebpage :: get_tags : tags = “youtube,日本,東京,迪士尼”
WpssoOpengraph :: get_all_videos : args (num=1, post_id=4492, check_dupes=true)
WpssoProUtilPostmeta :: get_og_video : args (num=1, post_id=4492, check_dupes=true, meta_pre=og)
WpssoMedia :: get_content_videos : args (num=1, post_id=4492, check_dupes=true, content=0 chars)
SucomWebpage :: get_content : args (post_id=4492, use_post=false, use_cache=true, custom=, source_id=)
SucomWebpage :: get_content : using content from object id 4492
SucomWebpage :: get_content : saving $post object and calling apply_filters(‘the_content’)
SucomWebpage :: get_content : content strlen before = 34178, after = 311901
WpssoMedia :: get_content_videos : 2 x video <iframe|embed/> html tag(s) found
WpssoMedia :: get_content_videos : <iframe/> html tag found = http://www.youtube.com/embed/e0NJiBwi0HA?version=3&rel=1&fs=1&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent
SucomCache :: get : curl: fetching cache_data from https://gdata.youtube.com/feeds/api/videos?q=e0NJiBwi0HA&max-results=1&format=5
SucomCache :: get : curl: http return code = 200
WpssoProMediaYoutube :: filter_video_info : setting og:video and og:image from youtube api xml
WpssoMedia :: get_video_info : video = https://www.youtube.com/v/e0NJiBwi0HA?version=3&f=videos&app=youtube_gdata (700×424)
WpssoMedia :: get_video_info : image = https://i.ytimg.com/vi/e0NJiBwi0HA/0.jpg (480×360)
SucomUtil :: slice_max : max values reached (1 == 1)
SucomUtil :: slice_max : max values reached (1 == 1)
WpssoOpengraph :: get_array : 1 video preview images found (og_img_max adjusted to 0)
WpssoOpengraph :: get_array : images disabled: maximum images = 0
WpssoProHeadTwittercard :: filter_og : mark
SucomUtil :: get_max_nums : args (post_id=4492)
SucomWebpage :: get_title : args (textlen=70, trailing=…, use_post=false, use_cache=true, add_hashtags=false, encode=true, custom=og_title, source_id=)
SucomWebpage :: get_title : is_singular wp_title() = “2012 日本之旅 Day 2 | 企業號航行網誌”
SucomWebpage :: get_description : args (textlen=200, trailing=…, use_post=false, use_cache=true, add_hashtags=true, encode=true, custom=tc_desc, source_id=)
SucomWebpage :: get_tags : tags = “youtube,日本,東京,迪士尼”
SucomWebpage :: get_hashtags : hashtags = “#youtube #日本 #東京 #迪士尼”
SucomWebpage :: get_description : no post_excerpt for post_id 4492
SucomWebpage :: get_content : args (post_id=4492, use_post=false, use_cache=true, custom=tc_desc, source_id=)
SucomWebpage :: get_content : using content from object id 4492
SucomWebpage :: get_content : saving $post object and calling apply_filters(‘the_content’)
SucomWebpage :: get_content : content strlen before = 34178, after = 311901
SucomWebpage :: get_description : removing all text before first paragraph
WpssoProHeadTwittercard :: filter_og : player card : checking for videos
SucomWebpage :: get_description : args (textlen=156, trailing=…, use_post=false, use_cache=true, add_hashtags=false, encode=true, custom=seo_desc, source_id=)
SucomWebpage :: get_description : no post_excerpt for post_id 4492
SucomWebpage :: get_content : args (post_id=4492, use_post=false, use_cache=true, custom=seo_desc, source_id=)
SucomWebpage :: get_content : using content from object id 4492
SucomWebpage :: get_content : saving $post object and calling apply_filters(‘the_content’)
SucomWebpage :: get_content : content strlen before = 34178, after = 311901
SucomWebpage :: get_description : removing all text before first paragraph
SucomWebpage :: get_description : args (textlen=300, trailing=…, use_post=false, use_cache=true, add_hashtags=true, encode=true, custom=schema_desc, source_id=)
SucomWebpage :: get_tags : tags = “youtube,日本,東京,迪士尼”
SucomWebpage :: get_hashtags : hashtags = “#youtube #日本 #東京 #迪士尼”
SucomWebpage :: get_description : no post_excerpt for post_id 4492
SucomWebpage :: get_content : args (post_id=4492, use_post=false, use_cache=true, custom=schema_desc, source_id=)
SucomWebpage :: get_content : using content from object id 4492
SucomWebpage :: get_content : saving $post object and calling apply_filters(‘the_content’)
SucomWebpage :: get_content : content strlen before = 34178, after = 311901
SucomWebpage :: get_description : removing all text before first paragraph
WpssoHead :: get_single_tag : meta name generator = “WPSSO Pro 2.7.1L”
WpssoHead :: get_tag_array : 2 link rel to process
WpssoHead :: get_tag_array : Array
(
[author] =>
[publisher] => https://plus.google.com/+Enterpr1seInfo
)WpssoHead :: get_single_tag : link rel author value is empty (skipped)
WpssoHead :: get_single_tag : link rel publisher = “https://plus.google.com/+Enterpr1seInfo”
WpssoHead :: get_tag_array : 2 meta name to process
WpssoHead :: get_tag_array : Array
(
[author] => Enterpr1se
[description] => 今日係要早少少起,因為今日會去築地+迪士尼。…
)WpssoHead :: get_single_tag : meta name author = “Enterpr1se”
WpssoHead :: get_single_tag : meta name description = “今日係要早少少起,因為今日會去築地+迪士尼。…”
WpssoHead :: get_single_tag : meta name description is disabled (skipped)
WpssoHead :: get_tag_array : 2 meta itemprop to process
WpssoHead :: get_tag_array : Array
(
[description] => 今日係要早少少起,因為今日會去築地+迪士尼。 初初原本打算今日全日迪士尼,築地係星期六去,但星期六聽聞好多人,所以唯有壓縮去迪士尼的時間,朝早去築地行。 呢間酒店早餐叫不過不失… #youtube #日本 #東京 #迪士尼
[url] => http://www.enterpr1se.info/2012/04/2012-japan-trip-day-2/
)WpssoHead :: get_single_tag : meta itemprop description = “今日係要早少少起,因為今日會去築地+迪士尼。 初初原本打算今日全日迪士尼,築地係星期六去,但星期六聽聞好多人,所以唯有壓縮去迪士尼的時間,朝早去築地行。 呢間酒店早餐叫不過不失… #youtube #日本 #東京 #迪士尼”
WpssoHead :: get_single_tag : meta itemprop url = “http://www.enterpr1se.info/2012/04/2012-japan-trip-day-2/”
WpssoHead :: get_tag_array : 25 meta property to process
WpssoHead :: get_tag_array : Array
(
[fb:admins] => enterpr1se.lo
[fb:app_id] => 363786593734173
[og:locale] => en_US
[og:site_name] => 企業號航行網誌
[og:url] => http://www.enterpr1se.info/2012/04/2012-japan-trip-day-2/
[og:title] => 2012 日本之旅 Day 2 | 企業號航行網誌
[og:description] => 今日係要早少少起,因為今日會去築地+迪士尼。 初初原本打算今日全日迪士尼,築地係星期六去,但星期六聽聞好多人,所以唯有壓縮去迪士尼的時間,朝早去築地行。 呢間酒店早餐叫不過不失… #youtube #日本 #東京 #迪士尼
[og:type] => article
[article:author] => Array
(
[0] => https://www.facebook.com/enterpr1se.info
)[article:publisher] => https://www.facebook.com/enterpr1se.info
[article:tag] => Array
(
[0] => youtube
[1] => 日本
[2] => 東京
[3] => 迪士尼
)[article:section] => IT
[article:published_time] => 2012-04-26T12:01:36+00:00
[article:modified_time] => 2014-08-02T11:58:37+00:00
[og:video] => Array
(
[0] => Array
(
[og:video] => https://www.youtube.com/v/e0NJiBwi0HA?version=3&f=videos&app=youtube_gdata
[og:video:type] => application/x-shockwave-flash
[og:video:width] => 700
[og:video:height] => 424
[og:image] => https://i.ytimg.com/vi/e0NJiBwi0HA/0.jpg
[og:image:width] => 480
[og:image:height] => 360
[og:video:embed_url] => https://www.youtube.com/embed/e0NJiBwi0HA
))
[twitter:domain] => 企業號航行網誌
[twitter:site] => @enterpr1se
[twitter:title] => 2012 日本之旅 Day 2 | 企業號航行網誌
[twitter:description] => 今日係要早少少起,因為今日會去築地+迪士尼。… #youtube #日本 #東京 #迪士尼
[twitter:creator] => @enterpr1se
[twitter:card] => player
[twitter:player] => https://www.youtube.com/embed/e0NJiBwi0HA
[twitter:image] => https://i.ytimg.com/vi/e0NJiBwi0HA/0.jpg
[twitter:player:width] => 700
[twitter:player:height] => 424
)WpssoHead :: get_single_tag : meta property fb:admins = “enterpr1se.lo”
WpssoHead :: get_single_tag : meta property fb:app_id = “363786593734173”
WpssoHead :: get_single_tag : meta property og:locale = “en_US”
WpssoHead :: get_single_tag : meta property og:site_name = “企業號航行網誌”
WpssoHead :: get_single_tag : meta property og:url = “http://www.enterpr1se.info/2012/04/2012-japan-trip-day-2/”
WpssoHead :: get_single_tag : meta property og:title = “2012 日本之旅 Day 2 | 企業號航行網誌”
WpssoHead :: get_single_tag : meta property og:description = “今日係要早少少起,因為今日會去築地+迪士尼。 初初原本打算今日全日迪士尼,築地係星期六去,但星期六聽聞好多人,所以唯有壓縮去迪士尼的時間,朝早去築地行。 呢間酒店早餐叫不過不失… #youtube #日本 #東京 #迪士尼”
WpssoHead :: get_single_tag : meta property og:type = “article”
WpssoHead :: get_single_tag : meta property article:author = “https://www.facebook.com/enterpr1se.info”
WpssoHead :: get_single_tag : meta property article:publisher = “https://www.facebook.com/enterpr1se.info”
WpssoHead :: get_single_tag : meta property article:tag = “youtube”
WpssoHead :: get_single_tag : meta property article:tag = “日本”
WpssoHead :: get_single_tag : meta property article:tag = “東京”
WpssoHead :: get_single_tag : meta property article:tag = “迪士尼”
WpssoHead :: get_single_tag : meta property article:section = “IT”
WpssoHead :: get_single_tag : meta property article:published_time = “2012-04-26T12:01:36+00:00”
WpssoHead :: get_single_tag : meta property article:modified_time = “2014-08-02T11:58:37+00:00”
WpssoHead :: get_single_tag : meta property og:image = “https://i.ytimg.com/vi/e0NJiBwi0HA/0.jpg”
WpssoHead :: get_single_tag : meta property og:image:height = “360”
WpssoHead :: get_single_tag : meta property og:image:width = “480”
WpssoHead :: get_single_tag : meta property og:video = “https://www.youtube.com/v/e0NJiBwi0HA?version=3&f=videos&app=youtube_gdata”
WpssoHead :: get_single_tag : meta property og:video:embed_url = “https://www.youtube.com/embed/e0NJiBwi0HA”
WpssoHead :: get_single_tag : meta property og:video:embed_url is disabled (skipped)
WpssoHead :: get_single_tag : meta property og:video:height = “424”
WpssoHead :: get_single_tag : meta property og:video:type = “application/x-shockwave-flash”
WpssoHead :: get_single_tag : meta property og:video:width = “700”
WpssoHead :: get_single_tag : meta name twitter:domain = “企業號航行網誌”
WpssoHead :: get_single_tag : meta name twitter:site = “@enterpr1se”
WpssoHead :: get_single_tag : meta name twitter:title = “2012 日本之旅 Day 2 | 企業號航行網誌”
WpssoHead :: get_single_tag : meta name twitter:description = “今日係要早少少起,因為今日會去築地+迪士尼。… #youtube #日本 #東京 #迪士尼”
WpssoHead :: get_single_tag : meta name twitter:creator = “@enterpr1se”
WpssoHead :: get_single_tag : meta name twitter:card = “player”
WpssoHead :: get_single_tag : meta name twitter:player = “https://www.youtube.com/embed/e0NJiBwi0HA”
WpssoHead :: get_single_tag : meta name twitter:image = “https://i.ytimg.com/vi/e0NJiBwi0HA/0.jpg”
WpssoHead :: get_single_tag : meta name twitter:player:width = “700”
WpssoHead :: get_single_tag : meta name twitter:player:height = “424”
–>
<!– wpsso debug from WpssoHead::add_header() wpsso settings :
add_link_rel_author = 1
add_link_rel_publisher = 1
add_meta_itemprop_description = 1
add_meta_itemprop_image = 1
add_meta_itemprop_url = 1
add_meta_name_author = 1
add_meta_name_description = 0
add_meta_name_description:is = disabled
add_meta_name_generator = 1
add_meta_name_twitter:card = 1
add_meta_name_twitter:creator = 1
add_meta_name_twitter:data1 = 1
add_meta_name_twitter:data2 = 1
add_meta_name_twitter:data3 = 1
add_meta_name_twitter:data4 = 1
add_meta_name_twitter:description = 1
add_meta_name_twitter:domain = 1
add_meta_name_twitter:image = 1
add_meta_name_twitter:image0 = 1
add_meta_name_twitter:image1 = 1
add_meta_name_twitter:image2 = 1
add_meta_name_twitter:image3 = 1
add_meta_name_twitter:image:height = 1
add_meta_name_twitter:image:width = 1
add_meta_name_twitter:label1 = 1
add_meta_name_twitter:label2 = 1
add_meta_name_twitter:label3 = 1
add_meta_name_twitter:label4 = 1
add_meta_name_twitter:player = 1
add_meta_name_twitter:player:height = 1
add_meta_name_twitter:player:width = 1
add_meta_name_twitter:site = 1
add_meta_name_twitter:title = 1
add_meta_property_article:author = 1
add_meta_property_article:modified_time = 1
add_meta_property_article:published_time = 1
add_meta_property_article:publisher = 1
add_meta_property_article:section = 1
add_meta_property_article:tag = 1
add_meta_property_fb:admins = 1
add_meta_property_fb:app_id = 1
add_meta_property_og:description = 1
add_meta_property_og:image = 1
add_meta_property_og:image:height = 1
add_meta_property_og:image:secure_url = 1
add_meta_property_og:image:width = 1
add_meta_property_og:locale = 1
add_meta_property_og:site_name = 1
add_meta_property_og:title = 1
add_meta_property_og:type = 1
add_meta_property_og:url = 1
add_meta_property_og:video = 1
add_meta_property_og:video:height = 1
add_meta_property_og:video:secure_url = 1
add_meta_property_og:video:type = 1
add_meta_property_og:video:width = 1
add_meta_property_product:availability = 1
add_meta_property_product:price:amount = 1
add_meta_property_product:price:currency = 1
fb_admins = enterpr1se.lo
fb_app_id = 363786593734173
fb_lang = zh_HK
link_author_field = gplus
link_publisher_url = https://plus.google.com/+Enterpr1seInfo
og_art_section = IT
og_author_fallback = 0
og_author_field = facebook
og_def_author_id = 0
og_def_author_on_index = 0
og_def_author_on_search = 0
og_def_img_id =
og_def_img_id_pre = wp
og_def_img_on_author = 0
og_def_img_on_index = 1
og_def_img_on_search = 0
og_def_img_url =
og_def_vid_on_author = 0
og_def_vid_on_index = 1
og_def_vid_on_search = 0
og_def_vid_url =
og_desc_alt = 1
og_desc_hashtags = 6
og_desc_len = 300
og_desc_strip = 1
og_img_crop = 1
og_img_height = 1200
og_img_max = 1
og_img_width = 1200
og_ngg_tags = 0
og_page_parent_tags = 0
og_page_title_tag = 0
og_publisher_url = https://www.facebook.com/enterpr1se.info
og_site_description =
og_site_description#en_US =
og_site_name =
og_site_name#en_US =
og_title_len = 70
og_title_sep = –
og_vid_https = 1
og_vid_max = 1
og_vid_prev_img = 1
options_filtered = 1
options_version = 311
plugin_add_to_attachment = 1
plugin_add_to_page = 1
plugin_add_to_post = 1
plugin_add_to_user = 1
plugin_auto_img_resize = 0
plugin_cache_info = 0
plugin_cf_img_url = _image_url
plugin_cf_vid_embed = _video_embed
plugin_cf_vid_url = _video_url
plugin_cm_fb_enabled = 1
plugin_cm_fb_label = Facebook URL
plugin_cm_fb_name = facebook
plugin_cm_gp_enabled = 1
plugin_cm_gp_label = Google+ URL
plugin_cm_gp_name = gplus
plugin_cm_linkedin_enabled = 0
plugin_cm_linkedin_label = LinkedIn URL
plugin_cm_linkedin_name = linkedin
plugin_cm_pin_enabled = 0
plugin_cm_pin_label = Pinterest URL
plugin_cm_pin_name = pinterest
plugin_cm_skype_enabled = 0
plugin_cm_skype_label = Skype Username
plugin_cm_skype_name = skype
plugin_cm_tumblr_enabled = 0
plugin_cm_tumblr_label = Tumblr URL
plugin_cm_tumblr_name = tumblr
plugin_cm_twitter_enabled = 1
plugin_cm_twitter_label = Twitter @username
plugin_cm_twitter_name = twitter
plugin_cm_yt_enabled = 0
plugin_cm_yt_label = YouTube Channel URL
plugin_cm_yt_name = youtube
plugin_debug = 1
plugin_display = basic
plugin_file_cache_hrs = 0
plugin_filter_content = 1
plugin_filter_excerpt = 0
plugin_filter_lang = 1
plugin_filter_title = 1
plugin_gravatar_api = 1
plugin_ignore_small_img = 1
plugin_object_cache_exp = 21600
plugin_page_excerpt = 1
plugin_page_tags = 1
plugin_preserve = 0
plugin_shortcodes = 1
plugin_slideshare_api = 1
plugin_verify_certs = 0
plugin_version = 2.7.1
plugin_vimeo_api = 1
plugin_widgets = 1
plugin_wistia_api = 1
plugin_wpsso_tid = ********
plugin_youtube_api = 1
rp_author_name = nickname
rp_img_crop = 0
rp_img_height = 800
rp_img_width = 800
schema_desc_len = 300
seo_author_name = nickname
seo_def_author_id = 1
seo_def_author_on_index = 0
seo_def_author_on_search = 0
seo_desc_len = 156
tc_desc_len = 200
tc_enable = 1
tc_gal_crop = 0
tc_gal_height = 300
tc_gal_min = 4
tc_gal_width = 300
tc_lrgimg_crop = 0
tc_lrgimg_height = 300
tc_lrgimg_width = 300
tc_photo_crop = 0
tc_photo_height = 800
tc_photo_width = 800
tc_prod_crop = 1
tc_prod_def_d2 = Unknown
tc_prod_def_l2 = Location
tc_prod_height = 300
tc_prod_width = 300
tc_site = @enterpr1se
tc_sum_crop = 1
tc_sum_height = 200
tc_sum_width = 200
wp_cm_aim_enabled = 1
wp_cm_aim_label = AIM
wp_cm_aim_name = aim
wp_cm_jabber_enabled = 1
wp_cm_jabber_label = Google Talk
wp_cm_jabber_name = jabber
wp_cm_yim_enabled = 1
wp_cm_yim_label = Yahoo IM
wp_cm_yim_name = yim
–>
<!– wpsso debug from WpssoHead::add_header() wpsso post meta options for post id 4492 :
options_filtered = 1
–><!– JS generated by theme –>
<script type=”text/rocketscript” >
var td_blocks = []; //here we store all the items for the current page
//td_block class – each ajax block uses a object of this class for requests
function td_block() {
this.id = ”;
this.block_type = 1; //block type id (1-234 etc)
this.atts = ”;
this.td_cur_cat = ”;
this.td_column_number = ”;
this.td_current_page = 1; //
this.post_count = 0; //from wp
this.found_posts = 0; //from wp
this.max_num_pages = 0; //from wp
this.is_ajax_running = false;
this.header_color = ”;
this.ajax_pagination_infinite_stop = ”; //show load more at page x
}var td_ad_background_click_link=””;
var td_ad_background_click_target=””;
var td_ajax_url=”http://www.enterpr1se.info/wp-admin/admin-ajax.php”;
var td_get_template_directory_uri=”http://www.enterpr1se.info/wp-content/themes/Newspaper”;
var tds_snap_menu=””;
var tds_header_style=””;
var tds_mobile_swipe=””;
var td_search_url=”http://www.enterpr1se.info/search/”;
var td_please_wait=”Please wait…”;
var td_email_user_pass_incorrect=”User or password incorrect!”;
var td_email_user_incorrect=”Email or username incorrect!”;
var td_email_incorrect=”Email incorrect!”;
var tds_more_articles_on_post_enable=”show”;
var tds_more_articles_on_post_time_to_wait=””;
var tds_more_articles_on_post_pages_distance_from_top=”1500″;
var tds_theme_color_site_wide=”#4db2ec”;
</script><!– wpsso add_action( ‘wp_head’ ) priority 9999 test = PASSED –>
<!– wpsso debug from Wpsso::show_debug_html() –>You didn’t say that you were using the Pro version. The forums on wordpress.org are for Free versions only.
The Free version uses the Facebook Default Language as I indicated, the Pro version uses the current locale in use. So, as the language changes (for multilingual sites), so does the locale value in the meta tags etc.
WpssoProUtilLanguage :: filter_lang : get_locale returned: en_US WpssoProUtilLanguage :: filter_lang : underscore locale found: en_USThe debug information shows that the WordPress
get_locale()function is returning en_US. You may want to try defining WPLANG (I think the WordPressget_locale()function uses this constant if defined).js.
The topic ‘How to change og:locale’ is closed to new replies.