Open agentgt opened 3 months ago
@samskivert Don't accept this PR yet.
What we (JStachio) are trying to do is solve the i18n problem consistently across JStachio and JMustache. https://github.com/jstachio/jstachio/issues/104
JMustache can almost do the i18n DSL I'm proposing OOB but I need one feature of lookup values by name within a lambda.
This PR makes that possible.
The unit test shows an example of the syntax.
EDIT: I don't think i18n should be builtin to JMustache. This PR is just to make it possible through extension.
@samskivert Don't accept this PR yet.
What we (JStachio) are trying to do is solve the i18n problem consistently across JStachio and JMustache. https://github.com/jstachio/jstachio/issues/104
JMustache can almost do the i18n DSL I'm proposing OOB but I need one feature of lookup values by name within a lambda.
This PR makes that possible.
The unit test shows an example of the syntax.
EDIT: I don't think i18n should be builtin to JMustache. This PR is just to make it possible through extension.