6) Nested selectors are hard to read/edit/write
ICU recommends [0] to write full sentences instead of chunking messages to
minimize redundancy.
In other words, instead of:
key = { $num ->
[one] She likes
[other] They like
} when { $gender ->
[masculine] he
[feminine] she
} dances
people should write:
key = { $num ->
[one] { $gender ->
[masculine] She likes when he dances
[feminine] She likes when she dances
}
[other] { $gender ->
[masculine] They like when he dances
[feminine] They like when she dances
}
}
This kind of approach to complex selectors is recommended so we should look for
ways to optimize for it.
zb.
[0] http://userguide.icu-project.org/formatparse/messages
_______________________________________________
tools-l10n mailing list
[email protected]
https://lists.mozilla.org/listinfo/tools-l10n