Closed Nancy-Salpepi closed 1 year ago
My apologies, I meant to mention this in the dev test issue. This is a side affect of re-using a string key for a different purpose than its original use in the published sims (which translations in babel). The language string key that is published was used as a label for the language on either side of the locale switch. Now, the word should be translated as literally the word "language" in any given language. I've noted that the current translations should be wiped right before publication over in https://github.com/phetsims/number-suite-common/issues/27#issuecomment-1437668777.
Thanks for opening this issue @Nancy-Salpepi, I'll mark on hold until work is compete in https://github.com/phetsims/number-suite-common/issues/27 and then we can verify that the language string is ready for fresh translations.
I totally understand if we want to proceed like this, but we could also just change the new string key name. Then there is nothing more to think about or confirm or to hang around looming.
Could that be "languageTitle"? A small thing, but perhaps worth just doing.
@zepumph is making a lot of sense here! Item 2 in https://github.com/phetsims/number-suite-common/issues/27#issuecomment-1437668777 was not revealing of how annoying/risky this change could be. Let's use languageTitle
.
I took care of this in the above commit. There are no longer incorrect translations filling in now. I think we are good to close here, I'll update https://github.com/phetsims/number-suite-common/issues/27#issuecomment-1437668777
Test device MacBook Air M1 chip
Operating System 13.2.1
Browser Safari
Problem description For https://github.com/phetsims/qa/issues/917: I am not sure what is normally done in these cases, but I noticed the word "language" in the preferences menu has been translated incorrectly. This could be very confusing to users.
Example 1: Changing locale to español in the Localization tab results in the word "language" being replaced with "español." This is especially confusing on the Simulation tab:
Example 2: Changing the locale to either Italian or French results in the word "language" being replaced with the Italian/French word for English: