'Language Locale Codes: Is BCP 47 being adopted now?

My curiosity is from the underscores vs hyphens (en-GB Vs en_GB) being used for the locale codes.

  • Is BCP 47 the standard widely considered this?
  • I see underscores being used more often. However, I do see a shift towards hyphens.
    • Java 7 uses underscores.
    • However, Java 8 uses hyphens.
    • iOS and Android use underscores. Should we expect a shift to hyphens in iOS and Android in the future? Maybe the answer is 'yes' for Android as it's tied to Java.


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source