Argument --export-empty-as base works well except for the case of pluralization. If a key is not translated at all, the base language will be used, even for keys with pluralization. If a pluralization is partly translated, the missing items do not use base values but an empty one. See the following example where en is the base locale, fr is not translated at all and de is missing a pluralization item. de.test.pluralization.key.other should be set with Other.
en:
test:
pluralization:
key:
one: One
other: Other
fr:
test:
pluralization:
key:
one: One
other: Other
de:
test:
pluralization:
key:
one: Ein
other: ''
Argument
--export-empty-as base
works well except for the case of pluralization. If a key is not translated at all, the base language will be used, even for keys with pluralization. If a pluralization is partly translated, the missing items do not use base values but an empty one. See the following example whereen
is the base locale,fr
is not translated at all andde
is missing a pluralization item.de.test.pluralization.key.other
should be set withOther
.