vmware / vmware/singleton

[REQUIREMENT][Singleton Service] Support storing comment for resource string

Open
#489 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/java-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.
When collecting resource strings to Singleton Service, a "comment" field is supported so that users can add some explanation information to the translatable resource string. However, Singleton Service directly forwards the comments to other translation service in the downstream, without storing them in the translation bundle.

With this design, it's not possible for community users to get the comment information if they deploy Singleton Service independently, not connecting to any other translation service.

Describe the solution you'd like
Store the comment information when storing resource strings in translation bundle files (messages_xx.json)

Describe alternatives you've considered
N/A

Additional context
N/A

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 Singleton Service code that stores resource strings in translation bundle files such as messages_xx.json. Trace how the comment field is handled and define the bundle representation needed so comments remain available when no downstream translation service is connected; verify the stored bundle preserves the comment.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
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.