Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a missing key strategy #111

Open
bratan opened this issue Nov 17, 2023 · 1 comment
Open

Implement a missing key strategy #111

bratan opened this issue Nov 17, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@bratan
Copy link
Member

bratan commented Nov 17, 2023

Currently the key itself is returned if the localization is not found.

We should provide the option to return the fallback value instead.

Implement a MissingKeyStrategy enum with the following options:

  • Key (default)
  • Fallback

If Fallback option is selected but is not found then Key will be returned.

#34 #46 #93

@bratan bratan added the enhancement New feature or request label Nov 17, 2023
@bratan bratan self-assigned this Nov 17, 2023
Copy link

stale bot commented Jan 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jan 17, 2024
@bratan bratan removed the wontfix This will not be worked on label Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant