vmware / vmware/singleton

[REQUIREMENT] Exception/Error Messaging with boolean prodMode

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

Nobody has claimed this yet.

Epic 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.
In runtime, those missing strings are always fall back to the string in source languages. This works fine in production environment, however people may want to expose such kind of problems in development phase so that they can be resolved as early as possible.

Describe the solution you'd like
By adding a configurable value prodMode, people can control the behavior of those missing strings(translations). In development environment, such kind of problem may create an exception and it can be catched by testing; In production environment, the missing string should be fall back to source language for better user experience.

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 runtime handling for missing translations and the configuration entry point for service behavior. Define and test prodMode so development raises an exception for missing strings while production falls back to the source language.

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.