Skip to content

Improve XML readability for translations #12528

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

Merged
merged 1 commit into from
Oct 25, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Improve XML readability for translations
  • Loading branch information
jdeniau authored Oct 21, 2019
commit 3c3d5778113b3a8ab82fac3111fb8bac098757cc
6 changes: 5 additions & 1 deletion translation/message_format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,11 @@ typical usage of this is gender:
<body>
<trans-unit id="invitation_title">
<source>invitation_title</source>
<target>{organizer_gender, select, female {{organizer_name} has invited you for her party!} male {{organizer_name} has invited you for his party!} other {{organizer_name} have invited you for their party!}}</target>
<target>{organizer_gender, select,
female {{organizer_name} has invited you for her party!}
male {{organizer_name} has invited you for his party!}
other {{organizer_name} have invited you for their party!}
}</target>
</trans-unit>
</body>
</file>
Expand Down