Skip to content

locale(es-ES): register es-ES as alias of es-MX formatters - #28

Open
patrickdevivo wants to merge 1 commit into
mainfrom
feature/locale-es-ES
Open

patrickdevivo wants to merge 1 commit into
mainfrom
feature/locale-es-ES

Conversation

@patrickdevivo

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

Registers Spanish (Spain) locale "es-ES" as an alias for the existing Spanish (Mexico) formatters to provide localization support for Spanish users in Spain.

  • Adds es-ES locale registration using existing Spanish (Mexico) formatters
  • Implements the registration through an init() function for automatic setup

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread locale/es-ES.go
// Register Spanish (Spain) as an alias of the existing Spanish (Mexico) formatters

func init() {
Register("es-ES", spanishMexico)

Copilot AI Sep 30, 2025

Copy link

Choose a reason for hiding this comment

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

The variable spanishMexico is referenced but not defined or imported in this file. This will cause a compilation error unless spanishMexico is exported from another package in this module.

Suggested change
Register("es-ES", spanishMexico)
Register("es-ES", SpanishMexico)

Copilot uses AI. Check for mistakes.
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.

2 participants