-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Localize N/A
#24427
Localize N/A
#24427
Conversation
I saw this string hardcoded in a few places. I'm not sure how to call this key, hopefully `short_not_available` is good enough. Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Hmm, I do wonder what happens when translators introduce longer strings for it. Can the places where it's used realistically render larger content? |
Hmm, I doubt we will get many sensical translations. N/A is a english-only abbreviation and I wouldn't know how to translate it into german for example, as the language has no equivalent abbreviation. How about just rendering a neutral |
I also agree to keep the "N/A", it is a well-known word, especially in technical field. Either is fine. |
Actually, I think some N/A strings could be replaced by some more accurate word. The last time I used "N/A" because there is no result. But I really do not want to put another "No record" translation there .... (well, I admit that I am somewhat lazy on some problems ....) While from another perspective, maybe |
Let's just use @yardenshoham why close? Not interested in continuing? Should I raise another? |
|
Followup to #24427. Reasoning is that `N/A` is specific to english while `-` is language-neutral and does not need translation. Before: <img width="891" alt="Screenshot 2023-05-01 at 20 58 20" src="https://user-images.githubusercontent.com/115237/235511592-8a36d0f2-34ff-4dbe-b642-67c0ade644fe.png"> After: <img width="901" alt="Screenshot 2023-05-01 at 20 59 59" src="https://user-images.githubusercontent.com/115237/235511594-d49f6d09-92e8-4e99-be7b-2a37f5d24129.png">
I saw this string hardcoded in a few places