Open Yorwba opened 1 year ago
Hi,
@Yorwba , I tried to reproduce the issue on my local environment, it seems the bug is not reproducible there. Is it still an issue because it seems to me this might be resolved. If so we can close the issue here :)
On dev.tatoeba.org, step 5 only reproduces when the old design is enabled in the settings. With the new design, the added translation is never shown. Of course that doesn't fix the underlying problem where users accidentally add translations they can't even see...
To Reproduce
Expected behavior I think the least surprising outcome would be if at step 5 the server refuses to add the translation and instead returns an error message telling the user to specify the language explicitly.
Another possibility would be to have the translation remain visible at step 7 (i.e. an exception to the functionality of limiting translations to only particular languages, in order to always show the user's own sentences).
Additional information In #1614, it was suggested to set the language to "unknown" if the auto-detected language is not in the user's profile languages, but that wouldn't help here, because "unknown" is of course also not in the user's translation languages. (And it's possible for the profile languages and the translation languages to be different, which doesn't help either.)