Bulgarian carries the ISO 639-1 two-letter code bg.
In practice this code appears in HTML (<html lang="bg">), HTTP Accept-Language headers, locale identifiers such as bg-XX, subtitle tracks and translation files — anywhere software needs to say “this content is in Bulgarian”.