You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm able to provide a grammatically correct translation for all i18n enabled text.
Current Behavior
Splitting up text like in form titles makes it impossible to provide grammatically correct translations.
Example: frontend/app/views/repositories/new.html.erb
Here the title is split up into "actions.new_prefix" and "repository._singular".
In the attached screenshot you see a form title which in English would read "New Repository". In German this is now "Neu Aufbewahrungsort" which is incorrect. It should be "Neuer Aufbewahrungsort" to be grammatically correct.
Possible Solution
Do not split up text into parts. For the example file frontend/app/views/repositories/new.html.erb change to
nebulon42
changed the title
Splitting up i18n enabled text into parts leads to incorrect grammar in languages such as German
i18n: Splitting up i18n enabled text into parts leads to incorrect grammar in languages such as German
Jan 18, 2022
Expected Behavior
I'm able to provide a grammatically correct translation for all i18n enabled text.
Current Behavior
Splitting up text like in form titles makes it impossible to provide grammatically correct translations.
Example:
frontend/app/views/repositories/new.html.erb
Here the title is split up into "actions.new_prefix" and "repository._singular".
In the attached screenshot you see a form title which in English would read "New Repository". In German this is now "Neu Aufbewahrungsort" which is incorrect. It should be "Neuer Aufbewahrungsort" to be grammatically correct.
Possible Solution
Do not split up text into parts. For the example file
frontend/app/views/repositories/new.html.erb
change toThis leads to more text to translate but only with that it is possible to provide grammatically correct translations.
Context
Grammatically incorrect translations just look ugly.
Your Environment
The text was updated successfully, but these errors were encountered: