Open pdobacz opened 2 years ago
I think Edon started a discussion to keep the keys as they are here. The duplication doesn't bother me personally, and I think Edon makes a point there. Do we want to keep this issue?
I think natural keys have a few benefits:
"English": "German"
I won't insist on this too much, especially if you are both against the change, but I find the approach pretty impractical.
The text appears in code, which adds noise and messes up the layout, it also appears twice in the English translation file, and once more for each additional language we support. There are a lot of places to update when one changes a displayed string.
At the very least, we should get rid of the English translation file, as it is 100% redundant.
if you are both against the change
I'm not against changing, I agree that it's very noisy currently. Better to do it now in early stages than later.
Oh, maybe I'm confused then. I thought the deduplication here is about not having the natural language keys and always referring to the translation.json
for the actual contents.
If so, I'm slightly against changing, but not a strong opinion. Dropping the English translation would be great though
Do we have a decision on this one? Any new arguments, after i18n caused problems in the webpage translation?
See https://github.com/diffix/bi_diffix/pull/7#discussion_r981538164
(when done, open a low-priority issue in
desktop
to do the same, for consistency)