Hi Michael,
I gave your first example a try. It's just an experiment, but I think it should
work:
<usPlural($n, $gender, $personality) {
@cldr.plural($n) == 'few' ? $personality : $gender
}>
<example1[@cldr.plural($n), usPlural($n, $gender, $personality)] {
one: {
masculine: "pił",
feminine: "piła",
neuter: "piło"
},
two: "piłoj",
few: {
*masculine: "pili",
nonmasculine: "piłe"
},
*many: "piło"
}>
What's more, I believe you can follow a similar pattern to resolve your latter
question.
One interesting thing is that in real localization I believe that you will
rarely use string variants based on grammatical cases (at least from my
experience) alone.
But yeah, I believe you should be able to encode it in L20n quite well.
zb.
_______________________________________________
tools-l10n mailing list
[email protected]
https://lists.mozilla.org/listinfo/tools-l10n