The reference desk — standardized codes, filed & searchableN° 2,372 entries · 11 collections ·
DirectoryCodes
The directory of the world’s codes

Front desk · Language Codes

ISO 639-1

pt Portuguese

Portuguese carries the ISO 639-1 two-letter code pt.

In practice this code appears in HTML (<html lang="pt">), HTTP Accept-Language headers, locale identifiers such as pt-XX, subtitle tracks and translation files — anywhere software needs to say “this content is in Portuguese”.