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

Clearing a translated text for a given key and language should remove the key/value from the corresponding .properties file #43

Open
Lulle74 opened this issue Nov 7, 2023 · 0 comments

Comments

@Lulle74
Copy link

Lulle74 commented Nov 7, 2023

My application has English as its base language.
When the English text for a certain key is changed, we often clear out the translations for the other languages (for the same key). This to signal that new translations are needed. While awaiting a new translation, we consider it best that the UI will "fall back" onto using English values.

When I use the Messages Editor and clear out translations and save the properties bundle, the translations are removed. But the row with the key is still lingering with an empty value, e.g. :

processplan.action.label =

I think this will lead to problems, i.e. that the empty string will be presented in the UI (rather than the English "fall back" value).

IMHO, clearing out a text should remove its key/value-pair altogether from the .properties file. If intentionally wanting an empty string for some reason for a certain language, the user can enter a empty space.

@Lulle74 Lulle74 changed the title Clearing a translated text for a given key and language should remove the (row for the) key from the corresponding .properties file ? Clearing a translated text for a given key and language should remove the key/value from the corresponding .properties file Nov 7, 2023
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

No branches or pull requests

1 participant