Skip to content

feat(theme-translations): add Azerbaijani (az) default theme translations - #12370

Merged
slorber merged 1 commit into
meta:mainfrom
OrkhanAbbasli:feat/az-theme-translations
Aug 21, 2026
Merged

slorber merged 1 commit into
meta:mainfrom
OrkhanAbbasli:feat/az-theme-translations

Conversation

@OrkhanAbbasli

@OrkhanAbbasli OrkhanAbbasli commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

Pre-flight checklist

  • I have read the Contributing Guidelines on pull requests.
  • If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
  • If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Translation-only change — no code modified, so the last two items do not apply.

Motivation

Azerbaijani (az) has no default theme translations yet, so Azerbaijani-language
Docusaurus sites fall back to English labels for pagination, code blocks, blog
metadata, and search.

This PR adds a complete az locale to @docusaurus/theme-translations, as
requested in #3526. I am a native Azerbaijani speaker.

Notes:

  • Locale code is the plain az, as there is no meaningful regional split.
  • Azerbaijani has 2 plural categories (one, other), same as English, so all
    pluralized labels use exactly 2 forms.
  • Placeholders ({count}, {label}, {readingTime}, ...) are left untouched.

Test Plan

JSON-only change; no production code is affected.

  • Generated from locales/base so the key structure matches the source files.
  • pnpm format and pnpm lint:js pass; the lint-staged pre-commit hook passed.
  • Ran the site locally with the az locale and navigated through the pages.
    All theme labels rendered as expected, with no errors or missing strings.

Test links

Deploy preview: https://deploy-preview-12370--docusaurus-2.netlify.app/

Related issues/PRs

Refs #3526

@meta-cla meta-cla Bot added the CLA Signed Signed Facebook CLA label Aug 20, 2026
@netlify

netlify Bot commented Aug 20, 2026

Copy link
Copy Markdown

✅ [V2]

Built without sensitive environment variables

Name Link
🔨 Latest commit 958d604
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/6a8748e3f72a0600096bc799
😎 Deploy Preview https://deploy-preview-12370--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@slorber slorber added the pr: translations This PR is related to Docusaurs core, theme or website translations label Aug 21, 2026

@slorber slorber left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks

@slorber
slorber merged commit d7d7498 into meta:main Aug 21, 2026
38 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA pr: translations This PR is related to Docusaurs core, theme or website translations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants