Skip to content

feat(settings): offer all 54 verification languages - #13

Merged
arosasg merged 1 commit into
mainfrom
fix/54-languages
Nov 5, 2026
Merged

arosasg merged 1 commit into
mainfrom
fix/54-languages

Conversation

@arosasg

@arosasg arosasg commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Problem

The plugin's Language setting offered 49 languages, but the Didit verification flow ships 54.
Bosnian (bs), Kazakh (kk), Kyrgyz (ky), Mongolian (mn) and Albanian (sq) were missing, so a store could not pin the flow to them, and the docs could not say "54 languages" for WordPress.

Solution

  • didit-verify.php field_language(): adds the five languages with their endonyms (Bosanski, Қазақша, Кыргызча, Монгол, Shqip) in alphabetical order. The picker now lists all 54 plus Auto-detect.
  • The saved value is passed to the session's language exactly like the existing codes, and the API accepts all 54 (docs: Supported languages).
  • The changelog entries in readme.txt that mention 49 languages describe past releases and stay as they are.

Verification

  • The $languages array has 54 codes, the same set as the web flow's next.config.js locales.
  • php -l didit-verify.php: no syntax errors.

Release

Users get the new options with the next plugin release (version bump and WordPress.org publish).

🤖 Generated with Claude Code

The language picker listed 49 of the verification flow's 54 languages.
Adds Bosnian, Kazakh, Kyrgyz, Mongolian and Albanian.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@arosasg

arosasg commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

Codex review (codex CLI, account codex-5, model gpt-5.6-sol)


💡 Code review

Reviewed commit: 5476f5f

No blocking issues found in commit 5476f5f.

Verdict: APPROVE

@arosasg
arosasg merged commit 7aa0679 into main Nov 5, 2026
4 checks passed
@arosasg
arosasg deleted the fix/54-languages branch November 5, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant