Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle case where long strings present gender issues #314

Open
liammulh opened this issue Oct 4, 2022 · 1 comment
Open

Handle case where long strings present gender issues #314

liammulh opened this issue Oct 4, 2022 · 1 comment
Assignees

Comments

@liammulh
Copy link
Member

liammulh commented Oct 4, 2022

Rosetta doesn't have control over strings in the sims, but we should establish a protocol for having long strings where grammatical gender issues might crop up.


From a discussion on Slack:

@RVieyra:
Sim Translation Issue: I think this might be for Liam, but I'm not sure. The Number Line: Distance sim has a situation where the article ("the") is separated from the noun ("house," "person," etc.). As a result, this is causing complications for translators, because different gender articles need to associate with the correct gender of noun. Can this be resolved? This is the particular issue.

image

@liammulh:
The translation utility doesn't have control over the content of the strings. The content of the strings is extracted from the sim.

@RVieyra:
I see. Is there a way to resolve this issue? (I've never heard of this issue before now, so I'm guessing it's just because this particular sim has a long sentence). It affects any language that has gendered words (which is the majority of languages).

[...]

@jbphet:
It is not an a11y string. This sim just has a longer string than most (as Rebecca surmised). I can think of a couple of solutions, none of which are trivial. We could add a definite article to the template, and translators could add definite articles individually. We could also have two versions. Liam and I will discuss and will log an issue and go from there.

@kathy-phet:
I think the question is if "Person" and "House" appear anywhere by themselves. If not, then the article can just become part of the name. "The person" and "The house", and remove the "the" from the sentence.

@liammulh
Copy link
Member Author

liammulh commented Oct 4, 2022

Specifically, we need to fix strings like https://github.com/phetsims/number-line-distance/blob/81f61826456df3749eb83ebf16365373185c8d5a/number-line-distance-strings_en.json#L84.

We should probably make a PSA for sim devs once we've settled on a way to handle these types of strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants