Title: lang_code issue
Last modified: May 9, 2022

---

# lang_code issue

 *  [eddie](https://wordpress.org/support/users/ediet/)
 * (@ediet)
 * [4 years ago](https://wordpress.org/support/topic/lang_code-issue/)
 * Hello,
    Stumbled across Google’s correlation of certain language versions to 
   a region. Specifically with English and the U.S. region.
 * Your plugin sets “en**_**US”.
 * According to Google’s help, there is no underscore “**_**“, but a hyphen “**–**“.
   [https://developers.google.com/search/docs/advanced/crawling/localized-versions#language-codes](https://developers.google.com/search/docs/advanced/crawling/localized-versions#language-codes).
   For example, “en**–**us”.
 * According to ISO 3166-1 Alpha 2 format – [https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
   also hyphenate “**–**“.
 * A bunch of other references do, too.
 * I’ve already started making changes through functions.php But it doesn’t always
   work correctly.
 * Is there any way to update this to the latest specifications?
    -  This topic was modified 4 years ago by [eddie](https://wordpress.org/support/users/ediet/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flang_code-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [eddie](https://wordpress.org/support/users/ediet/)
 * (@ediet)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/lang_code-issue/#post-15663227)
 * No solution for this problem?

Viewing 1 replies (of 1 total)

The topic ‘lang_code issue’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [eddie](https://wordpress.org/support/users/ediet/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/lang_code-issue/#post-15663227)
 * Status: not resolved