Option to delegate plural handling to message format instead of file format
Currently, pluralization during export is always managed by the target file format (e.g., PO rules). Only when the file format doesn't support pluralization is it handled by the message format. This works in most cases, but some users need plurals to be expressed directly in the message format (e.g., ICU) instead of relying on the file format’s plural system.
Example use case: Some teams use external tools that directly consume ICU plural messages, even though they use the PO file format for translation distribution.
Proposed solution: • Add a new export parameter that allows users to choose whether pluralization should be delegated to the file or message format. • The default behavior remains the same (file format handles plurals) for backwards compatibility. • When enabled, plurals will be handled by message format (e.g., ICU), regardless of whether the file format has its pluralization system.
Mentions:
- https://tolgeecommunity.slack.com/archives/C03A0RQR62H/p1756377558615409?thread_ts=1756376595.738249&cid=C03A0RQR62H
- #3011
@Anty0 sorry for the ping, how's the current development status for this feature? Is there any workaround I can implement right now?
@DustinDust Hi! It's currently waiting for a developer to pick it up. It's on my radar as well, but I can't say when I'll get around to working on it.