Steps to reproduce:
- Open Special:Upload on an Wiki.
- Enter an invalid title in the destfilename input, for example "[".
- Press tab. -> The title is checked via API and an error message because of the invalid title is shown.
Current result: The error message is in English
Expected result: The error message is in the user interface language.