Closed obeah closed 9 years ago
Hi there,
:last-name-grid
, :last-name-form
or like {:last-name {:grid _ :form _}}
(i.e. you can namespace the key variants if you like).Hope that helps! Cheers :-)
Hi Peter,
Thank you for prompt answer. This questions come from prototyping possible re-implementation in clojure of the quite large system with (tens of) thousands of translatable texts and thousands of entity properties. I understand now, that I'll have to implement own solution but below are more detailed explanations in case you decide sometimes in the future to extend the library in order to support (some of) these requirements.
Thanks
(1) My question is if it is possible to add this kind of (meta-)data about the text to current data structure.
There's support to add arbitrary comments to a key to help let translators know about any non-obvious context, limits/requirements, etc. (see the _comment_
key in the README example my-tconfig
). Note that you'll need a tool which can use this info.
(2) If I know that in my system every entity property will always have 3 associated texts, then I'd prefer to define it like
You'd still need some way of identifying individual elements / translation keys. If you want to always identify by order and only order, you could do something like {:my-translation-key {:1 _ :2 _ :3 _}}
. Not sure how that'd be more difficult to maintain, but it's possible I'm missing something (?).
Hope that helps, cheers! :-)
Hi,
Is it possible possible to achieve the following with current functionality:
Thanks