Translate the following string “mother mother” and notice the translation results
Capitalize the second word so the input becomes “mother Mother” and notice the results in different language combinations. For example:
EN-IT: mother Mother → Madre Madre (both words are capitalized)
EN- PT: mother Mother → mãe mãe mãe (a third word is added)
EN-RU: mother Mother → Мать Мать (both words are capitalized)
EN-CZ: mother Mother → matka matka (no words are capitalized)
EN-DE: mother Mother → Mutter Mutter (both words are capitalized)
EN-ES: mother Mother → madre madre (no words are capitalized)
EN-ET: mother Mother → ema ema (no words are capitalized)
[Expected]:
The translation engine should account for word capitalization and translate accordingly. It should also maintain the same amount of words as in the input field.
[Actual]:
Unexpected results are observed when capitalizing words in the input string.
Note:
Stranger translation results appear when sequentially capitalizing strings with duplicate words. See video for more details.
[Affected versions]: Firefox Nightly (94.0a1/20210929155324)
[Affected Platforms]: Windows 10 x64
[Prerequisites]: Access https://mozilla.github.io/translate/.
[Steps to reproduce]:
[Expected]: The translation engine should account for word capitalization and translate accordingly. It should also maintain the same amount of words as in the input field.
[Actual]: Unexpected results are observed when capitalizing words in the input string.
Note: Stranger translation results appear when sequentially capitalizing strings with duplicate words. See video for more details.
https://user-images.githubusercontent.com/50236075/135450719-2fb70fff-60d0-43ad-8283-6ffd89da8e75.mp4