Skip to content

feat: add translations for alphaspace and alphanumspace tags in indonesian#1522

Merged
nodivbyzero merged 1 commit intogo-playground:masterfrom
savioruz:master
Jan 13, 2026
Merged

feat: add translations for alphaspace and alphanumspace tags in indonesian#1522
nodivbyzero merged 1 commit intogo-playground:masterfrom
savioruz:master

Conversation

@savioruz
Copy link
Copy Markdown
Contributor

@savioruz savioruz commented Jan 12, 2026

This pull request adds support for two new validation tags, alphaspace and alphanumspace, to the Indonesian translations. It also updates the corresponding unit tests to ensure these new tags are properly validated and translated.

Translation additions:

  • Added Indonesian translation for the alphaspace validation tag, indicating that a field may only contain alphabetic characters and spaces.
  • Added Indonesian translation for the alphanumspace validation tag, indicating that a field may only contain alphanumeric characters and spaces.

Testing improvements:

  • Updated the TestStringTagsTranslations test struct and test cases to include fields for Alphaspace and Alphanumspace, and added invalid test values for both. [1] [2]
  • Added expected error messages for the new validation tags to the test assertions, ensuring the translations are correct.## Fixes Or Enhances

Make sure that you've checked the boxes below before you submit PR:

  • Tests exist or have been written that cover this particular change.

@go-playground/validator-maintainers

@savioruz savioruz requested a review from a team as a code owner January 12, 2026 10:04
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 73.828% (+0.01%) from 73.814%
when pulling 9a775ae on savioruz:master
into 5010f83 on go-playground:master.

@savioruz savioruz changed the title feat: add translations for alphaspace and alphanumspace tags in id feat: add translations for alphaspace and alphanumspace tags in indonesian Jan 12, 2026
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.

3 participants