Title: Locale error
Last modified: March 21, 2018

---

# Locale error

 *  Resolved [mrboats](https://wordpress.org/support/users/wpseiskaadmin/)
 * (@wpseiskaadmin)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/locale-error-2/)
 * Really like your plugin. Testing it and found a bug. The locale in open graph
   seems to be “hard coded”. For multilingual sites, you should extract the correct
   locale with the get_locale function. [https://developer.wordpress.org/reference/functions/get_locale/](https://developer.wordpress.org/reference/functions/get_locale/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Alex MacArthur](https://wordpress.org/support/users/alexmacarthur/)
 * (@alexmacarthur)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/locale-error-2/#post-10140060)
 * THANK YOU! Will make an issue for that and release update soon.
 *  Plugin Author [Alex MacArthur](https://wordpress.org/support/users/alexmacarthur/)
 * (@alexmacarthur)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/locale-error-2/#post-10169568)
 * The most recent version of the plugin uses the get_locale() method instead of
   hard-coding the value. Thanks again for reporting this!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Locale error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/complete-open-graph_a3adb9.svg)
 * [Complete Open Graph](https://wordpress.org/plugins/complete-open-graph/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complete-open-graph/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complete-open-graph/)
 * [Active Topics](https://wordpress.org/support/plugin/complete-open-graph/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complete-open-graph/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complete-open-graph/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Alex MacArthur](https://wordpress.org/support/users/alexmacarthur/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/locale-error-2/#post-10169568)
 * Status: resolved