Ryan Dew wrote: Hi,
> I'm sure it can be improved, but if you want to see an example > of a library that makes use of map:map objects and server > fields, like Mike mentioned, you can go here: > https://github.com/ryanjdew/XQuery-i18n/blob/master/i18n.xqy Interesting. But if I am right, it only resolves strings given two key: a name and a locale. But the tricky part is to inject variable parts. For instance numbers (computed by the app), adapting words with singular/plural forms, injecting additional words (e.g. adjectives generally don't go to the same place in EN and FR), etc. Did I miss anything? Or do you have any plan to support some of those? Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
