-
Notifications
You must be signed in to change notification settings - Fork 990
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
Fragmented sentences in translatable strings #6482
Comments
Can those be enumerated in some site i.e. a branch in which those are flagged with a comment // [fragmented] or alike? |
The
I don't really see a simple way forward that balances code readability with general translatability -- any suggestions? @aitap, do I understand that the key is the grammatical case? Maybe we can use a 3rd argument
https://github.com/Rdatatable/data.table/blob/c616cb9c9a37ad7d3adfcd1e3fedda2c3b1e527a/src/assign.c#L789
https://github.com/Rdatatable/data.table/blob/c616cb9c9a37ad7d3adfcd1e3fedda2c3b1e527a/src/assign.c#L798
https://github.com/Rdatatable/data.table/blob/c616cb9c9a37ad7d3adfcd1e3fedda2c3b1e527a/src/assign.c#L890
https://github.com/Rdatatable/data.table/blob/c616cb9c9a37ad7d3adfcd1e3fedda2c3b1e527a/src/assign.c#L897
https://github.com/Rdatatable/data.table/blob/c616cb9c9a37ad7d3adfcd1e3fedda2c3b1e527a/src/assign.c#L902
https://github.com/Rdatatable/data.table/blob/c616cb9c9a37ad7d3adfcd1e3fedda2c3b1e527a/src/assign.c#L910
https://github.com/Rdatatable/data.table/blob/c616cb9c9a37ad7d3adfcd1e3fedda2c3b1e527a/src/assign.c#L924
|
@rikivillalba So far I've only found @MichaelChirico Very good idea to combine with a preposition, thank you! I've experimented a bit with automatic translation to Arabic and Hindi and I can't see any differences in inflection of the rest of the sentence ( |
Splitting a sentence into fragments may make it harder to translate because the parts and the whole have different grammatical cases.
For example, here "target vector" would be "целевой вектор", but later "Assigning factor numbers to
%s
", "target vector" must be "Присваиваю фактор целевому вектору". I think that this is limited totargetDesc()
inassign.c
, all such cases are in the dative case and so can be translated into Russian pre-inflected, but I'm not sure this would remain the case for Arabic and Hindi.Also a problem for languages with strict word order might be concatenation of messages in
fread.c
[1, 2], used here. This, on the other hand, is already slightly broken becausemsg
is a full sentence.Originally posted by @aitap in #6194 (comment)
The text was updated successfully, but these errors were encountered: