Punjabi

PAIndo-European

ਪੰਜਾਬੀ

Spoken by approximately 150 million people worldwide

Writing Systems

GurmukhiShahmukhi

Countries

IndiaPakistan

Usage in Code

<!-- HTML lang attribute -->
<html lang="pa">

/* CSS language selector */
:lang(pa) { font-family: sans-serif; }

/* Accept-Language header */
Accept-Language: pa

/* Intl API */
new Intl.DateTimeFormat('pa').format(new Date())

About Punjabi

Punjabi (ਪੰਜਾਬੀ) is a Indo-European language identified by the ISO 639-1 code "pa". It is spoken by approximately 150 million people, primarily in India, Pakistan. The language uses the Gurmukhi and Shahmukhi writing systems.

In web development, the ISO 639-1 language code is used in HTML lang attributes, HTTP Accept-Language headers, the JavaScript Intl API for locale-aware formatting, and content negotiation. Setting the correct language code improves accessibility for screen readers, enables proper text-to-speech pronunciation, and helps search engines serve content to the right audience. Browsers use this code for spell-checking, hyphenation, and font selection.

For SEO, specifying the content language via the lang attribute and hreflang tags helps search engines understand which language version of a page to show to users in different regions. This is essential for multilingual websites targeting international audiences.

Related Languages