vmware / vmware/singleton

[REQUIREMENT][Go service]Support to normalize the locale from browser.

Open
#2,368 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/go-service kind/feature
Dominant language
Java
Stars
72
Forks
69
Avg merge
23h 32m
Merged PRs (30d)
4

Description

Is your feature request related to a problem? Please describe.
Support to get the first locale from browser's language setting. Java service has such feature, it should be implemented in Go service as well.

Describe the solution you'd like
GET /i18n/api/v2/locale/normalizedBrowserLocale
Get the first locale from the browser's language setting and normalize it

Describe alternatives you've considered
A clear and concise description of any alternative solution or feature you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing Java implementation of normalizedBrowserLocale and the corresponding Go service entry point. Compare how the browser's language setting is read and normalized, then expose GET /i18n/api/v2/locale/normalizedBrowserLocale in the Go service with equivalent behavior; completion should include coverage for the endpoint and locale result.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, java
Domain
api, internationalization, localization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.