Hi Matabele,
I am still missing something.
The first solution, as it is, gives nothing useful to me.
The second proposal looks much more promising and gives {{Data1##fr}} if
the language chosen is French or {{Data1##zh}} for Chinese, after adding
the curly braces {{<sentence {{!!target}} {{!!language}}>>}}.
But it does not "resolve" the formula and certainly, as it is, does not
extract data from my data tiddler Data1.
Did you try it and obtain the correct extraction?
What do I miss again ?
regards
Le vendredi 4 décembre 2015 18:18:46 UTC+1, Matabele a écrit :
>
> Hi
>
> Combine the two variables with a macro:
>
> \define sentence(data,language) $data$##$language$
>
> Then reference this value like this: <<sentence dataone zh>>
>
> or for variables (stored in a field), like this: <<sentence {{!!target}}
> {{!!language}}>>
>
> regards
>
>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/edc203fc-44e5-4800-a3d6-e1962ffb1800%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.