3 ms·
> A bit too simple Why do you say that -- are there particular capabilities it is lacking?
by jfk13 3y ago
> A bit too simple
Why do you say that -- are there particular capabilities it is lacking?
- Ygg2 3y agoDynamic message references. Like say you want to make message like X skeleton(s) attacked Y dragon(s) generic over type of attacker/defender. Currently only option is to duplicate it or deal with it in program.
- ReleaseCandidat 3y agoThat doesn't work. You need to know the gender and actual number `X` of `X skeletons` to be able to (correctly ;) translate `attacked` in many languages. To correctly translate `X skeletons`, you need to know `X` and whether they are the attacker or being attacked. Same for `Y dragons`. In the end, you do not gain much but have a _really_ complex template (for such a simple phrase).
- Ygg2 3y agoSure it does, you need a way to pass arguments for case/gender etc. It's not impossible to make it work, I already implemented a prototype for it, but it requires changes to how it handles references. See https://github.com/projectfluent/fluent/issues/80 https://github.com/projectfluent/fluent/issues/80 for more details.